Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default tpl_404_default.php Missing 1.5.0

    I am getting this error

    22-Apr-2012 03:18:04 UTC] PHP Warning: require(includes/templates/template_default/templates/tpl_404_default.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /includes/templates/abbiamo_supremo/common/tpl_main_page.php on line 126

    Do I just make up a tpl_404_default.php file?

  2. #2
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: tpl_404_default.php Missing 1.5.0

    or you can try uploading it again from the install files..
    Quote Originally Posted by milobloom View Post
    I am getting this error

    22-Apr-2012 03:18:04 UTC] PHP Warning: require(includes/templates/template_default/templates/tpl_404_default.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /includes/templates/abbiamo_supremo/common/tpl_main_page.php on line 126

    Do I just make up a tpl_404_default.php file?
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: tpl_404_default.php Missing 1.5.0

    The ONLY way it would ever look for the NON-EXISTENT tpl_404_default.php file is if your site was pointed to http://your_site.com/index.php?main_page=404

    And, since Zen Cart doesn't have a main_page=404 file, your post suggests to me that you're using a URL-rewriter that's malfunctioning and creating invalid redirects. Turn off your so-called SEO URL mod, and that problem will go away.
    .

    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.

  4. #4
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: tpl_404_default.php Missing 1.5.0

    We shall see..........

  5. #5
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: tpl_404_default.php Missing 1.5.0

    It appears you are correct.

 

 

Similar Threads

  1. Close php ?> missing from meta_tags.php
    By makenoiz in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 15 Oct 2012, 09:43 PM
  2. InfoPages.php missing
    By DigitalGuard in forum General Questions
    Replies: 2
    Last Post: 24 Mar 2010, 03:18 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR