Page 1 of 1

Fatal error : Pifaq / FAQ-X / Chat

Posted: Sun Dec 03, 2006 12:13 am
by WebGirl
I am using CMSMS 1.0.2.

I've just uploaded and installed both these FAQ modules, to see the difference between.

When I select either one from the Extensions Menu, I get 'fatal error' messages.

Error message for PIFAQ is:

Fatal error: Call to undefined function: rowcount() in /home/www/a-website-name.com/modules/Pifaq/Pifaq.module.php on line 514


I am able to add Categories, but if I try to add one FAQ I get this:

Fatal error: Call to undefined function: rowcount() in /home/www/a-website-name.com/modules/Pifaq/Pifaq.module.php on line 244

I got similar messages for FAQ-X, but I have now uninstalled.

== I just installed CHAT module and got this error message when I tried to use it:

Fatal error: Call to a member function on a non-object in /home/www/a-website-name.com/modules/Chat/action.default.php on line 22

Any ideas how to fix this problem?

Re: Fatal error : Pifaq / FAQ-X / Chat

Posted: Sun Dec 03, 2006 9:32 am
by petert
Did you do a search on the forum for this error?
This problem has been adressed a few times allready. Think of the forum as our collective memory :)

Re: Fatal error : Pifaq / FAQ-X / Chat

Posted: Sun Dec 03, 2006 10:20 am
by Dr.CSS
Go to those lines in those files and change rowcount to recordcount be aware of upper/lower cases as they are case sensitive, ie,. Row is Record etc, etc,

Re: Fatal error : Pifaq / FAQ-X / Chat

Posted: Sun Dec 03, 2006 8:12 pm
by WebGirl
Hi there PeterT and Mark

Thanks for the suggestions, but rather than me have to fix someone else's modules which have been downloaded, it's probably better for the owners to fix them and upload them to cmsms again.  Makes more sense than the possibility of newbies making errors in unknown territory.

I've decided not to use any of these.

Cheers

Re: Fatal error : Pifaq / FAQ-X / Chat

Posted: Sun Dec 03, 2006 8:15 pm
by petert
The modules are old and not guaranteed to work in the new versions.
If you don't want to use them then that's your choice.
You could fix the modules yourself and then update the codebase for them and help with this project instead of... well you know what.

Re: Fatal error : Pifaq / FAQ-X / Chat

Posted: Sun Dec 03, 2006 8:39 pm
by WebGirl
Hi Peter,

I had no idea the modules were old and were not likely to be fixed by their owners! Wow. Thanks for letting me know.

Cheers

Re: Fatal error : Pifaq / FAQ-X / Chat

Posted: Sun Dec 03, 2006 8:46 pm
by petert
WebGirl wrote: I had no idea the modules were old and were not likely to be fixed by their owners! Wow.
'old' is maybe a wrong term in this case.
The modules were all built 'pre' adodb-lite, that's why the function name mess is there.

You are still very welcome to fix the modules and grant them a new lease of life :)