TinyPortal

Development => Feedback => Topic started by: Dutch on December 15, 2005, 07:52:28 PM

Title: Error in Forum
Post by: Dutch on December 15, 2005, 07:52:28 PM
Hi, there, i keep getting this error, can anyone tell me what it is and how to correct it?

8: Undefined index: memberCount
File: /home/admin/domains/mydomainname/public_html/smf/Themes/default/TPortalBlocks.template.php (eval?)
Line: 332

and

File: /home/admin/domains/mydomainname/public_html/smf/Themes/default/TPortalBlocks.template.php (eval?)
Line: 111


any help would be much appreicated
Title: Re: Error in Forum
Post by: bloc on December 16, 2005, 11:03:33 AM
Its a setting that changed between SMF versions..try to locate "memberCount" in TPortalBlocks.template and change it to "TotalMembers" or "totalMembers"
Title: Re: Error in Forum
Post by: Dutch on December 16, 2005, 08:41:15 PM
Hi, and thanks for the response.

I've visited the default template and edited the membercount to totalMembers or TotalMembers with neither version working.

I've found membercout  on 2 lines 3 times each line.

The trouble is it's still there (the error) is there anywhere else it calls it up from?
Title: Re: Error in Forum
Post by: bloc on December 20, 2005, 10:38:39 AM
Yes, in any theme that is made for another version of SMF...it will manifest itself in TPortalblokcs.tempalte, since thats the alst one to be loaded.

Are you using SMF 1.1? or 1.0.5?
Title: Re: Error in Forum
Post by: Dutch on December 20, 2005, 12:57:57 PM
1.1 RC 1 is what i'm using at the moment.