Newtechimport Posted May 26, 2013 Share Posted May 26, 2013 What does it mean ? Thank you! Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1966080 bytes) in/public_html/cache/smarty/compile/334e9e227b5a3cb3cc1284e00c13beec5811b5a8.file.product.tpl.php on line 831 I obtain this error when I click on a product on my website....Not all products....and If I try it several times sometimes it works....sometimes I have this error. My e-store works well since 6 month.... Link to comment Share on other sites More sharing options...
OlivierJM Posted May 26, 2013 Share Posted May 26, 2013 What does it mean ? Thank you! Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1966080 bytes) in/public_html/cache/smarty/compile/334e9e227b5a3cb3cc1284e00c13beec5811b5a8.file.product.tpl.php on line 831 I obtain this error when I click on a product on my website....Not all products....and If I try it several times sometimes it works....sometimes I have this error. My e-store works well since 6 month.... ¿Hablas español? Esto se debe al limite de memoria que te permite el servidor utilizar con memcache. Si sobrepasas el limite no te deja usar mas. Para solucionarlo, borra todos los archivos que tengas en "cache" excepto "index.php". This is due to memory limit allowed by the server you use with memcache. If you exceed the limit will not let you use more. To fix it, delete all the files you have in "cache" save "index.php". Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted May 26, 2013 Share Posted May 26, 2013 What does it mean ? Thank you! Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1966080 bytes) in/public_html/cache/smarty/compile/334e9e227b5a3cb3cc1284e00c13beec5811b5a8.file.product.tpl.php on line 831 I obtain this error when I click on a product on my website....Not all products....and If I try it several times sometimes it works....sometimes I have this error. My e-store works well since 6 month.... Try in the file: /config/config.inc.php Add: @ini_set('memory_limit','100M') If this does not work, contact your hosting. Link to comment Share on other sites More sharing options...
OlivierJM Posted May 26, 2013 Share Posted May 26, 2013 Try in the file: /config/config.inc.php Add: @ini_set('memory_limit','100M') If this does not work, contact your hosting. This works when you have a server Rubalcaba encondiciones. If you have 1and1, Strat, etc. .. this limited series;) Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted May 26, 2013 Share Posted May 26, 2013 This works when you have a server Rubalcaba encondiciones. If you have 1and1, Strat, etc. .. this limited series;) encondiciones I do not understand this word "encondiciones". ¿In English, please? Sorry. Link to comment Share on other sites More sharing options...
OlivierJM Posted May 26, 2013 Share Posted May 26, 2013 I do not understand this word "encondiciones". ¿In English, please? Sorry. jajjaja. My Inglish is gogle translate 1 Link to comment Share on other sites More sharing options...
Newtechimport Posted May 27, 2013 Author Share Posted May 27, 2013 Thank you Oliver, it seems to work for the moment... Visit my website as you wish.... www.newtechimport.comlu.com Sorry for the english... I use google translate sometimes See ya! Link to comment Share on other sites More sharing options...
Newtechimport Posted May 27, 2013 Author Share Posted May 27, 2013 well it works for a moment but see this error now Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /public_html/cache/smarty/cache/wrt51a2a59a39b634.15942655' in public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(102): Smarty_Internal_Write_File::writeFile('/home/...', '<?php /*%%Smart...', Object(Smarty)) #1 /home/public_html/tools/smarty/sysplugins/smarty_cacheresource.php(367): Smarty_Internal_CacheResource_File->writeCachedContent(Object(Smarty_Internal_Template), '<?php /*%%Smart...') #2 /home/public_html/tools/smarty/sysplugins/smarty_internal_template.php(230): Smarty_Template_Cached->write(Object(Smarty_Internal_Template), '<?php /*%%Smart...') #3 /home/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(259): Smarty_Internal_Template->writeCachedContent('?</div>???<!-- ...') #4 /home/public_html/classes/module/Modu in/home/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44 What's append....I have never had problem like this since 6 months!!! Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted May 27, 2013 Share Posted May 27, 2013 (edited) well it works for a moment but see this error now Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /public_html/cache/smarty/cache/wrt51a2a59a39b634.15942655' in public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(102): Smarty_Internal_Write_File::writeFile('/home/...', '<?php /*%%Smart...', Object(Smarty)) #1 /home/public_html/tools/smarty/sysplugins/smarty_cacheresource.php(367): Smarty_Internal_CacheResource_File->writeCachedContent(Object(Smarty_Internal_Template), '<?php /*%%Smart...') #2 /home/public_html/tools/smarty/sysplugins/smarty_internal_template.php(230): Smarty_Template_Cached->write(Object(Smarty_Internal_Template), '<?php /*%%Smart...') #3 /home/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(259): Smarty_Internal_Template->writeCachedContent('?</div>???<!-- ...') #4 /home/public_html/classes/module/Modu in/home/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44 What's append....I have never had problem like this since 6 months!!! Oh new error... Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /public_html/[b]cache/smarty/cache/[/b]wrt51a2a59a39b634.15942655' Check permissions: /cache/smarty/cache/ Edited May 27, 2013 by Rubalcaba (see edit history) Link to comment Share on other sites More sharing options...
Newtechimport Posted May 27, 2013 Author Share Posted May 27, 2013 theres is nothing in this folder....no file Link to comment Share on other sites More sharing options...
Newtechimport Posted May 27, 2013 Author Share Posted May 27, 2013 Very strange.....sometimes the error appear.....try later....it works.....retry.....error again.... Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted May 27, 2013 Share Posted May 27, 2013 (edited) Very strange.....sometimes the error appear.....try later....it works.....retry.....error again.... This: Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /public_html/cache/smarty/cache/wrt51a2a59a39b634.15942655' I'm no expert, but I think the new error is that the directory permissions "/cache/smarty/cache/" is not correct and the cache files are not generated. Edited May 27, 2013 by Rubalcaba (see edit history) Link to comment Share on other sites More sharing options...
Newtechimport Posted May 27, 2013 Author Share Posted May 27, 2013 the permission......you mean the chmod ?..... it is suppose to be what ? all the files in cache/smarty/cache are on 0755 chmod and all directory are on 0644 sorry...files are on 0644 and directories on 0755 Link to comment Share on other sites More sharing options...
Newtechimport Posted May 27, 2013 Author Share Posted May 27, 2013 Ok I deactivated the Apache Optimization in "performance menu" of the back office and it seems ok.... The only error I have now is when I click on the paypal logo: Fatal error: Class 'BWDisplay' not found in /public_html/modules/paypal/about.php on line 37 I did not have this error before Link to comment Share on other sites More sharing options...
Recommended Posts