[email protected] Posted October 10, 2016 Share Posted October 10, 2016 I use prestashop 1.6.0.8 . One year I had no problems, but befor a few days I found out that my castomers can not confirm theyr orders. ERROR 500 is written on the page. I hope YOU can help me solve this problem. Link to comment Share on other sites More sharing options...
shokinro Posted October 11, 2016 Share Posted October 11, 2016 it could be some changes on your server, or something you changes in your store. please try to enable debug mode and then try again with rest order, you should see more detailed error message. set _PS_MODDE_DEV_ to true in file /config/config.inc.php Link to comment Share on other sites More sharing options...
[email protected] Posted October 11, 2016 Author Share Posted October 11, 2016 I made what you advised me. Here is the result Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/home/missnin/public_html/cache/smarty/cache/crossselling/shoppingcart/12/35/60/81/84/133/143/214/216/221/224/225/228/229/236/238/242/243/244/245/246/249/251/253/255/256/257/258/259/1/236/53/2b/31): failed to open dir: Too many open files' in /home/missnin/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php:180 Stack trace: #0 [internal function]: RecursiveDirectoryIterator->__construct('/home/missnin/p...', 0) #1 /home/missnin/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(180): RecursiveDirectoryIterator->getChildren() #2 /home/missnin/public_html/tools/smarty/Smarty.class.php(777): Smarty_Internal_CacheResource_File->clear(Object(Smarty), '/home/missnin/p...', 'crossselling', NULL, NULL) #3 /home/missnin/public_html/classes/Tools.php(2596): Smarty->clearCache('/home/missnin/p...', 'crossselling', NULL) #4 /home/missnin/public_html/classes/module/Module.php(2 in/home/missnin/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 180 Link to comment Share on other sites More sharing options...
shokinro Posted October 11, 2016 Share Posted October 11, 2016 (edited) it seems related cache files. there are too many files. And it seems related to corssselling module. You may try to clear Smarty cache to see it fixes your problem, or maybe you can try to disable crossselling module to see if it fixes the issues. Edited October 12, 2016 by shokinro (see edit history) 1 Link to comment Share on other sites More sharing options...
[email protected] Posted October 12, 2016 Author Share Posted October 12, 2016 thank you! Link to comment Share on other sites More sharing options...
shokinro Posted October 12, 2016 Share Posted October 12, 2016 Just noticed a typo in my message by missing a word, "You may try to clear Smarty to see it fixes your problem" should be "You may try to clear Smarty cache to see it fixes your problem". to avoid confusing, I have corrected the original message too. 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