Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    May 2005
    Location
    Oakland, CA
    Posts
    39
    Plugin Contributions
    0

    Default 404 define not showing on site

    Hello,

    I am running Zen Cart 1.3.6 on an Apache server. I have SEO URLs in stalled and a custom template. The site is a showcase only.

    Didn't see anything in the forum on this so I decided to post a question. I don't see the text from the define for define_page_not_found when I get a 404 error.

    Here is a link to try for an example:
    http://www.opentrees.com/camping-gea...fuel-chart.htm

    Any suggestions would help. I'm at a dead end.

    Thank you...

  2. #2
    Join Date
    May 2005
    Location
    Oakland, CA
    Posts
    39
    Plugin Contributions
    0

    Default Re: 404 define not showing on site

    My tpl_page_not_found.php looks like this:

    <?php
    /**
    * Page Template
    *
    * Displays page-not-found message and site-map (if configured)
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_page_not_found_default.php 3230 2006-03-20 23:21:29Z drbyte $
    */
    ?>
    <div class="centerColumn" id="pageNotFound">

    <h1 id="pageNotFoundHeading"><?php echo HEADING_TITLE; ?></h1>

    <div id="siteMapMainContent" class="content">
    <p><strong>Sorry you are having trouble, to find something on this site please use the links below.</strong></p>

    <p>If you are having difficulty locating something on Opentrees, please visit the <a href="http://www.opentrees.com/contact_us.htm">Contact Us </a> page and let me know! </p></div>

    <?php if (DEFINE_PAGE_NOT_FOUND_STATUS >= 1 and DEFINE_PAGE_NOT_FOUND_STATUS <= 2) { ?>
    <div id="pageNotFoundMainContent" class="content">

    <?php
    /**
    * require the html_define for the site_map page
    */
    require($define_page);
    ?>
    </div>

    <?php } ?>

    <div id="siteMapList" class="content"><?php echo $zen_SiteMapTree->buildTree(); ?>
    <ul>
    <?php if (SHOW_ACCOUNT_LINKS_ON_SITE_MAP=='Yes') { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . PAGE_ACCOUNT . '</a>'; ?>
    <ul>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_ACCOUNT_EDIT, '', 'SSL') . '">' . PAGE_ACCOUNT_EDIT . '</a>'; ?></li>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL') . '">' . PAGE_ADDRESS_BOOK . '</a>'; ?></li>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') . '">' . PAGE_ACCOUNT_HISTORY . '</a>'; ?></li>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL') . '">' . PAGE_ACCOUNT_NOTIFICATIONS . '</a>'; ?></li>
    </ul></li>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_SHOPPING_CART) . '">' . PAGE_SHOPPING_CART . '</a>'; ?></li>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . PAGE_CHECKOUT_SHIPPING . '</a>'; ?></li>
    <?php } //endif ?>
    <!-- <li><?php echo '<a href="' . zen_href_link(FILENAME_ADVANCED_SEARCH) . '">' . PAGE_ADVANCED_SEARCH . '</a>'; ?></li>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCTS_NEW) . '">' . PAGE_PRODUCTS_NEW . '</a>'; ?></li>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_SPECIALS) . '">' . PAGE_SPECIALS . '</a>'; ?></li>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_REVIEWS) . '">' . PAGE_REVIEWS . '</a>'; ?></li> -->
    <li><?php echo '<font class="bold" color=#006600>' . BOX_HEADING_INFORMATION . '</font>'; ?>
    <ul>
    <?php if (DEFINE_SHIPPINGINFO_STATUS <= 1) { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>'; ?></li>
    <?php } ?>
    <?php if (DEFINE_PRIVACY_STATUS <= 1) { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>'; ?></li>
    <?php } ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a>'; ?></li>
    <?php if (DEFINE_CONTACT_US_STATUS <= 1) { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?></li>
    <?php } ?>
    <?php if (DEFINE_CONDITIONS_STATUS <= 1) { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>'; ?></li>
    <?php } ?>
    </ul>
    <br>
    <li><?php echo '<font class="bold" color=#006600>' . BOX_HEADING_MORE_INFORMATION . '</font>'; ?>
    <ul>
    <?php if ( (isset($phpBB->phpBB['db_installed_config']) && $phpBB->phpBB['db_installed_config']) && (isset($phpBB->phpBB['files_installed']) && $phpBB->phpBB['files_installed']) && (PHPBB_LINKS_ENABLED=='true')) { ?>
    <li><?php echo '<a href="' . zen_href_link($phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX, '', 'NONSSL', '', '', true, false) . '" target="_blank">' . BOX_BBINDEX . '</a>'; ?></li>
    <?php } ?>
    <?php if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>'; ?></li>
    <?php } ?>
    <?php if (MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_DISCOUNT_COUPON) . '">' . BOX_INFORMATION_DISCOUNT_COUPONS . '</a>'; ?></li>
    <?php } ?>
    <?php if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_UNSUBSCRIBE) . '">' . BOX_INFORMATION_UNSUBSCRIBE . '</a>'; ?></li>
    <?php } ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_CAMPING_TIPS) . '">' . BOX_INFORMATION_CAMPING_TIPS . '</a>'; ?></li>
    <?php if (DEFINE_PAGE_2_STATUS <= 1) { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>'; ?></li>
    <?php } ?>
    <?php if (DEFINE_PAGE_3_STATUS <= 1) { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_PAGE_3) . '">' . BOX_INFORMATION_PAGE_3 . '</a>'; ?></li>
    <?php } ?>
    <?php if (DEFINE_PAGE_4_STATUS <= 1) { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_PAGE_4) . '">' . BOX_INFORMATION_PAGE_4 . '</a>'; ?></li>
    <?php } ?>
    </ul></li>
    <br>
    </ul>
    </div>
    <div class="section-bottom"/></div>
    <br class="clearBoth" />
    <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
    </div>

    It has the code for requiring the devine page, i.e. require($define_page);, however the text from the define page does not show up. I had to hardcode the text into the default template page.

    Are there other files or pages that I am missing? My site map works. The other pages that I added work. This is the only page that won't work. arg...
    Last edited by opentrees; 7 Apr 2007 at 05:14 AM.

  3. #3
    Join Date
    May 2005
    Location
    Oakland, CA
    Posts
    39
    Plugin Contributions
    0

    Default Re: 404 define not showing on site

    Still looking for some guidance. I tried a few things today but didn't get anywhere. I can usually figure things out on my own and don't post many questions here, but this one has me stumped.

    Any help at all would be wonderful! (should I take a hint from the silence?)

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: 404 define not showing on site

    Turn off the SEO stuff ...

    What is that URL when not messed up?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    May 2005
    Location
    Oakland, CA
    Posts
    39
    Plugin Contributions
    0

    Default Re: 404 define not showing on site

    Hello Ajeh,

    That URL is nothing. It is left over from my previous static HTML pages and currently has not been ported over to my Zencart version.

    All of my other pages work with that SEO stuff turned on. Is the 404 page different? It sure looks different in the header and other files.

    GBFN

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: 404 define not showing on site

    Before trying to get things to work with SEO stuff ... it is best to get them to work as they were designed ...

    Somewhere you have a bad, missing or corrupt file or files ...

    While trying to figure out the problem ... turn off a possible cause or mask of the problem and turn off the SEO stuff ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    May 2005
    Location
    Oakland, CA
    Posts
    39
    Plugin Contributions
    0

    Default Re: 404 define not showing on site

    I disabled the SEO stuff in the admin but the define page still has no effect on the page that is shown on a 404 error.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: 404 define not showing on site

    Do you have a copy of all files that are in:
    /includes/languages/english/html_includes

    In your templates and overrides directory:
    /includes/languages/english/html_includes/future_zen

    And are they all set to 777 so that they can be edited in the Tools ... Define Page Editor ...

    When you look at the Tools ... Define Page Editor ... and pick:
    define_conditions.php

    What happens?

    Or, does just trying to get to the Define Page Editor croak?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    May 2005
    Location
    Oakland, CA
    Posts
    39
    Plugin Contributions
    0

    Default Re: 404 define not showing on site

    Ajeh said:
    "Do you have a copy of all files that are in:
    /includes/languages/english/html_includes

    In your templates and overrides directory:
    /includes/languages/english/html_includes/future_zen"

    Yes.

    I can edit all of them in the define pages editor, edits show up on rendered pages for all of the pages in the define pages editor except for page_not_found.

    The define pages editor has full functionality.

  10. #10
    Join Date
    May 2005
    Location
    Oakland, CA
    Posts
    39
    Plugin Contributions
    0

    Default Re: 404 define not showing on site

    Quote Originally Posted by Ajeh View Post
    And are they all set to 777 so that they can be edited in the Tools ... Define Page Editor ...

    When you look at the Tools ... Define Page Editor ... and pick:
    define_conditions.php

    What happens?

    Or, does just trying to get to the Define Page Editor croak?
    Looking back at your questions I didn't answer them all:

    I have checkedall the files in /includes/languages/english/html_includes/future_zen
    and they are set to 777.

    When I lookat Tools ... Define Page Editor ... and pick: devine_conditions.php I see my verbage for that page in the devine page window.

    The Define Page Editor does not croak. :)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 text not showing on define pages
    By satijn in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Apr 2012, 12:44 AM
  2. define pages not showing formatting
    By Andi98640 in forum General Questions
    Replies: 1
    Last Post: 18 Dec 2010, 06:30 AM
  3. New define page not showing up on my store
    By wildfashions in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 19 Aug 2008, 04:45 AM
  4. How to get rid of the site map on the "Define Pages" 404 page not found?
    By karma-lab in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Jun 2008, 04:50 AM
  5. [DONE] Contact Us define text not showing
    By besheer in forum Bug Reports
    Replies: 3
    Last Post: 22 May 2006, 06:10 AM

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