thejungle Posted November 12, 2002 Posted November 12, 2002 Hi! Since I installed OSC I've been getting the basdir error on the Catalog pages only, the Admin pages seem to load and update etc fine. Anyway I removed this section from the very beginning of `header.php': // 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')) { tep_output_warning(WARNING_INSTALL_DIRECTORY_EXISTS); } } I think it just checks and then warns if the INSTALL directory is still there. Anyway, once I remove this section in header.php the catalog pages now load up without error. Is it OK tp leave that section out assuming that the INSTALL directory has been removed? I just need to know b4 I continue building my store! Thanks Ernie
Trusten Posted November 12, 2002 Posted November 12, 2002 that's very strange that it told you the directory was there when it's not. i donno, that happened to me once, i'd rather just re-upload and install. honestly.
thejungle Posted November 12, 2002 Author Posted November 12, 2002 Hi Trusten: Thanks for the reply. I did actually redownload the files from OSC and then reinstall completely, last week as this has been happening for over a week. It didn't actually tell me the install files were still there (it did at first and then when I deleted the directory INSTALL) it went to: Warning: open_basedir restriction in effect. File is in wrong directory in /home/.capotefridge/oongo..... in header.php at line 15 and line 15 or therabouts was the `Check if Install directory exists'. I dunno, I know nothing about PHP but I'll battle on. Ernie
glenda Posted March 16, 2003 Posted March 16, 2003 I'm having the same exact problem jungle. I also removed the code in includes/header.php Did anyone find out if this is ok or not? Mary
Recommended Posts
Archived
This topic is now archived and is closed to further replies.