makaraci Posted July 1, 2010 Share Posted July 1, 2010 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 attemptPS : 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 More sharing options...
makaraci Posted July 1, 2010 Author Share Posted July 1, 2010 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 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