Zen Cart Logo
Forums / General Questions / Cant access Admin anymore????

Cant access Admin anymore????

Locked

Views: 841

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
21 Aug 2009, 10:16 PM
#1
christinefred avatar

christinefred

New Zenner

Join Date:
May 2009
Posts:
67
Plugin Contributions:
0

Cant access Admin anymore????

I am getting the following error on trying to access Admin:
( The admin name is different to this but used 'admin' for this post)

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

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

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

the web page seems to working fine.
line 31 in above file is:
30 // include the language translations
31 require(DIR_WS_LANGUAGES . $_SESSION['language'] . '.php');
32 $current_page = basename($PHP_SELF);
33 if (file_exists(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page)) {
34 include(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page);
}
I HAVE NO IDEA what changed or what went wrong.......:shocking: Please Help

21 Aug 2009, 11:42 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Cant access Admin anymore????

christinefred:

Warning: require(includes/languages/english.php) [function.require]: failed to open stream: No such file or directory in /home/selique/public_html/admin/ ...

The error message is telling you exactly what's wrong ... You're missing the /admin/includes/languages/english.php file on your server.

22 Aug 2009, 2:24 AM
#3
christinefred avatar

christinefred

New Zenner

Join Date:
May 2009
Posts:
67
Plugin Contributions:
0

Re: Cant access Admin anymore????

Thank you - fixed.
No more late night working on the web.........after a 'few' drinks....for me..........