View Full Version : Upload problem
loonytune15
Sun 28th Oct '07, 4:36am
I just upgraded to the patch level of v3.6.8 from 3.6.8.
And now i cant upload anything. Avatars, smilies, products and plugins.
Below is the diagnostics:
file_uploads:Onopen_basedir:/srv/www/vhosts/gamerskingdom.net/httpdocs:/tmpsafe_mode:Offupload_tmp_dir:Noneupload_max_file size:2.00 MB
No file uploaded and no local file found. The test cannot continue.
I see a problem with the open_basedir But how could that of happened?
Steve Machol
Sun 28th Oct '07, 2:09pm
The only thing I see that could cause this is that your 'upload_tmp_dir' setting is empty. You (as root) or your host will need to edit php.ini and set 'upload_tmp_dir' to point to the full path to a directory on the server that is chmod'd to 1777.
You will also need to restart Apache after making this change.
loonytune15
Sun 28th Oct '07, 7:47pm
That could be a problem.
The host doesn't do squat. They haven't even bothered to upgrade the software on the server, and the last time i spoke with them they didn't do anything to help..
But why would this happen after i upgraded to the patch though? It was working fine before that..
Steve Machol
Sun 28th Oct '07, 9:14pm
There is nothing in the patch that would cause that error. It's a server issue. It could just be coincidental timing.
loonytune15
Tue 30th Oct '07, 5:52am
Well I have sent in a ticket and I hope i get a response this time...
loonytune15
Thu 1st Nov '07, 4:54am
With regards to php.ini - this is a server-wide setting, which is not changed on a hosting environment. We can remove PHP safe mode from hosting accounts on an individual basis.
If you need to write to a directory with your code, you could always create it with FTP and change permissions through FTP or the File Manager from within your control panel.
This is the response I got, what else can I do?
Steve Machol
Thu 1st Nov '07, 1:09pm
This is still a server issue. PHP needs a valid upload_tmp_dir setting. If you host is unwilling to fix this then I really don' know of any workaround.
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.