mtorrance Posted November 3, 2002 Share Posted November 3, 2002 Hello- I have just installed on Linux/Apache w/ PHP 4.2.3 & MySQL 3.23.53a. I'm getting several errors: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mtorr/public_html/catalog/includes/functions/database.php on line 39 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mtorr/public_html/catalog/includes/functions/database.php on line 39 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mtorr/public_html/catalog/includes/functions/database.php on line 39 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mtorr/public_html/catalog/includes/functions/database.php on line 46 FONT_STYLE_INFO_BOX_BODY These errors are all over the page which you can see at: http://www.mtorrance.com/catalog/default.php Do I need to delete the database and set it up again? Or is this something wrong in my config or both? Thanks, Mark Link to comment Share on other sites More sharing options...
dahammer2 Posted November 3, 2002 Share Posted November 3, 2002 There is something wrong with your config First: your using 2.1, 95% of people use 2.2, even if its not official. All the mods are pretty much for 2.2 as well, so I'd recommend you using that. For 2.1 goto catalog/includes/application_top.php and edit the settings (particular database) For 2.2 its catalog/includes/configure.php You'll need to edit the same files in the admin subdirectory also Link to comment Share on other sites More sharing options...
mtorrance Posted November 3, 2002 Author Share Posted November 3, 2002 I'll start from scratch with 2.2 and see if the problem persists. Thanks, Mark Link to comment Share on other sites More sharing options...
mtorrance Posted November 4, 2002 Author Share Posted November 4, 2002 Wow!!!The install on 2.2 is very nice. :D Thanks OS Commerce Developers! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.