Thank you DrByte, I really appreciate the very prompt reply
I had read previous postings about these files before starting this thread. I was actually hoping to get some guidance on where to look for correcting this error.
Being an old stubborn donkey and not accepting defeat, I played around and came to a solution which seems to work: I deleted everything from line 27 to the end of the file and here is what it's left of it:
PHP Code:
<?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>
<?php if (DEFINE_PAGE_NOT_FOUND_STATUS == '1') { ?>
<div id="pageNotFoundMainContent" class="content">
<?php
/**
* require the html_define for the page_not_found page
*/
require($define_page); ?>
</div>
<?php } ?>
I repeatedly triggered my custom "Page not found" in English and Greek and it is rendered correctly without log files being produced. I'm quite happy now.
I know that it's not correct to change core files, but I keep a list of those I have edited and will find my way around when there is a new release.
Just a last question please: some php files have an intended blank line at the end. I don't know the reason, but should I insert a blank line at the end of the tpl_page_not_found_default.php after my changes?
Thanks again and have a nice day.
Bookmarks