Triple H Posted March 28, 2003 Share Posted March 28, 2003 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 More sharing options...
Triple H Posted March 29, 2003 Author Share Posted March 29, 2003 OK, 24 hours and no bites on this one. I guess the solution was not a simple one. Cheers, Glen Link to comment Share on other sites More sharing options...
snagelcat Posted March 30, 2003 Share Posted March 30, 2003 that does not match my database.php what version are you using? Link to comment Share on other sites More sharing options...
Triple H Posted March 30, 2003 Author Share Posted March 30, 2003 I just installed Version 2.2 Funny query error. Any suggestions on how to fix it? Or a code snip. Cheers, Glen Link to comment Share on other sites More sharing options...
snagelcat Posted March 30, 2003 Share Posted March 30, 2003 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 More sharing options...
Triple H Posted March 30, 2003 Author Share Posted March 30, 2003 I only downloaded it on Thursday, but I will try it again. Cheers, Glen Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.