Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / added page showing incorrectly

added page showing incorrectly

Locked

Views: 1,523

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
26 Jul 2006, 2:06 AM
#1
sherolc avatar

sherolc

New Zenner

Join Date:
Jul 2006
Posts:
24
Plugin Contributions:
0

added page showing incorrectly

I have ver. 1.2.5. Still new and trying to get a working site. Have read about upgrading and just not ready for it yet. I dug up some info about adding pages. Have modified:
includes/languages/english
html_includes
includes/modules/pages
includes/templates/template_default/templates
includes/modules/sideboxes/more_information.php
includes/languages/english.php

The added page [5] does show in the More Info box... but it shows the contents of the home page. In Admin/tools this page shows [with the info I want displayed] but it does not show in Admin/config/define page status. What happened? What did I miss or how do I correct this.
Site is https://www.sherolyn.com

26 Jul 2006, 3:17 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: added page showing incorrectly

That version is so old and buggy ... I would really recommend you upgrade to at least v1.2.7 if not v1.3.0.2 ...

Note: frames are not the best thing when it comes to search engines ...

26 Jul 2006, 4:37 PM
#3
sherolc avatar

sherolc

New Zenner

Join Date:
Jul 2006
Posts:
24
Plugin Contributions:
0

Re: added page showing incorrectly

I've looked at the source for the page that is not showing correctly and I have:

<meta name="generator" content="shopping cart program by Zen Cart™, http://www.zen-cart.com" /> <base href="http://www.sherolyn.com/zencart/" /> <link rel="stylesheet" type="text/css" href="includes/templates/MyTemplate/css/stylesheet.css" /></head>

body id="index">

<table class="centershop" border="0" cellspacing="0" cellpadding="0">
  <tr><td>

This should be showing page5 instead of index. How do I change that reference? Where does it pull that info from? :blink:

27 Jul 2006, 7:47 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: added page showing incorrectly

if it's going to "index" instead of "page_5" ... then you're missing the includes/modules/pages/page_5/header_php.php file

Go to Admin->Configuration->My Store->Missing Page Check ... and turn it off. This will show you more detailed errors

27 Jul 2006, 10:30 PM
#5
sherolc avatar

sherolc

New Zenner

Join Date:
Jul 2006
Posts:
24
Plugin Contributions:
0

Re: added page showing incorrectly

This is what I got when I turned that off...

Warning: main(includes/templates/template_default/templates/tpl_FILENAME_PAGE_5_default.php): failed to open stream: No such file or directory in /usr/local/4admin/apache/vhosts/sherolyn.com/httpdocs/zencart/includes/templates/template_default/common/tpl_main_page.php on line 74

Warning: main(includes/templates/template_default/templates/tpl_FILENAME_PAGE_5_default.php): failed to open stream: No such file or directory in /usr/local/4admin/apache/vhosts/sherolyn.com/httpdocs/zencart/includes/templates/template_default/common/tpl_main_page.php on line 74

Warning: main(includes/templates/template_default/templates/tpl_FILENAME_PAGE_5_default.php): failed to open stream: No such file or directory in /usr/local/4admin/apache/vhosts/sherolyn.com/httpdocs/zencart/includes/templates/template_default/common/tpl_main_page.php on line 74

Fatal error: main(): Failed opening required 'includes/templates/template_default/templates/tpl_FILENAME_PAGE_5_default.php' (include_path='.:/usr/local/4admin/apache/lib/php') in /usr/local/4admin/apache/vhosts/sherolyn.com/httpdocs/zencart/includes/templates/template_default/common/tpl_main_page.php on line 74

Not really sure what I'm to be looking for in that file.. and what needs to be changed. Any suggestions?? I checked that module/pages/page_5/header_php.php and I do have it. I just copied the page 4 to get it and changed it to say 5 where there was a 4. All the page header_php files seem to be identical except for the page info.

28 Jul 2006, 12:01 AM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,617
Plugin Contributions:
0

Re: added page showing incorrectly

Have you added it to your includes/filesnames.php?

28 Jul 2006, 1:20 AM
#7
sherolc avatar

sherolc

New Zenner

Join Date:
Jul 2006
Posts:
24
Plugin Contributions:
0

Re: added page showing incorrectly

No... :bored:
added and could just hug you!! Thanks, that did it. :lol: