Jump to content

After updating, cannot connect to back office!


aid-a

Recommended Posts

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

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 341

Thank you very much for your help, I really need it!

post-797593-0-62825000-1461315712_thumb.png

Edited by aid-a (see edit history)
Link to comment
Share on other sites

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_quantity

Notice 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_quantity

Notice 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_quantity

Notice 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_name

Notice 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-object

Notice 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_icon

Notice 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-object

Notice 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_link

Notice 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

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

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 by aid-a (see edit history)
Link to comment
Share on other sites

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

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

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 by aid-a (see edit history)
Link to comment
Share on other sites

 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...