hape Posted July 2, 2003 Posted July 2, 2003 after removing the "install" dir from catalog, i get the following error: Warning: SAFE MODE Restriction in effect. The script whose uid is 705 is not allowed to access /home/.sites/42/site103/web owned by uid 99 in /home/.sites/42/site103/web/includes/header.php on line 15 y? i thought that the install dir isn't necessary. version: 2.2 ms2 - cvs
Guest Posted July 3, 2003 Posted July 3, 2003 That error has nothing to do with the install directory. It means that your server runs PHP in safe mode, and the header.php script is trying to access something in a parent directory. I'm not sure why it would be doing that. You might try changing the ownership of the web directory to match the script. That would address the actual error that you are getting. Good luck, Matt
hape Posted July 3, 2003 Author Posted July 3, 2003 That error has nothing to do with the install directory. It means that your server runs PHP in safe mode, and the header.php script is trying to access something in a parent directory. I'm not sure why it would be doing that. no, because: if the "install" directory isn't deleted, the error doesn't come up. if i remove the dir, the error is there. further, if i remove the // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } } thing, the error doesn't come up too.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.