krzysiekkcn Posted August 23, 2013 Share Posted August 23, 2013 Hi! When I choose payment module one of them has those warnings: [b]Warning[/b]: File [b]/header.php[/b] is deprecated in [b]/classes/Tools.php[/b] on line [b]1845[/b] [b]Warning[/b]: Function [b]displayHeader()[/b] is deprecated in [b]/header.php[/b] on line [b]40[/b] in [b]/classes/Tools.php[/b] on line [b]1845[/b] [b]Warning[/b]: File [b]/footer.php[/b] is deprecated in [b]/classes/Tools.php[/b] on line [b]1845[/b] [b]Warning[/b]: Function [b]displayFooter()[/b] is deprecated in [b]/footer.php[/b] on line [b]39[/b] in [b]/classes/Tools.php[/b] on line [b]1845[/b] I was searching anything about it, but I do not know what in footer.php or header.php is wrong. Header line: 40 Tools::displayFileAsDeprecated(); $controller->displayHeader(); Fotter line: 39 Tools::displayFileAsDeprecated(); $controller->displayFooter(); Thank you in advance, Greetings Link to comment Share on other sites More sharing options...
vekia Posted August 23, 2013 Share Posted August 23, 2013 it mean that module isn't fully compatibile with your prestashop version. YOu don't have to worry, because these messages arent critical. Moreover, this messages are from prestashop engine (not from PHP script parser) if you want to disable these messages - you can do it in the defines.inc.php file you've got there: define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true); just turn it off: define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); 3 Link to comment Share on other sites More sharing options...
NemoPS Posted August 23, 2013 Share Posted August 23, 2013 Also, I want to add that that payment module seems to have been done for prestashop 1.3. I strongly suggest that you look for an updated version to avoid future issues, even if it works now Link to comment Share on other sites More sharing options...
krzysiekkcn Posted August 23, 2013 Author Share Posted August 23, 2013 Thanks This module was dedicated by paymentmethod owner and it was crashed. I bought new one and it works great Link to comment Share on other sites More sharing options...
cyberwala Posted September 21, 2013 Share Posted September 21, 2013 its works perfectly thanks Link to comment Share on other sites More sharing options...
Recommended Posts