Upload image through wordpress fails
Using the media manager in any wordpress install to upload images fails with the error:
Missing a temporary folder.
/usr/local/lib/php.ini has the upload dir commented out but the default is /tmp I believe? However commented or not it makes no difference, the error message remains. Any suggestions please?
/usr/local/lib/php.ini has the upload dir commented out but the default is /tmp I believe? However commented or not it makes no difference, the error message remains. Any suggestions please?
-
Wordpress usually has it's own "temp" folder. I would suggest posting for advise on the Wordpress Support Forums. You're likely to get better support from the experts there :) 0 -
This problem affects all WP installs so its likely to be a server config error. 0 -
In that case, specify "upload_tmp_dir" in the PHP config and see how that goes. 0 -
As mentioned in first post, commenting out the upload dir or not, the error remains. 0 -
What gets returned when you run this in it's own .php file? 0 -
Nothing, it has no value. However that's normal. 0 -
No, that is not normal. If it returns bool(false) it means upload_tmp_dir has no value. Have you updated it directly in the php.ini file or with the PHP configuration editor in WHM? 0 -
It returns: string(0) ""
which is normal for our servers, upload_tmp_dir has no value on all our servers its only one server that has this error.0 -
If it is only one server, have you compared
Between a few of them to check for any irregularities?0 -
phpinfo on all servers show the upload_tmp_dir to have "no value". The problem is elsewhere. EA was updated recently so maybe that's the cause. 0 -
In that case, I'll leave it to cPanel to respond to this next. I'm sorry my suggestions couldn't help. I hope you reach a resolution soon. 0 -
Thanks for trying :) 0 -
Update. We fixed the problem after running /scripts/upcp --force :) 0 -
Thanks for the update @kernow. That issue was bugging me all night. I was trying my best to look for another solution for you! 0 -
We fixed the problem after running /scripts/upcp --force
Hello, I am happy to see the issue is now resolved, however note that I don't see any cases in the 11.50 change log that would have corrected an issue with that entry in the php.ini file. Let us know if you encounter any further issues. Thank you.0 -
Well, it was after running EA to update php to 5.5.25 that the problem started. It was by chance we discovered that after /upcp had run at its normal time on one server that the error was fixed. So forcing /upcp on the other servers also fixed it. snip.......however note that I don't see any cases in the 11.50 change log that would have corrected an issue with that entry in the php.ini file
Go figure....0
Please sign in to leave a comment.
Comments
16 comments