Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update swiftmailer to 5.4.3 #37

Closed
Pls opened this issue Aug 16, 2016 · 6 comments
Closed

Update swiftmailer to 5.4.3 #37

Pls opened this issue Aug 16, 2016 · 6 comments

Comments

@Pls
Copy link

Pls commented Aug 16, 2016

E_WARNING - getmypid() has been disabled for security reasons

Getting this warning right now because 5.4.2 version has this function included. Latest version doesn't have it.

Let's update to 5.4.3 version. Cheers :)

@rhukster
Copy link
Member

c9d7005

Done and released for next GPM update (20 mins)

@Pls
Copy link
Author

Pls commented Aug 16, 2016

Cheers!

@yaazkal
Copy link

yaazkal commented Nov 4, 2016

Hi, I have latest verion of the mail plugin and I can see that it has swiftmailer 5.4.3, but this version also has a call to that getmypid() function at lib/classes/Swift/Mime/SimpleMimeEntity.php line 83. So I'm getting a Grav error

Whoops\Exception\ErrorException thrown with message "getmypid() has been disabled for security reasons"

Any fix to that? Do I need to allow that function on the server?

@Pls
Copy link
Author

Pls commented Nov 7, 2016

As a workaround for now I replaced all getmypid() function calls with uniqid() calls. That works for me as temporary solution.

@flaviocopes
Copy link
Contributor

Yes that must be enabled on the server, it's an upstream issue. @yaazkal commented in swiftmailer/swiftmailer#745 👍

We can't do anything on this side until they release an update with a fix for this.

@yaazkal
Copy link

yaazkal commented Nov 7, 2016

Thanks @Pls I've replaced the other two references to that function and site is working now; I hope they will include a fix for the next version.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants