Never before seen error??? [message #31794] |
Thu, 18 May 2006 15:59 |
chickenout
Messages: 55 Registered: February 2005 Location: Philadelphia
Karma: 0
|
Member |
|
|
Hey, I recently installed 2.7.4
I am all of the sudden getting this error?
Any info would be greatly appreciated.
Thanks
Warning: main(): open_basedir restriction in effect. File(/274_FUDforum/include/core.inc) is not within the allowed path(s): (/hsphere/local/home2/chickeno:/usr/local/lib/php:/tmp:/var/tmp) in /hsphere/............t.com/274_forum/GLOBALS.php on line 85
Warning: main(/274_FUDforum/include/core.inc): failed to open stream: Operation not permitted in /hsphere/............t.com/274_forum/GLOBALS.php on line 85
Warning: main(): open_basedir restriction in effect. File(/274_FUDforum/include/core.inc) is not within the allowed path(s): (/hsphere/local/home2/chickeno:/usr/local/lib/php:/tmp:/var/tmp) in /hsphere/............t.com/274_forum/GLOBALS.php on line 85
Warning: main(/274_FUDforum/include/core.inc): failed to open stream: Operation not permitted in /hsphere/............t.com/274_forum/GLOBALS.php on line 85
Fatal error: main(): Failed opening required '/274_FUDforum/include/core.inc' (include_path='.:/usr/local/lib/php') in /hsphere/............t.com/274_forum/GLOBALS.php on line 85
[Updated on: Thu, 18 May 2006 16:00] Report message to a moderator
|
|
|
Re: Never before seen error??? [message #31799 is a reply to message #31794] |
Thu, 18 May 2006 20:25 |
chickenout
Messages: 55 Registered: February 2005 Location: Philadelphia
Karma: 0
|
Member |
|
|
Ok, I guess there were some permission issues with some of my files, but now I am getting these errors:
Warning: Cannot modify header information - headers already sent by (output started at ...../274_forum/GLOBALS.php:88) in ....../274_forum/index.php on line 946
Warning: Cannot modify header information - headers already sent by (output started at ....../274_forum/GLOBALS.php:88) in ....../274_forum/index.php on line 308
Warning: main(): open_basedir restriction in effect. File(/274_forum/theme/default/index.php) is not within the allowed path(s): (/hsphere/local/home2/chickeno:/usr/local/lib/php:/tmp:/var/tmp) in ..../274_forum/index.php on line 1191
Warning: main(/274_forum/theme/default/index.php): failed to open stream: Operation not permitted in ..../274_forum/index.php on line 1191
Warning: main(): open_basedir restriction in effect. File(/274_forum/theme/default/index.php) is not within the allowed path(s): (/hsphere/local/home2/chickeno:/usr/local/lib/php:/tmp:/var/tmp) in ....../274_forum/index.php on line 1191
Warning: main(/274_forum/theme/default/index.php): failed to open stream: Operation not permitted in ..../274_forum/index.php on line 1191
Fatal error: main(): Failed opening required '/274_forum/theme/default/index.php' (include_path='.:/usr/local/lib/php') in ...../274_forum/index.php on line 1191
[Updated on: Thu, 18 May 2006 20:25] Report message to a moderator
|
|
|
Re: Never before seen error??? [message #31803 is a reply to message #31799] |
Fri, 19 May 2006 02:57 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The issue is that the forum tries to open a file outside the open_basedir and PHP is refusing to do so.
FUDforum Core Developer
|
|
|
|
Re: Never before seen error??? [message #31811 is a reply to message #31807] |
Fri, 19 May 2006 14:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
This is a configuration setting of your PHP, it can usually be found inside your php.ini file or in your virtual host config in Apache config file.
FUDforum Core Developer
|
|
|
Re: Never before seen error??? [message #31818 is a reply to message #31794] |
Fri, 19 May 2006 17:02 |
chickenout
Messages: 55 Registered: February 2005 Location: Philadelphia
Karma: 0
|
Member |
|
|
Ok, I've been working with the tech support of my hosts and have the forum up and running at least for the general user, but I am still getting some errors on the adm side.
For instance when doing consistency checker, I get messages like these throughout the process:
Warning: fopen(......../new_FUDforum/include/GLOBALS.php): failed to open stream: Permission denied in ......../new_FUDforum/include/glob.inc on line 103
Warning: fwrite(): supplied argument is not a valid stream resource in ........./new_FUDforum/include/glob.inc on line 104
Warning: fclose(): supplied argument is not a valid stream resource in ........./new_FUDforum/include/glob.inc on line 105
And
Warning: fopen(...../new_FUDforum/tmp/icon _cache): failed to open stream: Permission denied in ......../new_FUDforum/include/msg_icon_cache.inc on line 20
Warning: fwrite(): supplied argument is not a valid stream resource in ....../new_FUDforum/include/msg_icon_cache.inc on line 21
Warning: fclose(): supplied argument is not a valid stream resource in ......./new_FUDforum/include/msg_icon_cache.inc on line 22
Warning: rename(...../new_FUDforum/tmp/icon_cache,/hsphere/local/home2/chickeno/thec hickenout.com/new_FUDforum/cache/icon_cache): No such file or directory in ....../new_FUDforum/include/msg_icon_cache.inc on line 27
What does it mean and how can I fix it?
Thanks
[Updated on: Fri, 19 May 2006 17:14] Report message to a moderator
|
|
|
Re: Never before seen error??? [message #31819 is a reply to message #31794] |
Fri, 19 May 2006 17:12 |
chickenout
Messages: 55 Registered: February 2005 Location: Philadelphia
Karma: 0
|
Member |
|
|
And if I try to upload smileys, I get these messages:
Warning: fopen(..../new_FUDforum/tmp/ps_cache): failed to open stream: Permission denied in ..../new_FUDforum/include/sml_rcache.inc on line 29
Warning: fwrite(): supplied argument is not a valid stream resource in ..../new_FUDforum/include/sml_rcache.inc on line 30
Warning: fclose(): supplied argument is not a valid stream resource in ..../new_FUDforum/include/sml_rcache.inc on line 31
Warning: rename(..../new_FUDforum/tmp/ps_cache,/hsphere/local/home2/chickeno/thechic kenout.com/new_FUDforum/cache/ps_cache): No such file or directory in ..../new_FUDforum/include/sml_rcache.inc on line 36
Warning: fopen(..../new_FUDforum/tmp/sp_cache): failed to open stream: Permission denied in ..../new_FUDforum/include/sml_rcache.inc on line 38
Warning: fwrite(): supplied argument is not a valid stream resource in ..../new_FUDforum/include/sml_rcache.inc on line 39
Warning: fclose(): supplied argument is not a valid stream resource in ..../new_FUDforum/include/sml_rcache.inc on line 40
Warning: rename(..../new_FUDforum/tmp/sp_cache,/hsphere/local/home2/chickeno/thechic kenout.com/new_FUDforum/cache/sp_cache): No such file or directory in ..../new_FUDforum/include/sml_rcache.inc on line 45
But it still uploads the smiley??
[Updated on: Fri, 19 May 2006 17:14] Report message to a moderator
|
|
|
Re: Never before seen error??? [message #31823 is a reply to message #31819] |
Fri, 19 May 2006 17:56 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You want to make sure that the
..../new_FUDforum/tmp directory and the files in it are writable by the webserver user.
FUDforum Core Developer
|
|
|
|
Re: Never before seen error??? [message #31827 is a reply to message #31825] |
Fri, 19 May 2006 18:00 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The reason there are none is because previous attempts to create files in there have failed.
FUDforum Core Developer
|
|
|
|
Re: Never before seen error??? [message #31829 is a reply to message #31828] |
Fri, 19 May 2006 18:38 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
All those errors are permissions issues, you need to make sure that the webserver has write access to files identified in the error messages.
FUDforum Core Developer
|
|
|
|
|
|
|