Log in

View Full Version : function.php error line 917


gatorenvy
09-17-2007, 07:31 PM
I'm getting an error on my arcade.php page

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/index.php/image.php?u=1&dateline=1190039115) is not within the allowed path(s): (/home/user/:/usr/lib/php:/usr/local/lib/php:/tmp) in /arcade/functions/functions.php on line 917

Warning: getimagesize(/index.php/image.php?u=1&dateline=1190039115) [function.getimagesize]: failed to open stream: Operation not permitted in /arcade/functions/functions.php on line 917


Any ideas? Line 917 in my functions.php looks like this:
return "UPDATE " . TABLE_PREFIX . "$table SET\n$querystring$condition";

Brandon Sheley
09-17-2007, 07:33 PM
I don't think it has anything to do with the functions.php file, was the arcade working b4 ?

Davey-UK
09-24-2007, 05:23 PM
Read the stickies.
Your answer is here:
https://vborg.vbsupport.ru/showthread.php?t=154226
:)

I'm getting an error on my arcade.php page

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/index.php/image.php?u=1&dateline=1190039115) is not within the allowed path(s): (/home/user/:/usr/lib/php:/usr/local/lib/php:/tmp) in /arcade/functions/functions.php on line 917

Warning: getimagesize(/index.php/image.php?u=1&dateline=1190039115) [function.getimagesize]: failed to open stream: Operation not permitted in /arcade/functions/functions.php on line 917


Any ideas? Line 917 in my functions.php looks like this:
return "UPDATE " . TABLE_PREFIX . "$table SET\n$querystring$condition";