Jump to content

(solved) front panel doesnt work, back office is ok after upgrade !!urgent Help!!


Recommended Posts

hi,

after upgrade from 1.1 to 1.3.1, there is a completely blank page on the front office.But back office works perfectly.

I regenerated htaccess but nothing changed. help me please.

error : hack attempt

PS : i edited config/config.inc.php and changed ‘display_errors’ from ‘off’ to ‘on’ .

The error on the front office :

Fatal error: Call to undefined method Db::getInstance() in /home/xxxx/public_html/classes/Meta.php on line 89

Link to comment
Share on other sites

i added to init php this code on the line 89 :

$ps_language = new Language(intval($cookie->id_lang));
setlocale(LC_COLLATE, strtolower($ps_language->iso_code).'_'.strtoupper($ps_language->iso_code).'.UTF-8');
//setlocale(LC_CTYPE, strtolower($ps_language->iso_code).'_'.strtoupper($ps_language->iso_code).'.UTF-8');
setlocale(LC_CTYPE, 'en_EN.UTF-8');
setlocale(LC_NUMERIC, 'en_EN.UTF-8');



problem is solved !

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