Zen Cart Logo
Forums / Managing Customers and Orders / Order nos duplicated

Order nos duplicated

Views: 937

Results 1 to 5 of 5
3 May 2011, 12:50 PM
#1
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Order nos duplicated

https://www.ulster-scot.com using ZenCart V1.3.9b

This morning I received an email from a customer stating she had placed an order mid April which had not arrived and when she went in to her account on the site it stated she had NO ORDERS.

I too could not see any trace of her order either on the Control Panel but saw her there as an account holder OK.

On checking the emails from the system I find she had Order No. 31 on 16th April followed by another customer ordering on the same date and being given order number 32.

BOTH THESE ORDERS HAVE VANISHED.

On 19th April a new order came in from a different customer and this was given Order Number 31 and processed OK. Then on 21st April another order came in from yet another customer and was given order number 32.

On 22nd April an order came in and was given order number 33 and everything seems OK since then.

Why have orders 31 and 32 been duplicated and the original orders with these numbers vanished ?

3 May 2011, 1:04 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Order nos duplicated

Have you checked for any errors in this folder and report back with them..> root directory/ cache

3 May 2011, 1:27 PM
#3
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Re: Order nos duplicated

[29-Apr-2011 21:21:46] PHP Warning: require(includes/templates/template_default/templates/tpl_contest_default.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/irishisb/public_html/includes/templates/ZCT Sports 03/common/tpl_main_page.php on line 203
[29-Apr-2011 21:21:46] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/templates/tpl_contest_default.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home2/irishisb/public_html/includes/templates/ZCT Sports 03/common/tpl_main_page.php on line 203

HERE IS FILE

<?php /** * Common Template - tpl_main_page.php * * Governs the overall layout of an entire page<br /> * Normally consisting of a header, left side column. center column. right side column and footer<br /> * For customizing, this file can be copied to /templates/your_template_dir/pagename<br /> * example: to override the privacy page<br /> * - make a directory /templates/my_template/privacy<br /> * - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php<br /> * <br /> * to override the global settings and turn off columns un-comment the lines below for the correct column to turn off<br /> * to turn off the header and/or footer uncomment the lines below<br /> * Note: header can be disabled in the tpl_header.php<br /> * Note: footer can be disabled in the tpl_footer.php<br /> * <br /> * $flag_disable_header = true;<br /> * $flag_disable_left = true;<br /> * $flag_disable_right = true;<br /> * $flag_disable_footer = true;<br /> * <br /> * // example to not display right column on main page when Always Show Categories is OFF<br /> * <br /> * if ($current_page_base == 'index' and $cPath == '') {<br /> * $flag_disable_right = true;<br /> * }<br /> * <br /> * example to not display right column on main page when Always Show Categories is ON and set to categories_id 3<br /> * <br /> * if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {<br /> * $flag_disable_right = true;<br /> * }<br /> * * @package templateSystem * @copyright Copyright 2003-2006 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_main_page.php 3856 2006-06-29 02:26:33Z drbyte $ */ // the following IF statement can be duplicated/modified as needed to set additional flags if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) { $flag_disable_right = true; } $header_template = 'tpl_header.php'; $footer_template = 'tpl_footer.php'; $left_column_file = 'column_left.php'; $right_column_file = 'column_right.php'; $body_id = str_replace('_', '', $_GET['main_page']); ?> <style type="text/css"> <!-- .style6 {color: #FFFFFF; font-weight: bold; } .style7 {color: #ffffff} .style8 {color: #000000; font-weight: bold; } body,td,th { font-family: Tahoma; font-size: 12px; } .style10 {color: #2F2420; font-weight: bold; } --> </style> <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <th width="100%" height="32" bgcolor="#008000"><table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="38%"><span class="style7"> <div align="left"><?php echo BOX_HEADING_CURRENCIES ?>:<span class="style10"> <?php require(DIR_WS_TEMPLATE .('modules/currencies.php')); ?> </span></div></td> <td width="28%" class="txt_content"><div align="center" class="style7"><font size="+2">www.irishshopper.com</font></div></td> <td width="34%"><div align="right" class="style7"> <div align="right"><a href="mailto:[email protected]"><font color="white">Email Us</font></a></div> </div></td> </tr> </table></th> </tr> </table> <table width="100%" height="200" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="41" bgcolor="#ffffff"><div align="center"><br> <img src="<? echo DIR_WS_TEMPLATE; ?>images/logo.jpg" alt="Logo" width="1004" height="328" border="0" usemap="#MapMapMap2MapMapMapMapMap" /> <map name="MapMapMap2MapMapMapMapMap" id="Map2322222"> <area shape="rect" coords="382,41,552,106" href="index.php" /> <area shape="rect" coords="545,2,629,32" href="index.php?main_page=login" /> <area shape="rect" coords="312,1,361,32" href="index.php" /> <area shape="rect" coords="451,1,547,32" href="index.php?main_page=shopping_cart" /> <area shape="rect" coords="627,0,691,31" href="index.php?main_page=contact_us" /> <area shape="rect" coords="361,2,452,32" href="index.php?main_page=products_new" /> </map> </div></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="150" valign="top" bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#ffffff"> <div align="left"> <?php require(DIR_WS_TEMPLATE .('modules/column_left.php')); ?> </div></td></tr> </table></td> <td width="726" valign="top" bgcolor="#ffffff"><table width="99%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="95%" bgcolor="#ffffff" > <div align="left"> <?php if (DEFINE_BREADCRUMB_STATUS == '1') { ?> <?php } ?> <!-- eof breadcrumb --> <?php

if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {

if ($banner->RecordCount() > 0) {

?>
</div>
<div id="bannerThree" class="banners">
<div align="left"><?php echo zen_display_banner('static', $banner); ?></div>
</div>

        <div align="left">
          <?php

}

}

?>
<!-- bof upload alerts -->
<?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?>
<!-- eof upload alerts -->
<?php

/**

  • prepares and displays center column

*/

require($body_code); ?>
<?php

if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {

if ($banner->RecordCount() > 0) {

?>
</div>
<div id="bannerFour" class="banners">
<div align="left"><?php echo zen_display_banner('static', $banner); ?></div>
</div>

        <div align="left">
          <?php

}

}

?>
<br>
<br>
</div></td></tr>
</table></td>
<?php

if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {

// global disable of column_right

$flag_disable_right = true;

}

if (!isset($flag_disable_right) || !$flag_disable_right) {

?>
<td width="150" valign="top" bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#ffffff"><div align="center">
<?php require(DIR_WS_TEMPLATE .('modules/column_right.php')); ?>
</div></td>
</tr>
</table></td>
<?php

}

?>

</tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="40%" bgcolor="#008000" class="txt_content06"><a href="index.php?main_page=shippinginfo"> <?php echo BOX_INFORMATION_SHIPPING ?></a> | <a href="index.php?main_page=privacy"><?php echo BOX_INFORMATION_PRIVACY ?></a> | <a href="index.php?main_page=conditions"><?php echo BOX_INFORMATION_CONDITIONS ?></a> | <a href="index.php?main_page=contact_us"><?php echo BOX_INFORMATION_CONTACT ?></a> | <a href="index.php?main_page=logoff">Logoff</a></td> <td width="40%" bgcolor="#008000" class="txt_content06">     © Copyright Irish Shopper Ltd. 2010 - 2011</td> <td width="20%" bgcolor="#008000"><div align="right" class="txt_content06"> <div align="right"><a href="http://www.irishshopper.com" target="_blank"><img src="<? echo DIR_WS_TEMPLATE; ?>images/visa.jpg" alt="Irish Shopper Visa Logo" border="0" /></a></div> </div></td> </div></td> </tr> </table></td></tr> </table> </body>
3 May 2011, 1:44 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Order nos duplicated

Have you installed a module that requires this tpl_contest_default.php file??????

3 May 2011, 2:10 PM
#5
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Re: Order nos duplicated

Yes there was a Contest Prize Draw add on added