PeaceB2U Posted August 7, 2008 Share Posted August 7, 2008 I just purchased the PHP Auction script enhanced v2.51 and installed it on a new site. However, on one page which is supposed to list ending auctions I'm getting the following error. Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/auctions/public_html/templates/template_view_ending_php.html on line 35 Total Auctions: Page Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/auctions/public_html/templates/template_view_ending_php.html on line 36 Can anyone help me in correcting this problem? Quote Link to comment https://forums.phpfreaks.com/topic/118710-php-auction-installation-error-help-needed/ Share on other sites More sharing options...
secoxxx Posted August 7, 2008 Share Posted August 7, 2008 why dont you post the code from /home/auctions/public_html/templates/template_view_ending_php.html on line 35 and /home/auctions/public_html/templates/template_view_ending_php.html on line 36 Quote Link to comment https://forums.phpfreaks.com/topic/118710-php-auction-installation-error-help-needed/#findComment-611206 Share on other sites More sharing options...
PeaceB2U Posted August 8, 2008 Author Share Posted August 8, 2008 Lines 35 & 36 look like this: print "<center><font face=Verdana size=1>Total Auctions: ".mysql_result($result_counters,0,"auctions")."<br>Page "; $num_pages = mysql_result($result_counters,0,"auctions")/$limit; Quote Link to comment https://forums.phpfreaks.com/topic/118710-php-auction-installation-error-help-needed/#findComment-611210 Share on other sites More sharing options...
secoxxx Posted August 8, 2008 Share Posted August 8, 2008 do you know what version mysql you have? Quote Link to comment https://forums.phpfreaks.com/topic/118710-php-auction-installation-error-help-needed/#findComment-611219 Share on other sites More sharing options...
PeaceB2U Posted August 8, 2008 Author Share Posted August 8, 2008 MySQL version 5.0.51a-community Quote Link to comment https://forums.phpfreaks.com/topic/118710-php-auction-installation-error-help-needed/#findComment-611237 Share on other sites More sharing options...
revraz Posted August 8, 2008 Share Posted August 8, 2008 It sounds like you are not making a connection to the database. Did you setup the config file right that points to your DB server? And seriously, if you Paid for this script, don't they offer some tech support? Quote Link to comment https://forums.phpfreaks.com/topic/118710-php-auction-installation-error-help-needed/#findComment-611270 Share on other sites More sharing options...
PeaceB2U Posted August 8, 2008 Author Share Posted August 8, 2008 I've no idea if the config file is set up correctly or not. Yes, you would think that they would offer some help since their site advertises that. However, I'm been unable to get any response from the installer since purchasing the item and having him install it. Quote Link to comment https://forums.phpfreaks.com/topic/118710-php-auction-installation-error-help-needed/#findComment-611517 Share on other sites More sharing options...
revraz Posted August 11, 2008 Share Posted August 11, 2008 If you have no idea about the connection script, then that is probably your problem. Quote Link to comment https://forums.phpfreaks.com/topic/118710-php-auction-installation-error-help-needed/#findComment-613618 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.