deker Posted January 29, 2003 Share Posted January 29, 2003 I'm getting the following error at the top of two of my sites. Warning: open_basedir restriction in effect. File is in wrong directory in /home/.kabyle/systemid/cutlerycountry.com/includes/header.php on line 15 This is the code contained in lines 14 - 18 of header.php: if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { tep_output_warning(WARNING_INSTALL_DIRECTORY_EXISTS); } } I installed OSC successfully on www.discountedcaseknives.com and everything was fine. Then the error showed up one day without me changing anything at all. Now I'm just installing it again for another site, and I'm getting this error right off the bat. Has something on my server changed or something? I have already deleted the install directories and set the permissions back to the secure setting, like it says in the oscdox. Thanks for any help. Link to comment Share on other sites More sharing options...
smiley Posted January 29, 2003 Share Posted January 29, 2003 This has happened before in another post. If you are sure that everything is working fine and the install directory has been deleted from the server - then comment out the error message and carry on. :) HTH Neil Common sense is genius dressed in working clothes. Ralph Waldo Emerson Link to comment Share on other sites More sharing options...
Guest Posted January 29, 2003 Share Posted January 29, 2003 You might want to take a look at this thread. http://www.oscommerce.com/forums/viewtopic.php...triction+effect[/code] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.