Hello,
After having successfully testing my website in 'local', I put it on my provider's [AMEN.fr] server, where I get for many pages, but not all a "HTTP 500" error. But, generally, when I do a refresh (F5), the page is correctly displayed.
After looking at some posts on this forum, I increased the memory limit in config.php, up to 256M :
$config['php_memory_limit'] = '256M';
but the problem continues.
Does anyone know how to prevent the HTTP 500 error ?
I run CMS 1.4.1
Example of page which returns the HTTP 500 error and is displayed correctly after refresh :
http://tinyurl.com/696ne3
and many other pages on the same site.
Thank you for your help
François
HTTP 500 error - php_memory_limit ?
Re: HTTP 500 error - php_memory_limit ?
you set this but you have this memory?fxv_cms wrote: $config['php_memory_limit'] = '256M';
Look to system information because I read:
Fatal error: Out of memory (allocated 37224448) (tried to allocate 194561 bytes) in /web/sites/vhbu3/2/184/109442/public/www/tmp/templates_c/%%67^679^67942640%%template%3A30.php on line 150
and check your error server logs
Alby
Re: HTTP 500 error - php_memory_limit ?
Thanks Alby,
The value was initially blank for php_memory_limit in my config.php
I successively increased the value to 32M,then 64M, then 128M, then 256M, but results did not improve really.
As to know if I "have this memory" and analyse the log, I am frantically looking into the jungle of provider's site to know the answer !
However, what is strange is that the page is correctly displayed after a refresh (F5). Why ? I don't know. Maybe that would help to solve th problem.
François
The value was initially blank for php_memory_limit in my config.php
I successively increased the value to 32M,then 64M, then 128M, then 256M, but results did not improve really.
As to know if I "have this memory" and analyse the log, I am frantically looking into the jungle of provider's site to know the answer !
However, what is strange is that the page is correctly displayed after a refresh (F5). Why ? I don't know. Maybe that would help to solve th problem.
François
Re: HTTP 500 error - php_memory_limit ?
Generally, 500 errors are the result of servers that are incorrectly configured or overworked. Your hosting provider should be able to determine the problem from their error logs.
You should contact them to resolve the issue.
Nullig
You should contact them to resolve the issue.
Nullig