undefined function: rowcount()

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
amin30b
Forum Members
Forum Members
Posts: 146
Joined: Sat Mar 31, 2007 8:02 am

undefined function: rowcount()

Post by amin30b »

Hi
with some modules I receive this error and those modules don`t work correctly :

Code: Select all

Fatal error: Call to undefined function: rowcount() in c:\appserv\www\cmsms\modules\Dictionary\Dictionary\class.DictionaryM.php on line 163
above error is related to Dictionary module .
How can I fix this bug ?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: undefined function: rowcount()

Post by RonnyK »

Try replacing rowcount() with RecordCount().

Ronny
Pierre M.

Re: undefined function: rowcount()

Post by Pierre M. »

And try to select only up-to-date, maintained modules.
(And current stable CMSms, obviously)

Pierre M.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: undefined function: rowcount()

Post by Dr.CSS »

I believe this is coming from an upgrade, it's coming up a lot in the forum now and most are from upgrades...

I started a thread on this when they first did the change over, maybe I'll find it and bump it to get ppl. to read it again...
User avatar
amin30b
Forum Members
Forum Members
Posts: 146
Joined: Sat Mar 31, 2007 8:02 am

Re: undefined function: rowcount()

Post by amin30b »

RonnyK wrote: Try replacing rowcount() with RecordCount().

Ronny
Only some modules have correct upgrade like Dictionary .
But some modules like faqX doesn`t have new upgrade and when I replace rowcount() with RecordCount() still it doesn`t work again !
What`s another problem ? :(
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: undefined function: rowcount()

Post by Dr.CSS »

He should have made it a little more clear, I bumped this yesterday but it's buried again...

http://forum.cmsmadesimple.org/index.ph ... 377.0.html
Post Reply

Return to “CMSMS Core”