New Zenner
- Join Date:
- May 2011
- Posts:
- 8
- Plugin Contributions:
- 0
cannot log to admin after adding language
Hello,
I installed fresh Zen Cart and wanted to add Polish language for the customers from this country (they are the target), but I wanted to keep English as the admin language. As there was no Polish translation to v1.50 (only to 1.39) I found Zen Cart installation in Polish v1.50, I decided to borrow Polish language folders and add them to my English installation.
Initially everything worked perfectly:
-
I uploaded Polish directory & polish.php file to includes/languages folder (on test site). I left English language folder and english.php there.
-
I changed language in Admin/Localisation/Languages - bingo! I got even a little Polish flag flying.
-
I checked my test site (herbonet.pl) and the language of the ZenCart shop was Polish. Yay!
-
Now I have a problem: I CANNOT log into admin - I think this must be a consequence of language update/change (I do not remember if I logged off and never returned as admin until a few days later, this might have been the case). The message is: 'Remote server or file not found. Check that the address is spelled correctly, or try searching for the site.' Tried with 4 different browsers, cleared cookies and cache. Nil effect.
-
I browsed Zen forum and found advice to check myDEBUG-adm log. And this is what I found in the log:
[26-Jun-2012 15:21:42] PHP Warning: require(includes/languages/polish.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/renata/public_html/herbonet.pl/xadminx/includes/init_includes/init_languages.php on line 35
[26-Jun-2012 15:21:42] PHP Warning: require(includes/languages/polish.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/renata/public_html/herbonet.pl/xadminx/includes/init_includes/init_languages.php on line 35
[26-Jun-2012 15:21:42] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/polish.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/renata/public_html/herbonet.pl/xadminx/includes/init_includes/init_languages.php on line 35
- I checked init_languages.php file, but I am not a programmer and it's all Greek to me; besides this file ends at line 31.
My ZenCart is v1.50. The folder with Polish language was also from v1.50. xadminx is not the real name of my admin folder.
Any help would be highly appreciated. If any more information is needed, please let me know.
Thanks,
Jack