Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    34
    Plugin Contributions
    0

    bug 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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Php error need advice?

    Quote Originally Posted by Treasuresbycaz View Post
    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.
    .

    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.

  3. #3
    Join Date
    Dec 2008
    Posts
    34
    Plugin Contributions
    0

    Default Re: Php error need advice?

    Hi,

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

  4. #4
    Join Date
    Apr 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Php error need advice?

    Quote Originally Posted by Treasuresbycaz View Post
    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?

 

 

Similar Threads

  1. Server Error 500 - Need Advice/Help
    By mrssocolov in forum General Questions
    Replies: 6
    Last Post: 3 Dec 2010, 04:39 AM
  2. need php code advice
    By finlander in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Nov 2010, 08:13 AM
  3. Need Advice on Php Version
    By rwoody in forum Installing on a Linux/Unix Server
    Replies: 23
    Last Post: 23 Mar 2010, 11:21 AM
  4. need advice on Live Help, PHP Live etc., please...
    By Kruna in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 5 Jan 2009, 11:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg