• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: UserID Module  [SOLVED]
PostPosted: Wed May 25, 2005 1:54 pm 
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...

Quote:
Fatal error: Call to undefined function: getdb() in /srv/www/htdocs/modules/UserID/UserID.module.php on line 125


Top
  
 
 Post subject: Re: UserID Module
PostPosted: Wed May 25, 2005 2:10 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Sun Jan 02, 2005 9:10 pm
Posts: 468
Location: Denmark
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


Top
 Profile  
 
 Post subject: Re: UserID Module
PostPosted: Wed May 25, 2005 2:18 pm 
Thanks! That worked beautifully!


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting