View Full Version : image upload error
GoNz0
Sun 20th Apr '08, 7:17am
been trying to upload a jpg to the picture album and either get the page freeze up requiring a forced close or i get this
Warning: fopen(/tmp/phppLe508) [function.fopen (http://www.clandesertrats.co.uk/forums/function.fopen)]: failed to open stream: No such file or directory in [path]/includes/class_image.php on line 330
before this i had issues where i got the upload error, and have been through the search and upped the upload size to 30M and the timers to 240 in the upload section but still get the error above if it doesnt freeze up ?
GoNz0
Sun 20th Apr '08, 7:41am
also got a Warning: fopen(/tmp/php5uZlAR) [function.fopen (http://www.clandesertrats.co.uk/forums/function.fopen)]: failed to open stream: No such file or directory in [path]/includes/class_image.php on line 330
with a
Imageinfo Failed:
GoNz0
Sun 20th Apr '08, 7:57am
safe mode upload also locks the page after a min,
this only happens with large pics over 2mb for some reason,
Jose Amaral Rego
Sun 20th Apr '08, 12:37pm
The best way to bypass that is to upload image to image folder and then use method 'Upload File from a URL' or ask your host to increase time-out and PHP Maximum Upload Size: ? mb. ... Wait I remeber that they have not addd that option to upload from a URL. I was thinking about my own 'Suggestion' I have made.
http://www.vbulletin.com/forum/showpost.php?p=1506385&postcount=1
Your issue still maybe an host setting. You can see what size you are allowed to upload, just look in 'Control Panel Home' > Welcome to the vBulletin Admin Control Panel > PHP Maximum Upload Size
GoNz0
Sun 20th Apr '08, 1:33pm
yeh its set to 30M
http://www.clandesertrats.co.uk/phpinfo.php
just to add, i have logged into my dedicated games servers desktop just now and the page locked up after about 1 second, considering the bandwidth i have to hand on there it only took a second to upload, so i have a page loaded on high bandwidth to rule out any timeout settings now
Kerry-Anne
Mon 21st Apr '08, 5:07am
In addition to the vB settings, the allowed size of the attachments depends on the PHP and MySQL configuration. You may need to check and change the upload size for both PHP and for MySQL. Note, you'll need to have root access to the server to do this (or have your host do it.) Make these changes to php.ini
upload_max_filesize = xM
..and my.cnf (or my.ini for Windows systems)
set-variable=max_allowed_packet=xM
Change it to the size ('x') you want in Megabytes. Restart the webserver and MySQL after making these changes.
Note: You may also need to increase the max_execution_time and max_input_time variables in php.ini.
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.