Forums / Upgrading to 1.5.x / tpl_404_default.php Missing 1.5.0

tpl_404_default.php Missing 1.5.0

Started by milobloom on 23 Apr 2012, 8:24 PM · Views: 1,200

Results 1 to 5 of 5
23 Apr 2012, 8:24 PM
#1
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

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?

24 Apr 2012, 6:45 PM
#2
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: tpl_404_default.php Missing 1.5.0

or you can try uploading it again from the install files..> milobloom:

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.

24 Apr 2012, 7:04 PM
#3
drbyte avatar

drbyte

Sensei

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

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.

6 Mar 2013, 9:39 PM
#4
pixelpadre avatar

pixelpadre

Suspended

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

Re: tpl_404_default.php Missing 1.5.0

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

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!

7 Mar 2013, 2:03 PM
#5
pixelpadre avatar

pixelpadre

Suspended

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

Re: tpl_404_default.php Missing 1.5.0

It appears you are correct.

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!