Grrr
After putting a work around in place for this problem, another has reared it's head.
Now I'm getting the exact same problem with the Checkout Success page. Here's the error log:
[22-Feb-2011 22:46:58] PHP Warning: require() [<a href='function.require'>function.require</a>]: Filename cannot be empty in /home/tuff/public_html/includes/templates/template_default/templates/tpl_checkout_success_default.php on line 37
[22-Feb-2011 22:46:58] PHP Warning: require() [<a href='function.require'>function.require</a>]: Filename cannot be empty in /home/tuff/public_html/includes/templates/template_default/templates/tpl_checkout_success_default.php on line 37
[22-Feb-2011 22:46:58] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tuff/public_html/includes/templates/template_default/templates/tpl_checkout_success_default.php on line 37
and the area around line 37 of tpl_checkout_success_default.php:
<h1 id="checkoutSuccessHeading"><?php echo HEADING_TITLE; ?></h1>
<div id="checkoutSuccessOrderNumber"><?php echo TEXT_YOUR_ORDER_NUMBER . $zv_orders_id; ?></div>
<?php if (DEFINE_CHECKOUT_SUCCESS_STATUS >= 1 and DEFINE_CHECKOUT_SUCCESS_STATUS <= 2) { ?>
<div id="checkoutSuccessMainContent" class="content">
<?php
/**
* require the html_defined text for checkout success
*/
require($define_page);
?>
</div>
<?php } ?>
<!-- bof payment-method-alerts -->
<?php
if (isset($_SESSION['payment_method_messages']) && $_SESSION['payment_method_messages'] != '') {
?>
<div class="content">
<?php echo $_SESSION['payment_method_messages']; ?>
</div>
<?php
}
?>
I'm absolutely stumped on this one. I have tried both replacing tpl_checkout_success_default.php with a fresh copy from 1.3.9h and even a copy from 1.3.9d (which Iupgraded from just before all this started happening.
Could REALLY use some help here guys
cheers.