damnated Posted May 23, 2011 Share Posted May 23, 2011 I transferred a database from another prestashop, and on the front end everything works fine, but on the back end, I can't see the name and the description of categories/products. IDs show up just fine. Every name is in another language (Romanian), and the language is present in the database with id number 7. AFAIK everything is linked correctly, however, I get one warning, repeated about 500 times, if I enable error displaying: Warning: key_exists() expects parameter 2 to be array, null given in /var/www/prestashop/classes/AdminTab.php on line 216 which is $str = (key_exists(get_class($this).$key, $_LANGADM)) ? $_LANGADM[get_class($this).$key] : ((key_exists($class.$key, $_LANGADM)) ? $_LANGADM[$class.$key] : $string); in the l function. I understand what is the error, but I have no idea how to fix it, or how to display the names/descriptions in the back end, especially when they are displayed just fine in the front end. Please advise! Link to comment Share on other sites More sharing options...
shokinro Posted May 23, 2011 Share Posted May 23, 2011 I guess you are using multiple languages in your store and you have not input information for all languages.So if you switch to the language that does not has catalog data, you will see them as empty like name and description.at admin, try to switch to other language to see if it is OK.You need to input information for all languages. To do so, you need to click language icon (flag) bedside the input box and then choose the language to input the data. Link to comment Share on other sites More sharing options...
damnated Posted May 23, 2011 Author Share Posted May 23, 2011 I have only one language activated at this time, which is Romanian. There is also English and French in the DB, but they are deactivated. Link to comment Share on other sites More sharing options...
shokinro Posted May 23, 2011 Share Posted May 23, 2011 but from the screenshot, I can see it is in English. I think that's why you see the name/descriptions are empty.try to change the default language to Romanian for the each admin account EmployeesEdit employee and change the lanugage Link to comment Share on other sites More sharing options...
damnated Posted May 23, 2011 Author Share Posted May 23, 2011 Yes, you were right! Thank you very much! Link to comment Share on other sites More sharing options...
kowal Posted July 22, 2011 Share Posted July 22, 2011 This solution works for me too. Thanks you! 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