cnpark70 Posted August 8, 2015 Share Posted August 8, 2015 In back office, every time I add a product and save I get below error message Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1318912 bytes) in/home/cnpark70/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 127 I called my hosting tech support and it looks fine on their side. Did anyone have a same issue and resolved, please share the solution. my site runs on 1.6.1.0 default bootstrap theme. www.kocamoca.com Thanks in advance. Link to comment Share on other sites More sharing options...
Mohamadou Ndiaye Posted August 8, 2015 Share Posted August 8, 2015 (edited) Hi Try this Methode 1. In your php.ini add this linememory_limit = 128M ; Or if you have not access to your php.ini so try this other methode:Methode 2. open your .htaccess file and add this line: php_value memory_limit 128M Thanks Edited August 9, 2015 by Mohamadou Ndiaye (see edit history) Link to comment Share on other sites More sharing options...
Denver Prophit Jr. Posted August 8, 2015 Share Posted August 8, 2015 (edited) Hi Try this Methode 1. In your php.ini add this linememory_limit = 64M ; Or if you have not access to your php.ini so try this other methode:Methode 2. open your .htaccess file and add this line: php_value memory_limit 64M Thanks If you read his error, it looked as if he had massive combinations enabled and tried to allocate 68M of memory. Edited August 8, 2015 by Denver Prophit Jr. (see edit history) Link to comment Share on other sites More sharing options...
cnpark70 Posted August 8, 2015 Author Share Posted August 8, 2015 So, if it is due to too large combinations enabled, these two methodes will not work anyways unless I downsize the number of combination? Methode 1. In your php.ini add this line memory_limit = 64M ;Methode 2.open your .htaccess file and add this line:php_value memory_limit 64M Link to comment Share on other sites More sharing options...
cnpark70 Posted August 8, 2015 Author Share Posted August 8, 2015 I just tried modifying .htaccess and I get this error and the site will not load properly. Any thought what is going on? Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this 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. Link to comment Share on other sites More sharing options...
cnpark70 Posted August 8, 2015 Author Share Posted August 8, 2015 I just called my hosting server and had them make the memory limit higher and the error went away. Thanks guys for your help. 2 Link to comment Share on other sites More sharing options...
Denver Prophit Jr. Posted August 9, 2015 Share Posted August 9, 2015 I just called my hosting server and had them make the memory limit higher and the error went away. Thanks guys for your help. Awesome news! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now