fpaul Posted August 25, 2013 Share Posted August 25, 2013 (edited) Hello, I encountered problem when trying to create sub-categories in Catalog--> (BackOffice). System hung up and when I restored, category and sub-category were not visible. So I created them again and when I click on View My Shop, am getting below error message. Now he website is down. Can someone please help ? Many thanks in advance. error.doc Edited August 26, 2013 by fpaul (see edit history) Link to comment Share on other sites More sharing options...
fpaul Posted August 26, 2013 Author Share Posted August 26, 2013 Here is the update: With the help of hosting company, found that, it is segfaulting while running mysql queries. So the issue is with the database (corrupt). Hosting company tried to repair but since it is innodb they had to restore it from a sql dump from previous day. So this was done. Now webshop is accessible but below text appears on top left of the home page. "Warning: Function addCSS() is deprecated in /home4/bravo/public_html/clicktoshop.in/override/classes/Tools.php on line 142 in /home4/bravo/public_html/clicktoshop.in/classes/Tools.php on line 1845" Shop url is www.clicktoshop.in How can I get rid of above text ? Can someone please help ? Thank you. Link to comment Share on other sites More sharing options...
vekia Posted August 26, 2013 Share Posted August 26, 2013 this message isn't error, it's only warning which is not related to php parser. This is message from prestashop core which informs that your override uses deprecated function addCSS(); check override/classes/Tools.php file, near line 142 you will see the code with addCSS. 1 Link to comment Share on other sites More sharing options...
fpaul Posted August 26, 2013 Author Share Posted August 26, 2013 Great! I just replaced both files with old ones and solved the problem. Many thanks for your help, vekia. I'll mark this thread 'SOLVED'. Link to comment Share on other sites More sharing options...
Recommended Posts