Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    400
    Plugin Contributions
    0

    Default fatal errors Failed opening required tpl_FILENAME_SUBSCRIBE_default.php

    PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/templates/tpl_FILENAME_SUBSCRIBE_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/******/public_html/******.com/********/includes/templates/template_default/common/tpl_main_page.php on line 122

    Can anyone tell me why I am getting fatal errors in my logs. Seems to be taking my site down at the same time. These are not files I have ever messed with.
    ZC v1.5 "I was so much older then...I'm younger than that now"

  2. #2
    Join Date
    Jan 2004
    Posts
    60,691
    Blog Entries
    4
    Plugin Contributions
    149

    Default Re: fatal errors Failed opening required tpl_FILENAME_SUBSCRIBE_default.php

    FILENAME_SUBSCRIBE would appear to be a constant which you've not defined, but which is being demanded by custom code you've added to one of the links on your site, perhaps a sidebox.

    So ... on your page you've got a link saying index.php?main_page=FILENAME_SUBSCRIBE
    ... and that means whatever you've done in your site's code to generate that link is expecting that the FILENAME_SUBSCRIBE constant is already defined in your PHP files.
    ... but it isn't defined, thus PHP simply substitutes the name of the constant in place of whatever defined value you would have normally given it.

    Basically it means you've added some sort of addon for doing some "subscribe" activity, and haven't actually installed/uploaded all the files for it. Or the reverse: you attempted to remove such an addon but didn't fully remove it, and left fragments which are triggering these errors. Simple rule is: always fully install or fully uninstall addons.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    400
    Plugin Contributions
    0

    Default Re: fatal errors Failed opening required tpl_FILENAME_SUBSCRIBE_default.php

    Great. Thanks......could that cause page load issues and 500 errors? I am not using the default template.

    Just went to the newsletter SUBSCRIBE plugin and it says will not work w v1.5
    Last edited by pixelpadre; 23 Feb 2013 at 01:36 PM.
    ZC v1.5 "I was so much older then...I'm younger than that now"

  4. #4
    Join Date
    Jan 2004
    Posts
    60,691
    Blog Entries
    4
    Plugin Contributions
    149

    Default Re: fatal errors Failed opening required tpl_FILENAME_SUBSCRIBE_default.php

    Quote Originally Posted by pixelpadre View Post
    Great. Thanks......could that cause page load issues and 500 errors? I am not using the default template.
    Well, errors in general can certainly cause such issues. So, yes.

    Quote Originally Posted by pixelpadre View Post
    Just went to the newsletter SUBSCRIBE plugin and it says will not work w v1.5
    Not surprised. Better to use the Mailchimp sidebox plugin and manage newsletter things with a 3rd party service whose expertise is specifically around newsletters. Also significantly helps reduce the risk of your own store's servers ever being blacklisted because of customer complaints about unwanted news emails.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.



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

    Default Re: fatal errors Failed opening required tpl_FILENAME_SUBSCRIBE_default.php

    guess i need to apologize to my host. LMAO (I'll never tell)
    ZC v1.5 "I was so much older then...I'm younger than that now"

 

 

Similar Threads

  1. Fatal Error: Failed opening required 'includes/application_top.php'
    By WeebleSue in forum Installing on a Linux/Unix Server
    Replies: 18
    Last Post: 24 Oct 2007, 03:38 AM
  2. Replies: 43
    Last Post: 25 Oct 2006, 12:04 PM
  3. Fatal error: main(): Failed opening required
    By MFP in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Oct 2006, 03:39 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
  •