Page 1 of 1
Problems with installing captcha
Posted: Wed Jan 10, 2007 10:01 am
by osn
Hi!
I'm having problems to install captcha from the admin -> extensions -> module manager.
When I press install I get the error code:
Fatal error: Allowed memory size of 11534336 bytes exhausted (tried to allocate 349529 bytes) in /home/virtual/mydomain/public_html/cms/modules/nuSOAP/classes/nusoap.php on line 6242
I have all the preferences for module manager set to the standard settings.
Anyone who have any idea what the problem could be?
CMSMS 1.0.2 "Maui"
Re: Problems with installing captcha
Posted: Wed Jan 10, 2007 11:57 am
by Signex
Im not a expert, but isnt this your php_memory_limit wihich is configured too low.
most times its 8MB, you can aks your webhost to change it to 16MB. and see if that works
Re: Problems with installing captcha
Posted: Wed Jan 10, 2007 12:52 pm
by osn
Signex wrote:
Im not a expert, but isnt this your php_memory_limit wihich is configured too low.
most times its 8MB, you can aks your webhost to change it to 16MB. and see if that works
My webhosts don't want to do change for me

I wonder what I pay them for?
Any other suggestions?
Re: Problems with installing captcha
Posted: Wed Jan 10, 2007 1:29 pm
by cyberman
You can try to do it by yourself - add a .htaccess file with the following command in it to increase the php_memory_limit:
If it does not help try to deinstall AND delete all unused modules, tags and translations (in admin folders too).
It's possible too to download captcha.xml to your local harddisk and import it than via Extensions > Modules to admin panel.
So you can deinstall/delete ModuleManager and nuSOAP module. If you woun't export themes ThemesManager can deinstalled/deleted too.
Re: Problems with installing captcha
Posted: Wed Jan 10, 2007 1:37 pm
by Dee
If a .htaccess file doesn't work you can also try creating a php.ini file in your web root containing
or adding
at the top of include.php (right after <?php).
To find out the memory_limit value used by the server create a small script containing
or create a UDT as described
here.
Regards,
D
Re: Problems with installing captcha
Posted: Thu Jan 11, 2007 8:44 am
by osn
cyberman wrote:
You can try to do it by yourself - add a .htaccess file with the following command in it to increase the php_memory_limit:
If it does not help try to deinstall AND delete all unused modules, tags and translations (in admin folders too).
It's possible too to download captcha.xml to your local harddisk and import it than via Extensions > Modules to admin panel.
So you can deinstall/delete ModuleManager and nuSOAP module. If you woun't export themes ThemesManager can deinstalled/deleted too.
When I added that text into a .htaccess file I had a 500 internal error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
webmaster@dartfrog.tk and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.33 Server at dartfrog.tk Port 80
I will try to import captcha from xml, but it irritates me that I can't get it to work as other modules works fine to install.
Thank you for trying to help Cyberman
Dee, I will give your suggestions a try. I'll tell how it goes.
Dennis
Re: Problems with installing captcha
Posted: Thu Jan 11, 2007 9:28 am
by Dee
osn wrote:
I will try to import captcha from xml, but it irritates me that I can't get it to work as other modules works fine to install.
The errormessage (Fatal error: Allowed memory size of 11534336 bytes exhausted) has nothing to do with the Captcha module.
Your webserver has PHP's memory limit set to 12M and PHP runs out of memory while it runs CMS Made Simple (at the point where it's loading the module, but this is quite random).
The only solution is to raise the memory_limit value, or - like cyberman suggested - to deinstall AND delete all unused modules, tags and translations (in admin folders too).
Regards,
D
Re: Problems with installing captcha
Posted: Thu Jan 11, 2007 9:32 am
by Dee
osn wrote:
When I added that text into a .htaccess file I had a 500 internal error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
webmaster@dartfrog.tk and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.33 Server at dartfrog.tk Port 80
Strange, the syntax is
correct
Did you check the error log?
Re: Problems with installing captcha
Posted: Thu Jan 11, 2007 9:12 pm
by osn
I don't know how to check the error log since I'm using a webhotel, not my own server, and I'm not so good with linux as I wish I was. I have only used .htaccess files before for setting password protections for folders.
Sorry but I need more info how to find out if I'm able to check the error logs.
Re: Problems with installing captcha
Posted: Thu Jan 11, 2007 9:21 pm
by Dee
Did you try the other options I mentioned
earlier?
Re: Problems with installing captcha
Posted: Thu Jan 11, 2007 10:14 pm
by osn
Not yet, I'll try it during weekend.. fell asleep in front of tv after I came home from work so won't have time for it at moment. I'll try it and tell you how it goes.
Re: Problems with installing captcha
Posted: Mon Jan 15, 2007 8:00 pm
by osn
Dee wrote:
If a .htaccess file doesn't work you can also try creating a php.ini file in your web root containing
or adding
at the top of include.php (right after <?php).
To find out the memory_limit value used by the server create a small script containing
or create a UDT as described
here.
Regards,
D
I did try that php.ini file first... didn't seem to do any diffrence... then I tried to add that code to the include.php page, but I still couldn't install captcha. for me it didn't seemed like the setting was taken. I even created a php file with your
but I guess something more has to be added to that script to be working. I have no idea since I don't know much about php.
After this I tried to import the captcha xml-file Captcha-0.1.1.xml and it worked out fine so now I finally have captcha installed
At the moment I don't have use for set the mem to a higher value than 12Mb but it would be good to be prepared until the next time I need it. isn't this value set in CMSMS somehow also?
Thank you Dee and Cyberman for trying to help!
Dennis
Re: Problems with installing captcha
Posted: Tue Jan 16, 2007 5:03 am
by cyberman
osn wrote:
isn't this value set in CMSMS somehow also?
No, it's only a check inside install ...
Re: Problems with installing captcha
Posted: Wed Jan 17, 2007 8:19 am
by osn
Ok, I'll leave this problem for now. If I get problem with installing new modules in the future I'll bring up the thread again.
Thank you Cyberman