UserID Module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
kingfhb

UserID Module

Post by kingfhb »

Can anyone help... I have a new install of CMS, added the protected pages module (v0.9.5) and userID Module (v0.3.1). I just downloaded and installed the new UserID module (v0.3.2) and when I click on "Upgrade" in the "Plugin Management", I get the following error...
Fatal error: Call to undefined function: getdb() in /srv/www/htdocs/modules/UserID/UserID.module.php on line 125
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm
Location: Denmark

Re: UserID Module

Post by Silmarillion »

Hello

I'm guessing you're using CMS 0.9.2? I have made the mistake of always using latest unstable version and not checking with the last stable. You have to possibilities:
  1. Upgrade to svn-version or 0.10beta3
  2. Replace all lines like "$db=$this->GetDb();" with "$db=$this->cms->db;"
I the future I'll try to check backwards compatibility.
Sorry, for the inconvinience!

Best Regards
Morten/Silmarillion
Author of UserId and ProtectedPages
kingfhb

Re: UserID Module

Post by kingfhb »

Thanks! That worked beautifully!
Locked

Return to “Modules/Add-Ons”