Forums / General Questions / fatal errors Failed opening required tpl_FILENAME_SUBSCRIBE_default.php

fatal errors Failed opening required tpl_FILENAME_SUBSCRIBE_default.php

Views: 1,245

Results 1 to 5 of 5
23 Feb 2013, 1:51 AM
#1
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

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.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

23 Feb 2013, 2:33 AM
#2
drbyte avatar

drbyte

Sensei

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

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!
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.

23 Feb 2013, 12:33 PM
#3
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

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

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

23 Feb 2013, 9:33 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: fatal errors Failed opening required tpl_FILENAME_SUBSCRIBE_default.php

pixelpadre:

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.

pixelpadre:

Just went to the newsletter SUBSCRIBE plugin and it says will not work w v1.5Not 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!
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.

23 Feb 2013, 10:52 PM
#5
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

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.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!