Guest Posted December 7, 2003 Posted December 7, 2003 Just uploaded everything again...chmoded files appropirately...then go to the installation procedure. Everything goes swimmingly until the very end when it gives you the option of viewing your admin section or your catalog. Cliking on either of those gives me the following error: 1146 - Table 'catalog_MYDOMAIN_com.sessions' doesn't exist select value from sessions where sesskey = '249cc7a6b0148ad84d396626d3f5873f' and expiry > '1070771437' [TEP STOP] Whats up with that? -Roq
Aalst Posted December 7, 2003 Posted December 7, 2003 Seems like a configuration variable was set incorrectly durring the install, or it wasn't able to write to the directory or file to save the information it needed. Check to see if you have a file called "/catalog/configure.php" from the root of your "htdocs" or "public_html" directory. (Where you installed OSC.) This file is created during the install to save the information you provided. If it cannot create this file to save the information to it, then it will not be able to access the DB, and thereby not be able to function.
Guest Posted December 7, 2003 Posted December 7, 2003 "/catalog/configure.php" actually got created in /catalog/includes/configure.php Does that make any sense?
Guest Posted December 7, 2003 Posted December 7, 2003 Ok...I think I figured it out. If anyone out there wants to confirm my mistake, please do so. When doing a clean install...the 2nd step tells you that the oscommerce.sql document is going to be used to update the database...I over wrote that with the database from my old store. This was giving me the no session error. When I did an upgrade the whole thing seemed to fall into place and now it works. Does THAT make sense? Of course, now Im back to my original problem... Warning: I am able to write to the configuration file: /services/webpages/f/r/mysite.com/public/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Its been CHMODed to both 644 and 444 by myself and my service provider and still Im getting that little nag screen at the top. Anybody with a suggestion?
Guest Posted December 7, 2003 Posted December 7, 2003 You can go to includes header and do the following: find the section that starts with check if the configure.php file is writeable then do the following: // check if the configure.php file is writeable// if (WARN_CONFIG_WRITEABLE == 'true') { // if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { // $messageStack->add('header', //WARNING_CONFIG_FILE_WRITEABLE, 'warning'); // } // }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.