Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I am lost


edndot

Recommended Posts

: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

  • 4 weeks later...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...