Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-26-2011, 07:27 PM   PM User | #1
keigh
New to the CF scene

 
Join Date: Aug 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
keigh is an unknown quantity at this point
Question php5.ini file upload error when uploading image file using Wordpress

I have installed Wordpress 3.2.1 on a site hosted by GoDaddy (actually several sites and installs). After migrating my hosting account from their older shared Linux to their new "ultimate 4gh shared linux" platform I can no longer upload files/images directly via wordpress.

Error received is: missing temporary folder

Here is the code currently set in my php5.ini file - can anyone advise how to correct so that temporary upload folder works?

memory_limit = 120M
post_max_size = 120M
file_uploads = On
upload_max_filesize = 120M
extension_dir = ./
zend_extension = /ioncube/ioncube_loader_lin_5.2.so
register_globals = off
allow_url_fopen = off
upload_tmp_dir = /tmp

Here's a link that will show you everything re my php:
http://www.tarotisland.com/phpinfo.php

I really need to get the file upload to work as this site will be handed off to someone who doesn't have (and shouldn't have) ftp access to work around the file upload error.

Thank you.
keigh is offline   Reply With Quote
Old 08-26-2011, 07:29 PM   PM User | #2
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
According to the error the /tmp folder doesn't exist. If this is shared hosting you'll have to contact your host. If it is a server you have direct access to, create the folder.
Inigoesdr is offline   Reply With Quote
Old 08-26-2011, 07:32 PM   PM User | #3
keigh
New to the CF scene

 
Join Date: Aug 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
keigh is an unknown quantity at this point
Quote:
Originally Posted by Inigoesdr View Post
According to the error the /tmp folder doesn't exist. If this is shared hosting you'll have to contact your host. If it is a server you have direct access to, create the folder.
There is a tmp folder in the root directory. I checked this first, just to make sure.
keigh is offline   Reply With Quote
Old 08-26-2011, 07:35 PM   PM User | #4
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
In the document root or the hard drive root? Actually, either way, contact your host. This is not a PHP issue.
Inigoesdr is offline   Reply With Quote
Old 08-26-2011, 07:40 PM   PM User | #5
keigh
New to the CF scene

 
Join Date: Aug 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
keigh is an unknown quantity at this point
Quote:
Originally Posted by Inigoesdr View Post
According to the error the /tmp folder doesn't exist. If this is shared hosting you'll have to contact your host. If it is a server you have direct access to, create the folder.
Quote:
Originally Posted by Inigoesdr View Post
In the document root or the hard drive root? Actually, either way, contact your host. This is not a PHP issue.
I contacted host...they cannot help, unfortunately. Host is GoDaddy and support there is not up to the task.
Thanks for looking.

As for the tmp file...it is in the html root.
keigh is offline   Reply With Quote
Old 08-26-2011, 08:07 PM   PM User | #6
keigh
New to the CF scene

 
Join Date: Aug 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
keigh is an unknown quantity at this point
Quote:
Originally Posted by keigh View Post
I contacted host...they cannot help, unfortunately. Host is GoDaddy and support there is not up to the task.
Thanks for looking.

As for the tmp file...it is in the html root.
I added a second tmp folder: /wwwtmp

This solved my issue. Thank you so much for your assistance.
keigh is offline   Reply With Quote
Reply

Bookmarks

Tags
php5, php5.ini, temporary file missing, wordpress

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:21 AM.


Advertisement
Log in to turn off these ads.