PDA

View Full Version : strange error, no idea where it's coming from


dpakman91
07-30-2005, 01:14 AM
when i go to Directory=>Links in the admin panel, i get this:


Fatal error: Call to a member function on a non-object in admin/dir_links.php on line 72

line 72 seems to be:
$rs = $db->SelectLimit("SELECT L.*, ".$db->IfNull('C.TITLE', "'Top'")." AS CATEGORY FROM {$tables['link']['name']} AS L LEFT OUTER JOIN {$tables['category']['name']} AS C ON L.CATEGORY_ID = C.ID $where ".$orderBy, LINKS_PER_PAGE, LINKS_PER_PAGE * ($page -1));

any ideas?

esiason14
07-30-2005, 01:42 AM
i get this error too..only when trying to sort columns though

achafik
07-30-2005, 02:06 AM
Let me know if this (http://www.phplinkdirectory.com/forum/viewtopic.php?p=1370#1370) helps :)

esiason14
07-30-2005, 02:47 AM
Nope, that didnt seem to work for me :cry:

Ap0s7le
07-30-2005, 05:55 AM
Hi there, I've contacted you all about the issue.

I should have you fixed up quickly.

Thank you for choosing PHP Link Directory.

-Casey