Zen Cart Logo
Forums / Basic Configuration / Php error need advice?

Php error need advice?

Locked

Views: 1,881

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
2 Feb 2009, 6:59 PM
#1
treasuresbycaz avatar

treasuresbycaz

New Zenner

Join Date:
Dec 2008
Posts:
33
Plugin Contributions:
0

Php error need advice?

Hello,

We are using the lastest zencart & was adding the mod 'adding extra more information pages'

After doing all of this, our admin comes up with the following error

PHP Warning: require_once(includes/languages/english/header.php) [function.require-once]: failed to open stream: No such file or directory in D:\Domains\treasuresbycaz.com\www\admin\includes\languages\english.php on line 649 PHP Fatal error: require_once() [function.require]: Failed opening required 'includes/languages/english/header.php' (include_path='.;C:\php5\pear') in D:\Domains\treasuresbycaz.com\www\admin\includes\languages\english.php on line 649

We are not able to log in. We have retraced our steps & taken the mod files back out, but it still comes up with this error. We have checked the line 649, which is the following :

require_once(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . FILENAME_HEADER);

But can't seem to get our admin back.

Have looked at other posts, but none seem to be directed at what our PHP warning is.

Anyone had this?

Thanks:smartalec:

2 Feb 2009, 9:05 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Php error need advice?

Treasuresbycaz:

PHP Warning: require_once(includes/languages/english/header.php) [function.require-once]: failed to open stream: No such file or directory in D:\Domains\treasuresbycaz.com\www\admin\includes\

You have somehow deleted your /admin/includes/languages/english/header.php file ... which is why it's saying "no such file or directory" when trying to load it.

2 Feb 2009, 9:06 PM
#3
treasuresbycaz avatar

treasuresbycaz

New Zenner

Join Date:
Dec 2008
Posts:
33
Plugin Contributions:
0

Re: Php error need advice?

Hi,

Thanks, all sorted now. Was a broken piece of code.

8 Aug 2009, 6:03 PM
#4
ozzyozzy avatar

ozzyozzy

New Zenner

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

Re: Php error need advice?

Treasuresbycaz:

Hi,

Thanks, all sorted now. Was a broken piece of code.

Hi
I have exactly the same problem, what was your solution in then end please?