mucuskipper Posted June 29, 2004 Posted June 29, 2004 Just started playing with osCommerce and having a few teething problems with the following warnings. Using the search facility I've not located any discussions on the mysql_query warning and have checked all the .php files in the function and language directories for the space after the ?>. Warning: mysql_query(): Your query requires a full tablescan (table configuration, 142 rows affected). Use EXPLAIN to optimize your query. in C:\Program Files\Apache Group\Apache2\htdocs\catalog\includes\functions\database.php on line 44 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\catalog\includes\functions\database.php:44) in C:\Program Files\Apache Group\Apache2\htdocs\catalog\includes\functions\sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\catalog\includes\functions\database.php:44) in C:\Program Files\Apache Group\Apache2\htdocs\catalog\includes\functions\sessions.php on line 67 Thanks in advance, I've hit a bit of a brick wall at the mo and would like to move on. Coops
suski78 Posted July 25, 2004 Posted July 25, 2004 Hi! I have the same first error. Let me know, if you got rid of it. The other errors look familiar too. Check both configure.php & admin/configure.php and especially your cookie settings. If I remember correctly, my error was that the cookie path was not correct for my computer.
241 Posted July 25, 2004 Posted July 25, 2004 SESSION DIRECTORY DOES NOT EXIST change the last line in the following files catalog/includes/configure.php admin/includes/configure.php from define('STORE_SESSIONS', ''); to define('STORE_SESSIONS', 'mysql'); or Header Whitespace download the file catalog\includes\functions\database.php open it and place your cursor after the last ?> then press delete several times, save the file and upload it. Do not use the file manager to edit online as this can cause the whitespace. instead use an ftp program such as ws_ftp to download the file to a local machine and edit then upload using the ftp program If you require more information then Click No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.