PEAK XOOPS - Errors Returned While Uploading in englishin japanese

Errors Returned While Uploading

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 | Posted on 2006/12/22 23:42
limecity  企霹始   Posts: 9
I get this problem when trying to upload into the album of the module my-album-p. I am a experience use of the module. but I couldn't troubleshoot this problem.

I get this error on debug

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/var/tmp/phpWS1amx) is not within the allowed path(s): (/home/spascom:/usr/lib/php:/usr/local/lib/php:/tmp) in file /modules/myalbum/class/myuploader.php line 332
 
Warning: getimagesize(/var/tmp/phpWS1amx) [function.getimagesize]: failed to open stream: Operation not permitted in file /modules/myalbum/class/myuploader.php line 332
 
Warning: Failed fetching image size of /var/tmp/phpWS1amx, skipping max width check.. in file /modules/myalbum/class/myuploader.php line 337
 
Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/var/tmp/phpWS1amx) is not within the allowed path(s): (/home/spascom:/usr/lib/php:/usr/local/lib/php:/tmp) in file /modules/myalbum/class/myuploader.php line 352
 
Warning: getimagesize(/var/tmp/phpWS1amx) [function.getimagesize]: failed to open stream: Operation not permitted in file /modules/myalbum/class/myuploader.php line 352
 
Warning: Failed fetching image size of /var/tmp/phpWS1amx, skipping max height check.. in file /modules/myalbum/class/myuploader.php line 357
 
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/var/tmp/phpWS1amx) is not within the allowed path(s): (/home/spascom:/usr/lib/php:/usr/local/lib/php:/tmp) in file /modules/myalbum/class/myuploader.php line 302
 
Warning: move_uploaded_file(/var/tmp/phpWS1amx) [function.move-uploaded-file]: failed to open stream: Operation not permitted in file /modules/myalbum/class/myuploader.php line 302
 
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/phpWS1amx' to '/uploads/photos/tmp_458beda55eefb.jpg' in file /modules/myalbum/class/myuploader.php line 302
 
Notice: Only variables should be assigned by reference in file /modules/smartsection/xoops_version.php line 527 
Votes:2 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/12/24 7:12
super8_man  企霹始   Posts: 3
I also facing the same problem right now, hope to solve it soon....

thanks
Votes:2 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2006/12/26 13:02
Bandit-x  办霹始 From: UsA - MiChIgAn  Posts: 17
email a trouble ticket to your webhost. i believe the problem you are facing deals with the way your webhost has configured your site/server . probably something to do with safe mode or the open_base_dir setting .

Good Luck.
Votes:3 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2007/1/11 4:47
GIJOE  黎扦烦菱   Posts: 4110
Your problem is caused by hosting service's ignorance.

open_basedir should be includes the temporary directory for php uploading.

File(/var/tmp/phpWS1amx) is not within the allowed path(s): (/home/spascom:/usr/lib/php:/usr/local/lib/php:/tmp)

This means your server's php uploads /var/tmp but this directory is not in open_basedir's list.

Claim it to the administrator or move to another hosting services.
Votes:12 Average:9.17

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!