Page 1 of 1

[solved]Captcha 0.4.3 and CMSMS 1.10

Posted: Mon Oct 03, 2011 6:38 am
by waterman
Running the CMSMS 1.10 beta. Installed Formbuilder & is working fine. However, when I tried to install Captcha using the module manager an error is returned.

The CMSMS 1.10 is a new installation, no upgrade over an existing installation.

response during install:
Fatal error: Cannot override final method CMSModule::GetModulePath() in /var/www/vhosts/educa-sub.nl/httpdocs/cms/modules/Captcha/lib/classes/module/class.captcha.php on line 29

manual installation, uploading captcha via ftp, then extension->modules shows this error in the module listing:
Cannot override final method CMSModule::GetModulePath() in /var/www/vhosts/educa-sub.nl/httpdocs/cms/modules/Captcha/lib/classes/module/class.captcha.php on line 1048

Re: Captcha 0.4.3 and CMSMS 1.10

Posted: Wed Oct 05, 2011 7:18 pm
by waterman
since there it lots of response... I logged a bug as well

http://dev.cmsmadesimple.org/bug/view/6930

Re: Captcha 0.4.3 and CMSMS 1.10

Posted: Sat Nov 12, 2011 9:08 pm
by pixelita
So what is the short term solution?

I am in the midst of developing a site and installed 1.10 on a clean testbed, then imported my SQL dump, and attempted an upgrade (since the SQL dump was 1.9.4).

I got this same error.

UPDATE:
I see this is the solution:

Detailed Description:

Fatal error: Cannot override final method CMSModule::GetModulePath() in
xxxx\\modules\Captcha\lib\classes\module\class.captcha.php on line 30

cause by "function GetModulePath() " line 985

must be deleted

Re: Captcha 0.4.3 and CMSMS 1.10

Posted: Sun Nov 13, 2011 4:58 am
by Assange
Have you tried to use current captcha module version?

It's 0.4.5 (not 0.4.3, like the topic says) ;).

Re: Captcha 0.4.3 and CMSMS 1.10

Posted: Sun Nov 13, 2011 5:58 am
by staartmees
it's a known problem. Remove Captcha, upgrade cms, install latest version of Captcha. Problem solved.