PDA

View Full Version : Call to a member function on a non-object in


multilang
05-30-2006, 06:47 PM
Hello,

I use V2.0 on a 4 year-old website and it was working fine until my host suddenly decided to move from MySql 4.0.23 to 4.1.xx

Now, no links get to be displayed and I get the following message when I click on Links in the admin panel:

Fatal error: Call to a member function on a non-object in /home/betrans/public_html/resources/admin/dir_links.php on line 75

Line 75 reads:

$list = $rs->GetAssoc(true);

I also get an error for the Approve links

Fatal error: Call to a member function on a non-object in /home/betrans/public_html/resources/admin/dir_approve_links.php on line 47

Line 47: $list = $rs->GetAssoc(true);
Same piece of code

Any pointer to indicate my programmer how to solve this issue?

David
05-30-2006, 06:56 PM
First, try clearing your cache in temp/templates

Also, you might consider upgrading to v3.

Oh, I see this is Mike from Carribieantopselection.
I thoght we upgraded you to v3, or am I not remembering correctly?

multilang
05-30-2006, 07:08 PM
Hello,

Thanks for the tip, I'll try that.

V3.0 on Caribbeantopselection.com indeed.

I remained with V2.0 as I find it easier to cope with it alone :) I'll be waiting for a version that lasts a couple of months before being updated before upgrading :)

Mike

David
05-30-2006, 07:12 PM
I hear you about the versions! :D :eek:
We plan to keep improving, meaning an update every month or so.
3.0.5 has proven to be pretty darn stable so far, but by all means, take your time upgrading.

multilang
05-30-2006, 07:21 PM
I cleaned the temp files as recommended but it didn't work

anon
05-30-2006, 08:25 PM
Content visible to registered users only.
I really don't mean to sound harsh, but if he is a programmer, should he not be able to debug?

Rob

multilang
05-30-2006, 08:45 PM
I don't know what he knows about PhpLD and he can debug his own code that's why I am asking for pointers

seothatworks
06-09-2006, 05:00 PM
While working on a site move for client, I just got similar problem though different lines. Also move from older to newer mysql version.

So I did a fresh install, manually (sql) moved the category and link entries, and it worked OK.