Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007
    Location
    USA
    Posts
    889
    Plugin Contributions
    5

    Default MetaTags PHP not found - Fatal Error

    Well, it started out that all of a sudden I could not get into the admin- error 403. I checked chmods and did a restore od the site and still nothing.

    I called my host and they found something on their end.

    Now I am just left with:

    Fatal error: main(): Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/local/lib/php') in /home/folder/public_html/z-folder/admin/includes/languages/english.php on line 50

    line 50 is:
    require(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php');

    The file is there. Is there a page that I need to add a define line to or add the page to a list? It all worked yesterday.

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

    Default Re: MetaTags PHP not found - Fatal Error

    Quote Originally Posted by webskipper View Post
    Fatal error: main(): Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php'
    The definition for DIR_FS_CATALOG_LANGUAGES is what you're missing.

    It's normally defined via /admin/includes/configure.php ... so if that file's not readable or is incomplete, the problems you mention are to be expected.
    .

    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
    Nov 2007
    Location
    USA
    Posts
    889
    Plugin Contributions
    5

    Default Re: MetaTags PHP not found - Fatal Error

    That did it.

    Always listen to the Doctor.

 

 

Similar Threads

  1. v154 PHP Fatal error: Class 'QueryCache' not found
    By smarmyclothes in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 20 Sep 2015, 05:21 PM
  2. Help - PHP Fatal error: Class 'order' not found
    By Sevenhelmets in forum Managing Customers and Orders
    Replies: 3
    Last Post: 15 Jan 2011, 04:27 AM
  3. PHP Fatal error: Class 'queryFactoryResult' not found
    By timdwyer42 in forum General Questions
    Replies: 5
    Last Post: 5 Nov 2009, 11:48 PM
  4. PHP Fatal error: Class 'order' not found
    By 7and2suited in forum General Questions
    Replies: 3
    Last Post: 28 Apr 2009, 06:54 AM

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