I am using the AbanteCart from long back and now my site is facing an error when the url is typed in the browser
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 90097 bytes) in /home/indiasar/public_html/store/storefront/controller/blocks/content.php on line 87 please help me to resolve this error to run the website.
Regards
Sandeep
htacess do u mean to say or where in cpanel the file is available to edit in the folder or else where
Hello.
Please use forum search there is a lot of similar topics (http://forum.abantecart.com/index.php/topic,96.msg238.html#msg238)
as per the given details i made the changes to php ini setting still there is the same error on my site.
Allowed memory size of 536870912 bytes exhausted (tried to allocate 92101 bytes) in /home/indiasar/public_html/store/storefront/controller/blocks/content.php on line 87
Below is the setting code of the php ini file the memory_limit is 512.
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 600;
max_input_time = 600;
memory_limit = 512M
Hello.
Please contact your hosting provider to make sure you have not
host issues and able to control you memory size
QuoteFor some restricted environment, such as shared hosting user, it's impossible to change php.ini.
Try to change memory in this way
QuoteFind the ".htaccess" in your root directory of the specified domain, if there isn't, create one. Put the following line in it.
php_value memory_limit 128M ; Change the 128M to your needs
the same line is added to the .htacess as per your instruction the below is the
SetEnv PHPRC /home/indiasar/public_html
RewriteEngine on
RewriteCond %{HTTP_HOST} ^indiansareemandir\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.indiansareemandir\.com$
RewriteRule ^/?$ "http\:\/\/indiansareemandir\.com\/store\/" [R=302,L]
RewriteCond %{HTTP_REFERER} !^http://indiansareemandir.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://indiansareemandir.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.indiansareemandir.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.indiansareemandir.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
php_value memory_limit 128M ;
and the error is faced
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@indiansareemandir.com 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.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Hi, sandy123
Please contact your hosting provider