aid-a Posted April 13, 2016 Share Posted April 13, 2016 After updating prestashop to newest version, I discovered that my back office look like this. Backup doesn't work... same thing.HELP!!! thanks! Link to comment Share on other sites More sharing options...
shokinro Posted April 14, 2016 Share Posted April 14, 2016 Please set _PS_MODE_DEV_ to true in file /config/defines.inc.php and then page again to see what is the error message displayed. it will give you some hint what was the cause so that you know what to do. if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', false); } Link to comment Share on other sites More sharing options...
aid-a Posted April 20, 2016 Author Share Posted April 20, 2016 Nothing happens... I already used this kind of operation but now it does not work Link to comment Share on other sites More sharing options...
shokinro Posted April 21, 2016 Share Posted April 21, 2016 have you checked error logs 1. at back office - Advanced parameters - Logs tab 2. folder StoreRoot/log/ Link to comment Share on other sites More sharing options...
aid-a Posted April 22, 2016 Author Share Posted April 22, 2016 (edited) I don't know how to check these errors, Shokinro. I have no knowledge in it. The only error it have me: Fatal error: Call to undefined method Link::matchQuickLink() in/home/indecori/domains/indecori.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 341Thank you very much for your help, I really need it! Edited April 22, 2016 by aid-a (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted April 22, 2016 Share Posted April 22, 2016 have you tried to delete following cache file? it might class index was not generated correctly. /cache/class_index.php Link to comment Share on other sites More sharing options...
aid-a Posted April 22, 2016 Author Share Posted April 22, 2016 (edited) Deleted /cache/class_index.php file, and still nothing... Doesn't work Maybe at this moment I should change _PS_MODE_DEV_ to false again? Edited April 22, 2016 by aid-a (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted April 22, 2016 Share Posted April 22, 2016 (edited) really have no idea, how this Link class not loaded, I doubt your store upgrade might be not successful. can you check if following file exists or not, if it does not exist, please try to copy from prestashop original package /classes/Link.php Edited April 22, 2016 by shokinro (see edit history) Link to comment Share on other sites More sharing options...
aid-a Posted April 22, 2016 Author Share Posted April 22, 2016 Thanks Shokinro, But I haven't found this file in the folder. Where should I download it? Where is prestashop original package? Link to comment Share on other sites More sharing options...
shokinro Posted April 22, 2016 Share Posted April 22, 2016 (edited) Sorry, it wrote Wong path, the original Link.php gile should be under /classes/ folder, not under override folder. I have corrected it in my original post too. Edited April 22, 2016 by shokinro (see edit history) Link to comment Share on other sites More sharing options...
aid-a Posted April 22, 2016 Author Share Posted April 22, 2016 In that folder still I cannot find this file. So where I can download it? Thanks! because I really have no idea how to do it. Link to comment Share on other sites More sharing options...
shokinro Posted April 22, 2016 Share Posted April 22, 2016 If you following file does not exists you can download the same version of Prestashop package from prestashop.com and then copy the same file from the same folder of the package YourStoreRoot/classes/Link.php Link to comment Share on other sites More sharing options...
aid-a Posted April 23, 2016 Author Share Posted April 23, 2016 Yay it worked! Now I have access to my back office, but as I still have not changed true to false, it gives me million errors. Could you please look if it means anything bad? Thanks a lot!Notice on line 2667 in file /home/indecori/domains/indecori.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code [8] Undefined index: customized_product_quantityNotice on line 2736 in file /home/indecori/domains/indecori.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Undefined index: customized_product_quantityNotice on line 2736 in file /home/indecori/domains/indecori.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Undefined index: customized_product_quantityNotice on line 376 in file /home/indecori/domains/indecori.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Undefined index: quick_access_current_link_nameNotice on line 376 in file /home/indecori/domains/indecori.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Trying to get property of non-objectNotice on line 402 in file /home/indecori/domains/indecori.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Undefined index: quick_access_current_link_iconNotice on line 402 in file /home/indecori/domains/indecori.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Trying to get property of non-objectNotice on line 505 in file /home/indecori/domains/indecori.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Undefined index: login_linkNotice on line 505 in file /home/indecori/domains/indecori.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Trying to get property of non-object Link to comment Share on other sites More sharing options...
shokinro Posted April 23, 2016 Share Posted April 23, 2016 from the error message, there seems still some problems with some of the links. I guess there might be some other files kissing. how about copy the whole folders of following from the prestashop package to your store and then try again. (Please the use same version of PrestaShop package you are using) /class/ /controllers/ Link to comment Share on other sites More sharing options...
aid-a Posted April 23, 2016 Author Share Posted April 23, 2016 (edited) Unfortunately I downloaded more recent version file Link.php, my prestashop version is 1.6.0.9 and in prestashop.com it's 1.6.1.5... I found my prestashop version files. Which files should I change? It won't affect my theme, my products etc? Edited April 23, 2016 by aid-a (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted April 23, 2016 Share Posted April 23, 2016 (edited) you have to download the same version of PrestaShop. please use attached - it is from 1.6.0.9, - please rename it first. Link.php.txt Edited April 23, 2016 by shokinro (see edit history) Link to comment Share on other sites More sharing options...
aid-a Posted April 23, 2016 Author Share Posted April 23, 2016 I found my version link.php file and back office doesn't work. So the problem is in updating? How should I update to recent version? I should reuse link.php of more recent version and use one click upgrade? Link to comment Share on other sites More sharing options...
shokinro Posted April 23, 2016 Share Posted April 23, 2016 if you have upgraded to new version, then you have to use the Link.php file from the new version, it must matches your store Prestaashop current version. But I am afraid if the upgrade is not done properly, that might be not the only file. If that is the case, I would suggest you restore your store from backup and redo the upgrade. Link to comment Share on other sites More sharing options...
aid-a Posted April 23, 2016 Author Share Posted April 23, 2016 (edited) Crazy, but my previous backups of my store disappeared, I have only 2 backups that dont help me - BO doesnt work. You know, these problems appeared when I chose automatic updates in my server (in instalatron).The only way I managed to make my BO work is to put "link.php" of newer version. I know I shouldn't do like this. And when I try to go to module's section, it doesn't open. I just wanted to do one click upgrade. It makes this error: [PrestaShop] Fatal error in module smarty_internal_templatebase.php(157) : eval()'d :Undefined class constant 'MODE_HOST'My question is: is there any way to save my theme's layout and translation and everything, make an update and import some theme's files to ftp? I dont want to lose several weeks of work when I translated all the theme to my language, and making the layout I like... Edited April 23, 2016 by aid-a (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted April 23, 2016 Share Posted April 23, 2016 is there any way to save my theme's layout and translation and everything, make an update and import some theme's files to ftp I do not know about your theme. But for translation, you may be able to export from back office - Localization - Translations - Export A Language section. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now