Turned off page2, don't know how to get it back!
Me again
:oops:
I turned off page2, 3 & 4 sometime ago & can't remember how I did it! :bangin: 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:
Quote:
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:
Quote:
<?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!) :down:
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?
Re: Turned off page2, don't know how to get it back!
yes to all of the above
this is it:
Quote:
<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>
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?
Re: Turned off page2, don't know how to get it back!
Quote:
What values doe you have for FILENAME_PAGE_2 in your includes/filenames.php
define('FILENAME_PAGE_2', 'page_2');
Quote:
BOX_INFORMATION_PAGE_2 in your includes/languages/blue_shade/english.php files.
define('BOX_INFORMATION_PAGE_2', 'Page 2');
Quote:
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)
Quote:
what version of Zen Cart are you using?
version 1.3.0
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.
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
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
Re: Turned off page2, don't know how to get it back!
Thank you, Clyde -- that was it exactly!
Re: Turned off page2, don't know how to get it back!