View Full Version : PHP and Mysql problem?
jonas
01-12-1999, 04:09 AM
All my PHP scripts suddenly stoped work. HAs this something todo with the load of the taz?
Here is the error message:
Warning: SAFE MODE Restriction in effect. The script whose uid is 39330 is not allowed to access /big/dom/phplib/php/prepend.php3 owned by uid 0 in /big/dom/xkapellet/www/index.php3 on line 0
Fatal error: Failed opening required '/phplib/php/prepend.php3' in /big/dom/xkapellet/www/index.php3 on line 0
//Jonas
The error I think is caused by your index.php3 trying to access a file that you do not own (in this case it's prepend.php3 which is owned by user id 0 also known as root). For security reasons, your php3 scripts are run under your own id and are prevented from modifying/accessing other user's files.
Tog
jonas
01-12-1999, 06:19 AM
There is no reference in line 0
It worked perfectly yesterday. ALL my php scripts stopped working..
What should I do to get it working?
Terra
01-12-1999, 10:58 AM
I have been working on some added functionality in preparation for writing some more CNC modules for FQuest utilizing PHP3...
It seems that some of the adjustments have affected your site and your libraries are not loading in correctly...
I am investigating this deeper...
--
Terra
sysAdmin
FutureQuest
Terra
01-12-1999, 11:12 AM
The PHP3 doc_root is now '/big/dom'
Warning: Unable to access /big/dom/big/dom/xkapellet/www/config.php3 in /big/dom/xkapellet/www/index.php3 on line 3
Change your index.php3: line 3 to
require("/xkapellet/www/config.php3");
The PHP3 doc_root will be automatically pre-pended on your includes and requires..
"/big/dom" + "/xkapellet/www/config.php3" ==
/big/dom/xkapellet/www/config.php3
This should fix your problem...
Sorry about the foobar - I have been taking a serious look at PHP3's security and started to clamp down on how much system freedom it actually has...
Perhaps I should put the PHP3 back into -Beta- mode, while I'm getting all the security issues resolved...
--
Terra
sysAdmin
FutureQuest
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.