Jump to content

Site doesnt want to load


asosservis

Recommended Posts

Hello. My website topprodaja.eu doesnt want to load and i am getting following error message Fatal error: Class 'Tools' not found in /home/topproda/public_html/config/config.inc.php on line 81

I have done a following that one member have suggested and after this site doesnt wanted to load anymore. I have also change everything as it was and uploaded back the file tools.php that i had backuped before but nothing helped.

This i have done:

 

You can buy an extension for PrestaShop or you can do it yourself, fix just two lines of code.

 

So, open the file /classes/tools.php and find this (twice):

 

Currency::getCurrencyInstance((int)$cookie->id_currency);

 

 

 

And replace it to

 

Currency::getCurrencyInstance(N);

 

 

 

where N is an id of currency (1, 2, 3 etc.).

 

That's all. Don't forget to save the file. Tested with PrestaShop 1.6.

 

SO PLEASE CAN ANYBODY HELP ME. ITS VERY IMPORTANT TO ME

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...