naresh4it Posted November 20, 2013 Share Posted November 20, 2013 (edited) Hi, I have upgraded from prestashop1.4.11 to 1.5.6.1 now i am getting the error Fatal error: Call to undefined method Tools::isPHPCLI() in config.inc.php I have uploaded the tools.php manuly as well and also tried to make the method call as commecnt in config.inc.php as per the another topic on this error. But its still not working Please help Thanks in advance Edited November 20, 2013 by naresh4it (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted November 21, 2013 Share Posted November 21, 2013 have you tried to open the Tools.php class file to confirm it has a function named "isPHPCLI" Link to comment Share on other sites More sharing options...
vekia Posted November 21, 2013 Share Posted November 21, 2013 one solved topic with similar problem: http://www.prestashop.com/forums/topic/271016-solved-after-upgrade-to-155-by-1-click-upgrade-website-stopped-working/ Link to comment Share on other sites More sharing options...
tuk66 Posted November 22, 2013 Share Posted November 22, 2013 Compare your /classes/Tools.php file with the one from installation package. Your file doesn't contain that function so it is not right, it is patched or comes from an older version of PrestaShop. Link to comment Share on other sites More sharing options...
naresh4it Posted November 22, 2013 Author Share Posted November 22, 2013 Thanks a lot for replies i solved that problem via uploading the classes and cache folder again. The website was working fine uintill i disabled and re-enebled the cache. Now here is the new error Fatal error: Class 'IndexController' not found in ....../classes/controller/Controller.php on line 128 Thanks Link to comment Share on other sites More sharing options...
vekia Posted November 22, 2013 Share Posted November 22, 2013 via uploading the classes and cache folder again what ps version you use now? and what files you uploaded (from what ps version?) ? Link to comment Share on other sites More sharing options...
naresh4it Posted November 22, 2013 Author Share Posted November 22, 2013 current version is 1.5.6.1. The problems are coming on this only. I have uploaded cache and classes folder manuly which makes it work fine. But when the cache is enabled the error came. Here is the url http://www.test.healthiersmoker.ie Regards Sharma Link to comment Share on other sites More sharing options...
Recommended Posts