WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

toplist not working

Version: 4.1.50
printPrint


toplist not working
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 06/29/08 - 03:40 AM:
quote post
#1
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="http://www.webmastersite.net/forums/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.

Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 06/29/08 - 08:21 AM:
quote post
#2
Change type=blog to type='blog'

Edited by Paul on 06/29/08 - 08:25 AM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 06/29/08 - 08:47 AM:
quote post
#3
!!! Thanks Paul

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

Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.