Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Install Error


Triple H

Recommended Posts

Hi all,

 

I am getting this error:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /public_html/admin/includes/functions/database.php on line 39

 

This is the code it is referring to:

function tep_db_fetch_array($db_query) {

 

   $result = mysql_fetch_array($db_query);

 

   return $result;

 }

 

Seems like a simple function call out, but I can not figure it out.

 

Any help, please.

 

Cheers,

Glen

Link to comment
Share on other sites

that code is not in my 2.2 version (at line 39..or anywhere)

 

any chance that your database.php is 2.1 or something that came from a mod?

 

I'f this is a new install, I would highly suggest using the milestone version

 

and download a "fresh snapshot"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...