Forums / Addon Language Packs / trouble login into admin

trouble login into admin

Locked

Started by zcricardo on 2 Apr 2009, 5:46 PM · Views: 1,510

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
2 Apr 2009, 5:46 PM
#1
zcricardo avatar

zcricardo

New Zenner

Join Date:
Apr 2009
Posts:
15
Plugin Contributions:
0

trouble login into admin

Yesterday after uploading spanish language I was working fine with my admin and my zen cart, but today I am getting this error msg when trying to display the admin login page, please help:

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

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

2 Apr 2009, 7:36 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: trouble login into admin

That message is telling you that the **/store/admin/includes/languages/spanish.php **file isn't on your webserver.

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

2 Apr 2009, 8:09 PM
#3
zcricardo avatar

zcricardo

New Zenner

Join Date:
Apr 2009
Posts:
15
Plugin Contributions:
0

Re: trouble login into admin

DrByte:

That message is telling you that the **/store/admin/includes/languages/spanish.php **file isn't on your webserver.

thanks, the thing is that the file is there, I have checked it few times already

2 Apr 2009, 8:18 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: trouble login into admin

Well ... either it's not there, or you've got it in the wrong place, or you uploaded it with a user ID that gave it permissions which are preventing it from being seen by the apache webserver and therefore Zen Cart can't see it.
The error message is clear: No such file or directory.

Remember, there are TWO sets of language files: catalog (storefront) and admin.
Since you said the message is happening when logging into the admin, and the error message points out that it's the admin scripts that are looking for the file, then the file that's not found is (as I said earlier):
/store/admin/includes/languages/spanish.php

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

2 Apr 2009, 11:36 PM
#5
zcricardo avatar

zcricardo

New Zenner

Join Date:
Apr 2009
Posts:
15
Plugin Contributions:
0

Re: trouble login into admin

You are absolutely right, thanks a lot, you info was very helpful. As you can tell I am a new zenner!!!