jodysingh786 Posted June 18, 2013 Share Posted June 18, 2013 On my site the checkout is not working. Upon selecting an item and filling details when it asks to select payment option it does not work. It either shows the 'terms & conditions' as already checked and the next page appears with the below given error. Kindly help. I am willing to give my logins of admin and cpanel for fixing this issue please. Server error The website encountered an error while retrieving http://www.bestchemistonline.com/en/quick-order. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later.HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2013 Share Posted June 18, 2013 to debug this kind of error, please turn error reporting on in your prestashop. You can also check the php error log, if any error appear - please paste the error code here Link to comment Share on other sites More sharing options...
jodysingh786 Posted June 18, 2013 Author Share Posted June 18, 2013 (edited) kindly tell me how to turn it on and where can i find the php error log? is it in my cpanel? The logs in advanced parameters have been set but no email comes. In the help given where the logs appear in the admin there one can see the php error's too but dont know what to do. Edited June 18, 2013 by jodysingh786 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2013 Share Posted June 18, 2013 read this: error reporting prestashop then try to refresh website where the problem occur. php error log is a simple txt file usually located in your root dir on in /logs/ directory. sometimes it is possible to check this file in the webhosting control panel - but everything depends on webhostng configuraton. Link to comment Share on other sites More sharing options...
jodysingh786 Posted June 18, 2013 Author Share Posted June 18, 2013 (edited) Could anyone please tell me what the below error means or rather how to correct it. Awaiting response eagerly. I've turned error reporting on and when refreshed this appeared (but i know nothing about this): Warning: Function addCSS() is deprecated in /home/bestchem/public_html/override/classes/Tools.php on line 119 in /home/bestchem/public_html/classes/Tools.php on line 1777 Warning: Function addJS() is deprecated in /home/bestchem/public_html/override/classes/Tools.php on line 93 in /home/bestchem/public_html/classes/Tools.php on line 1777 Warning: Function addCSS() is deprecated in /home/bestchem/public_html/override/classes/Tools.php on line 119 in /home/bestchem/public_html/classes/Tools.php on line 177 I've just opene the file the error mentions - _tools.php and the line on 177 is FB::warn('Function <strong>'.$callee['function'].'()</strong> is deprecated in <strong>'.$callee['file'].'</strong> on line <strong>'.$callee['line'].'</strong><br />', 'Deprecated method'); else what do I change in this please? Should I copy the same file from another prestashop that's working fine and paste it here? Edited June 18, 2013 by jodysingh786 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2013 Share Posted June 18, 2013 this error isn't related to the Tools file. it's because, probably, one of your module using old method to attach js & css files. what kind of payment modules you use? Link to comment Share on other sites More sharing options...
jodysingh786 Posted June 18, 2013 Author Share Posted June 18, 2013 I use ccpayment (the ofline card saver). Another one that I use (it is the same after editing) but now its disabled is where the client is taken from the order page through a gateway site and to a the external payment page. Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2013 Share Posted June 18, 2013 if you, for example, turn off non-default payment modules - the problem still occur? Link to comment Share on other sites More sharing options...
jodysingh786 Posted June 18, 2013 Author Share Posted June 18, 2013 (edited) No if I turn off the non-default modules then it works fine. Ive just disabled the ccpayment module and it began working. But I use this module where the client is directed to payment and that is now not working. Edited June 18, 2013 by jodysingh786 (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted June 18, 2013 Share Posted June 18, 2013 Hi Jody, what exactly is the module that you are using, ccpayment module? I would like to take a look at it. Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2013 Share Posted June 18, 2013 so the problem is probably with this addon. you should check addJS & addCSS functions there, in module main .php file. module probably uses wrong method to implement those files. Moreover, i think, that this addon isn't compatibile with your PS version 1 Link to comment Share on other sites More sharing options...
benjamin utterback Posted June 18, 2013 Share Posted June 18, 2013 I would agree with that, that's why I was wondering what specific module he was using. It seems to be a third-party module that probably isn't configured right to run well on PrestaShop. Do you know of any PrestaShop Payment Module that takes CC from the South Asian region? this module works for bank transfers with India, http://addons.prestashop.com/en/payments-gateways-prestashop-modules/1282-inpay.html You may want to contact them for more information. They were scheduled to accept Indian bank transfer by Q1 of 2013. 1 Link to comment Share on other sites More sharing options...
jodysingh786 Posted June 19, 2013 Author Share Posted June 19, 2013 This is solved by disabling the add-on from third party. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts