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



