Wordpress Error: Could not open handle for fopen() to /tmp/wordpress-3

Asked by:
gusfirpo / 5 Points
Time:
2013-09-07 7:03 am EST
Category:
Wordpress
Hits:
951
This is a message that i Receive... Any help?:

Update WordPress
Downloading update from http://wordpress.org/wordpress-3.6-new-bundled.zip…


Warning: touch() [function.touch]: Unable to create file /tmp/wordpress-3.tmp because No such file or directory in /home/gusfir5/public_html/weston-fitness.com/music/wp-admin/includes/file.php on line 179

Warning: unlink(/tmp/wordpress-3.tmp) [function.unlink]: Operation not permitted in /home/gusfir5/public_html/weston-fitness.com/music/wp-admin/includes/file.php on line 503
Download failed.: Could not open handle for fopen() to /tmp/wordpress-3.tmp

Installation Failed

To ask this user for more information, please first login.

To submit an answer, please login.

Were you updating from inside the WordPress control panel or from WebHostingHubs Softaculous Control Panel?

I've seen this before when my ex-GF complained she could not update her WordPress installation from the WordPress Admin control panel. This is how we got around the problem.

I went to the cPanel here on WebHostingHub. I went to the install apps page and clicked the icon on the top of the page for Application Installs. I then clicked the backup icon for the listed WordPress installation. It looks like a folder with a belt around it. After it is backed up I then clicked the update icon that looks like 2 blue swirling arrows. cPanel might tell you there is a version mismatch and then fix it. You can then click those 2 arrows again to update your install.

I think the version that gets stored in cPanel/Softaculous can have an issue if you update from inside WordPress sometimes. This solved the problem for us.

Short answer: Backup and upgrade from the cPanel not from inside WordPress itself.
JTGary
8 Points
2013-09-07 09:27 am EST

ANSWERS

0

johnpaulb-whh2
Staff
9,638 Points
2013-09-09 10:33 am EST
Hello gusfirpo,

Thank you for your question. I have been seeing this error lately, it is due to an incorrect temporary folder location.

Here is a link to a similar question, where I provided a detailed answer.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

To submit a comment on this answer, please first login.

Want to share this Question?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.