Page 1 of 1

undefined function: rowcount()

Posted: Thu Aug 23, 2007 7:41 pm
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 ?

Re: undefined function: rowcount()

Posted: Thu Aug 23, 2007 7:49 pm
by RonnyK
Try replacing rowcount() with RecordCount().

Ronny

Re: undefined function: rowcount()

Posted: Thu Aug 23, 2007 8:56 pm
by Pierre M.
And try to select only up-to-date, maintained modules.
(And current stable CMSms, obviously)

Pierre M.

Re: undefined function: rowcount()

Posted: Thu Aug 23, 2007 9:01 pm
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...

Re: undefined function: rowcount()

Posted: Fri Aug 24, 2007 5:43 pm
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 ? :(

Re: undefined function: rowcount()

Posted: Fri Aug 24, 2007 7:01 pm
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