Problems with installing captcha
Problems with installing captcha
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"
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"
Dennis Nilsson, Sweden
www.dartfrog.tk
www.dartfrog.tk
-
Signex
Re: Problems with installing captcha
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
most times its 8MB, you can aks your webhost to change it to 16MB. and see if that works
Re: Problems with installing captcha
My webhosts don't want to do change for meSignex 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
I wonder what I pay them for?
Any other suggestions?
Dennis Nilsson, Sweden
www.dartfrog.tk
www.dartfrog.tk
-
cyberman
Re: Problems with installing captcha
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.
Code: Select all
php_value memory_limit 16M 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
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
Code: Select all
memory_limit = 32M;
Code: Select all
ini_set('memory_limit','32M');To find out the memory_limit value used by the server create a small script containing
Code: Select all
phpinfo();Regards,
D
Re: Problems with installing captcha
When I added that text into a .htaccess file I had a 500 internal error: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).Code: Select all
php_value memory_limit 16M
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.
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
Dennis Nilsson, Sweden
www.dartfrog.tk
www.dartfrog.tk
Re: Problems with installing captcha
The errormessage (Fatal error: Allowed memory size of 11534336 bytes exhausted) has nothing to do with the Captcha module.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.
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
Strange, the syntax is correctosn 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
Code: Select all
php_value memory_limit 32MRe: Problems with installing captcha
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.
Sorry but I need more info how to find out if I'm able to check the error logs.
Dennis Nilsson, Sweden
www.dartfrog.tk
www.dartfrog.tk
Re: Problems with installing captcha
Did you try the other options I mentioned earlier?
Re: Problems with installing captcha
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.
Dennis Nilsson, Sweden
www.dartfrog.tk
www.dartfrog.tk
Re: Problems with installing captcha
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 yourDee wrote: If a .htaccess file doesn't work you can also try creating a php.ini file in your web root containingor addingCode: Select all
memory_limit = 32M;at the top of include.php (right after <?php).Code: Select all
ini_set('memory_limit','32M');
To find out the memory_limit value used by the server create a small script containingor create a UDT as described here.Code: Select all
phpinfo();
Regards,
D
Code: Select all
phpinfo();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
Dennis Nilsson, Sweden
www.dartfrog.tk
www.dartfrog.tk
-
cyberman
Re: Problems with installing captcha
No, it's only a check inside install ...osn wrote: isn't this value set in CMSMS somehow also?
Re: Problems with installing captcha
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
Thank you Cyberman
Dennis Nilsson, Sweden
www.dartfrog.tk
www.dartfrog.tk

