myedinu Posted December 8, 2015 Share Posted December 8, 2015 Hi, My web site "Prestashop version: 1.5.3.1" was working properly for three years I believe so... Suddenly my clients began to complain that they are getting a "Internal 500 Error", when they are confirming the purchase. I followed some instructions given in the forum and I found that I have to set (define('_PS_MODE_DEV_', true); in config/defines.inc.php in order to see the exact Error, and after i did that I am having: "Fatal error: Call to undefined method ShopUrl::cacheMainDomainForShop() in /home/content/15/10900415/html/override/classes/order/OrderHistory.php on line 19" after i hit Confirmation button at checkout. Can anyone help me with this please? PS: My website is bekqeli.com and everything is working fine except of that... Link to comment Share on other sites More sharing options...
SupportPS Posted December 8, 2015 Share Posted December 8, 2015 Hello You have installed some module that uses this file override/classes/order/OrderHistory.phpPereymenuyte him say so override/classes/order/_OrderHistory.phpOr look at it on the line 19 Link to comment Share on other sites More sharing options...
tuk66 Posted December 8, 2015 Share Posted December 8, 2015 You have an uncompatible module with your version. That method is in PS 1.6, but not 1.5. Link to comment Share on other sites More sharing options...
myedinu Posted December 8, 2015 Author Share Posted December 8, 2015 I have not installed any of the modules recently...While my web site and purchases were working fine. And suddenly like I said I began to have this error. Can anyone point me to exact solution? Link to comment Share on other sites More sharing options...
SupportPS Posted December 8, 2015 Share Posted December 8, 2015 There is no such that something happened just like that.Perhaps you have stood in Settings->perfomence not recompile. And now you are recompiled files was a mistake.In any case, rename the file error as I wrote earlier. Link to comment Share on other sites More sharing options...
El Patron Posted December 8, 2015 Share Posted December 8, 2015 Hello You have installed some module that uses this file override/classes/order/OrderHistory.php Pereymenuyte him say so override/classes/order/_OrderHistory.php Or look at it on the line 19 hi, please follow the above advice. You or someone added a module that put this override in folder that is causing issue. After you 'rename' it then look at source code to see if you can determine what module may have installed the override. Link to comment Share on other sites More sharing options...
myedinu Posted December 8, 2015 Author Share Posted December 8, 2015 I renamed the file as you described above. Now the Confirmation button is working properly, and so far the whole webpage. I wonder if I will get any of consequences in the future by renaming OrderHistory.php? Bthw: Thanks a lot for helping me regarding this issue Link to comment Share on other sites More sharing options...
Recommended Posts