Jump to content

[REZOLVAT] Meniurile din Panoul de administrare au disparut...


Recommended Posts

1. scoate pachetul asta http://www.prestashop.com/?ACT=29&fid=104&aid=28816_qWH2CVmPKG46GLFHcyp8&board_id=1 , dezarhiveaza-l pana ajungi la foldere si copiaza-le peste folderele deja existente din instalatia ta.

2. intra in phpmyadmin in baza ta de date si ruleaza urmatorul cod in SQL (langa tab-ul Structure):

INSERT INTO `lang` (`id_lang`, `name`, `active`, `iso_code`) VALUES
(1, 'English (English)', 1, 'en')



vezi ca in fisier, id_lang e 1, tabelul original arata asa:

INSERT INTO `lang` (`id_lang`, `name`, `active`, `iso_code`) VALUES
(1, 'English (English)', 1, 'en'),
(2, 'Français (French)', 1, 'fr'),
(3, 'Español (Spanish)', 1, 'es');



va trebui sa-i dai limbii un id care nu exista inca, franceza are id-ul 2 si spaniola id-ul 3. daca dupa ce ai sters engleza nu ai o limba cu id=1, poti executa direct codul de mai sus, altfel va trebui sa-i pui alt id.

Da-mi un pm daca nu te descurci.

Link to comment
Share on other sites

Noroc ca am lucrat in trecut cu baze de date (Oracle 9i si MySQL).
Problema: Prestashop vrea obligatoriu limba engleza. Em am sters-o si am lasat doar Romana!

Rezolvare:
intrati in baza de date (ex.: PhpMyAdmin), selectati tabela _lang, si modificati iso_code in en, optional puteti modifica si numele in English (English).

Sau direct comanda:
UPDATE ``.`_lang` SET `name` = 'English (English)',
`iso_code` = 'en' WHERE `_lang`.`id_lang` =1;

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