edndot Posted October 29, 2002 Share Posted October 29, 2002 :oops: Can anyone tell me what this means? Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mydomain/public_html/admin/includes/functions/database.php on line 39 Thanks, Ed Link to comment Share on other sites More sharing options...
GD Posted November 20, 2002 Share Posted November 20, 2002 Hi edndot, Sounds to me like you're not getting a connection to your MySQL database :idea: :?: Check your MySQL database settings in both your: admin/includes/configure.php and catalog/includes/configure.php files ------------------------ // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', 'whatever_it_is'); define('DB_SERVER_PASSWORD', 'the_password_for_the_database'); define('DB_DATABASE', 'name_of_the_database'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ------------------------ Can't guarantee anything, but it won't hurt anything by taking a look-see. :) Wait a while, someone here is bound to know for sure, what the problem your having is. Good luck Running osC - 2.2MS2. P.S. Please don't ask for a link to my site, it is on a production server and not available for the general public, yet! Link to comment Share on other sites More sharing options...
edndot Posted November 20, 2002 Author Share Posted November 20, 2002 Hi Greg, Thanks for your help but unfortunatly I gave up on osCommerce a long time ago. Regards, Ed Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.