Webmastersite.net
Register Log In

toplist not working

Comments on toplist not working

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Jun 29, 2008 - 4:40 AM:

Using the toplist generator in admin I have the following which is on the home page

<!-- BEGIN TOPLIST 10 -->
<CONFIG>links,time,5,descending,type=blog,,,0,0,0,0,0,0,,0</CONFIG>
<div class="linktitle"><a href="link.php?id={LINKID}" {EXTERNALLINKS}>{LINKTITLE}</a></div> {LINKDESCRIPTION}<br />
<!-- END TOPLIST 10 -->

However, all I get is the error message: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/onlinets/public_html/blog/databases/mysql.php on line 27

Attached is the debug.

The page is fine until I put this toplist on. All the other toplists on that page work ok. There is no other toplist that is numbered 10.


Attached Files:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 29, 2008 - 9:21 AM:

Change type=blog to type='blog'
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Jun 29, 2008 - 9:47 AM:

!!! Thanks Paul

Sometimes when you work too much you just cannot see what you are doing!

Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.