Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2006
    Location
    South Africa
    Posts
    31
    Plugin Contributions
    0

    Default Turned off page2, don't know how to get it back!

    Me again



    I turned off page2, 3 & 4 sometime ago & can't remember how I did it! Now I want to turn page2 on again. So I went to admin --> define page status --> the only problem is that it IS already turned on. (but it doesn't show in information sidebox)

    So, I checked the sitemap, and it does show page2 on there, but when u click it, this message appears:

    Warning: main(includes/languages/english/html_includes/blue_shade/): failed to open stream: No such file or directory in /home/cedarza/public_html/shop/includes/templates/template_default/templates/tpl_page_2_default.php on line 21
    So I went to specified file, but I don't know what to do with it! This is it:

    <?php
    /**
    * tpl_page_2_default.php
    *
    * @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_2_default.php 3254 2006-03-25 17:34:04Z ajeh $
    */
    ?>
    <div class="centerColumn" id="pageTwo">
    <h1 id="pageTwoHeading"><?php echo HEADING_TITLE; ?></h1>

    <?php if (DEFINE_PAGE_2_STATUS >= '1' and DEFINE_PAGE_2_STATUS <= '2') { ?>
    <div id="pageTwoMainContent" class="content">
    <?php
    /**
    * load the html_define for the page_2 default
    */
    require($define_page);
    ?>
    </div>
    <?php } ?>

    <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
    </div>
    (Line 21 is the one that says: require($define_page);

    Please... can someone help! (I feel reeeeaaaally stupid, seeing as I should have written down what I did, but that was in the very beginning... sorry!)

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Turned off page2, don't know how to get it back!

    Is blue_shade is the name of your template directory?

    If so, does the directory includes/languages/english/html_includes/blue_shade/ exist?

    If yes, does it contain a file named define_page_2.php?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jun 2006
    Location
    South Africa
    Posts
    31
    Plugin Contributions
    0

    Default Re: Turned off page2, don't know how to get it back!

    yes to all of the above

    this is it:
    <p><strong>Page 2 Sample Text ...</strong></p>
    <p>This section of text is from the Define Pages Editor located under Tools in the Admin.</p>
    <p>To remove this section of the text, delete it from the Define Pages Editor.</p>

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Turned off page2, don't know how to get it back!

    What values doe you have for FILENAME_PAGE_2 in your includes/filenames.php and BOX_INFORMATION_PAGE_2 in your includes/languages/blue_shade/english.php files.

    Also to what value is your Admin > Configuration > Define Page Settings (there is a range 0-3).

    Finally, what version of Zen Cart are you using?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Jun 2006
    Location
    South Africa
    Posts
    31
    Plugin Contributions
    0

    Default Re: Turned off page2, don't know how to get it back!

    What values doe you have for FILENAME_PAGE_2 in your includes/filenames.php
    define('FILENAME_PAGE_2', 'page_2');

    BOX_INFORMATION_PAGE_2 in your includes/languages/blue_shade/english.php files.
    define('BOX_INFORMATION_PAGE_2', 'Page 2');

    what value is your Admin > Configuration > Define Page Settings (there is a range 0-3)
    value is set to 1 (1= Link ON, Define Text ON)

    what version of Zen Cart are you using?
    version 1.3.0

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Turned off page2, don't know how to get it back!

    All your parameters appear to be set correctly and your files are in place. However you are not running the latest version of Zen Cart (i.e. 1.3.0.2) and there was an update to the tpl_page_2_default.php etc files in version 1.3.0.1.

    Although the change was fairly minor, the old code may have caused problems for people with particular settings in their php environment. Rather than get into this in detail (it's not area where I would claim any expertise anyway), it would be better to upgrade to the latest version of Zen Cart, which fixes a fair few other bugs alone the way, and then see if the problem is still there.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Mar 2006
    Location
    San Francisco, CA
    Posts
    45
    Plugin Contributions
    0

    Default Re: Turned off page2, don't know how to get it back!

    I'm having the same problem.

    I turned off page 2 but now I want to turn it on and name it "Customer Accolades."

    So I went to Admin/Configuration/Define Page Status and gave Define Page 2 a value of 1 (Link On; Define Text On).

    Then I went to Admin/Tools/Define Pages Editor and selected a file to edit, Define Page 2 with the Text Editor set to HTMLarea.

    I have added my new text and saved it to my template_custom.
    /www/catalog/includes/languages/english/html_includes/template_custom/define_page_2.php

    It appears to be saved because whenever I go back into the document from the Define Pages Editor I see all my changes within the document.

    Unfortunately, when I check my site the Page 2 link isn't there. What else do I need to turn on (that I forgot I turned off previously) to get this to work?

    Here's a link to the site:
    Holy Mountain Trading Company

  8. #8
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Turned off page2, don't know how to get it back!

    The page link is located in the "more Info sidebox"

    turn it on in admin -> tools -> layout boxes controller

  9. #9
    Join Date
    Mar 2006
    Location
    San Francisco, CA
    Posts
    45
    Plugin Contributions
    0

    Default Re: Turned off page2, don't know how to get it back!

    Thank you, Clyde -- that was it exactly!

  10. #10
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Turned off page2, don't know how to get it back!

    Glad to help.

 

 

Similar Threads

  1. v155 If I take a Admin off my Zin Cart, how do they get back in?
    By floridaguy4 in forum General Questions
    Replies: 3
    Last Post: 3 Jun 2016, 03:33 AM
  2. v154 Links ON ez-pages TO OTHER turned-off ez-pages don't work after upgrade
    By anduril3019 in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 19 May 2015, 09:12 AM
  3. Replies: 1
    Last Post: 5 Jan 2011, 07:34 PM
  4. Column Boxes, onces turned off cannot be turned on
    By nibblebot in forum Basic Configuration
    Replies: 1
    Last Post: 17 Jun 2009, 07:23 AM
  5. There's no product description and i dont know to get it back
    By TheBuz in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 28 Apr 2009, 06:58 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR