Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2007
    Posts
    25
    Plugin Contributions
    0

    Default Page during Maintenance

    Hi,

    I am looking for an option to be able to put another page during the maintenance.
    I found "Down for Maintenance: filename", I write my name file and turn to "true" the maintenance.

    But it's not working.

    My file is a normal html page.

    Thanks in advance for your help.
    Greg

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Page during Maintenance

    Where did you copy your file?
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  3. #3
    Join Date
    Dec 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Page during Maintenance

    Hi,

    I put this file in root directory. it's named maintenance.html
    Greg

  4. #4
    Join Date
    Apr 2007
    Location
    San Antonio, TX
    Posts
    71
    Plugin Contributions
    0

    Default Re: Page during Maintenance

    The regular file is at includes/languages/english/down_for_maintenance.php

    Put it in that folder, and then in Configuration --> Website Maintenance --> Down for maintenance:Filename change that to yourfile name. Remember to not put in the .htm (or .html) extention... just the filename.

    Thats how I did mine at one time.
    Mark
    Store: www.texasdirectsales.com
    Main Website: www.texasemt.com

  5. #5
    Join Date
    Dec 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Page during Maintenance

    Hi,

    That is not working, and after I get an error in my home page.
    URL stay on index.php?main_page=maintenance
    Code:
    and the display in front page is :
     Home ::  Page Not Found
    Page Not Found
    
    Put your custom "page not found" message here. You can change this text in the Define Pages Editor located under Tools in the Admin.
    
    Custom 404 Error Page with Site Map Sample Text ...
    Even you refresh.
    Greg

  6. #6
    Join Date
    Jul 2007
    Location
    Trinity Alps
    Posts
    127
    Plugin Contributions
    0

    Default Re: Page during Maintenance

    Hi,
    I am using Zencart 1.3.8
    My Down For Maintenance page does not display.

    The file in includes/languages/english is:

    <?php
    define('NAVBAR_TITLE', 'Down for Maintenance');
    define('HEADING_TITLE', 'Down for Maintenance ...');
    define('DOWN_FOR_MAINTENANCE_TEXT_INFORMATION', 'The site is currently down for maintenance. Please excuse the dust, and try back later.');
    define('TEXT_MAINTENANCE_ON_AT_TIME', 'The Admin / Webmaster has enabled maintenance at : ');
    define('TEXT_MAINTENANCE_PERIOD', 'Maintenance period: ');
    define('DOWN_FOR_MAINTENANCE_STATUS_TEXT', 'To verify the site status ... Click here:');
    ?>

    The file in includes/templates/template_default/templates is:

    <?php
    /**
    * Page Template
    *
    * Loaded automatically by index.php?main_page=down_for_maintenance.<br />
    * When site is down for maintenance (and database is still active), this page is displayed to the customer
    *
    * @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_down_for_maintenance_default.php 2786 2006-01-05 01:52:38Z birdbrain $
    */
    ?>
    <!-- body_text //-->
    <div class="centerColumn" id="maintenanceDefault">

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

    <div class="forward"><?php echo zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_DOWN_FOR_MAINTENANCE, OTHER_DOWN_FOR_MAINTENANCE_ALT); ?></div>

    <h2 id="maintenanceDefaultMainContent"><?php echo DOWN_FOR_MAINTENANCE_TEXT_INFORMATION; ?></h2>

    <?php if (DISPLAY_MAINTENANCE_TIME == 'true') { ?>
    <h3 id="maintenanceDefaultTime"><?php echo TEXT_MAINTENANCE_ON_AT_TIME . '<br />' . TEXT_DATE_TIME; ?></h3>
    <?php } ?>
    <?php if (DISPLAY_MAINTENANCE_PERIOD == 'true') { ?>
    <h3 id="maintenanceDefaultPeriod"><?php echo TEXT_MAINTENANCE_PERIOD . TEXT_MAINTENANCE_PERIOD_TIME; ?></h3>
    <?php } ?>
    <br class="clearBoth" />

    <div class="buttonRow forward"><?php echo DOWN_FOR_MAINTENANCE_STATUS_TEXT; ?></div>
    <br class="clearBoth" />
    <div class="buttonRow forward"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT); ?></a></div>
    <br class="clearBoth" />
    <!-- body_text_eof //-->
    </div>

    I notices there is no closing php tag and there were 2 extra empty lines below the </div>

    I also found empty extra lines on 4 other files in ZenCart 1.3.8.

    The Down For Maintenance worked for about 15 min. then when I clicked the button "Click to Confirm" I totally lost the page and there is not any html written on the page. The View Source is totally blank.

    Plus If I hit the "Home" button at the top, it results in a blank page. The only way to get the page back is thru admin.

    Is there another file to search out?

    Thanks
    John

 

 

Similar Threads

  1. v154 Maintenance page
    By kalastaja in forum Basic Configuration
    Replies: 6
    Last Post: 2 Jan 2015, 06:56 PM
  2. about maintenance vs contact-us page?
    By vzxvzx in forum General Questions
    Replies: 4
    Last Post: 26 May 2010, 05:55 AM
  3. Scheduled Maintenance: Site Down for Maintenance?
    By uruharacosplay in forum General Questions
    Replies: 2
    Last Post: 31 Dec 2007, 02:51 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