Forums / Bug Reports / [Done 2.0.0] bug after trying to switch language

[Done 2.0.0] bug after trying to switch language

Locked

Views: 1,835

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 Jul 2008, 7:24 AM
#1
remulus avatar

remulus

New Zenner

Join Date:
Jul 2008
Posts:
2
Plugin Contributions:
0

[Done 2.0.0] bug after trying to switch language

Cannot login into the shop (1.3.8a) anymore and receive the following message when I try:

Warning: main(includes/languages/deutsch.php) [function.main]: failed to open stream: No such file or directory in /home/...../shop/admin/includes/init_includes/init_languages.php on line 31

Warning: main(includes/languages/deutsch.php) [function.main]: failed to open stream: No such file or directory in /home/...../shop/admin/includes/init_includes/init_languages.php on line 31

Warning: main(includes/languages/deutsch.php) [function.main]: failed to open stream: No such file or directory in /home/...../shop/admin/includes/init_includes/init_languages.php on line 31

Fatal error: main() [function.require]: Failed opening required 'includes/languages/deutsch.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/...../shop/admin/includes/init_includes/init_languages.php on line 31

Just tried to switch the language setup.

Anybody there who knows what to to except new install?

29 Jul 2008, 8:27 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: [Done 2.0.0] bug after trying to switch language

Do you have this file in this location?

ncludes/languages/deutsch.php

Zen-Venom Get Bitten

29 Jul 2008, 8:43 AM
#3
nazar avatar

nazar

New Zenner

Join Date:
Jul 2008
Posts:
1
Plugin Contributions:
0

Re: [Done 2.0.0] bug after trying to switch language

remulus:

Cannot login into the shop (1.3.8a) anymore

like admin / user or guest?

29 Jul 2008, 1:49 PM
#4
remulus avatar

remulus

New Zenner

Join Date:
Jul 2008
Posts:
2
Plugin Contributions:
0

Re: [Done 2.0.0] bug after trying to switch language

when i open admin i get the message. have no deutsch.php (but copied and renamed the "english.php" to deutsch.php and the outcome are the messages). what confuses is that i have no chance to make it undone. thank you for helping.

3 Aug 2008, 1:12 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done 2.0.0] bug after trying to switch language

It should let you override the language by adding ?language=en to the end of your Admin URL.

Also, creating the required language file and folder should allow the language to load properly.

In the next version of Zen Cart there will be a check added to ensure that you can't set the Default language to a language that's not properly installed with the required files.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.