Quote:
Originally Posted by simon.
Hi great work on this addon. I love it.
However on my forums I can't get it working. When I upload a file I get:-
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/144f23d5db9934.jpg) is not within the allowed path(s): (/home/echat:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 175
Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/144f23d5db9934.jpg) [function.imagecreatefromjpeg]: failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 175
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /includes/vbimghost_include.php on line 176
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177
Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 189
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 198
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 199
Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 201
Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 209
Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 210
When I rebuild Thumbnails I get:
Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/144f23af77edbe.jpg) is not within the allowed path(s): (/home/echat:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279
Warning: getimagesize(/home/user/public_html/forums/imagehosting/144f23af77edbe.jpg) [function.getimagesize]: failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279
|
ok
your have open_basedir restriction in your setting ..
i'm guessing your runing it localy on your machine
..
the public_html directoy should be in allowed path setting. ( system wise )
if it's in your server contact the server admin and ask him to add the path to your home directory to your allowed list.