Forums / Bug Reports / [Done 1.3.0.1] Order history error

[Done 1.3.0.1] Order history error

Locked

Views: 1,553

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
2 Aug 2006, 7:27 PM
#1
ivanl avatar

ivanl

New Zenner

Join Date:
Aug 2005
Posts:
2
Plugin Contributions:
0

[Done 1.3.0.1] Order history error

**
Hi every one !

I got this error:
**


Parse error: parse error in c:\program files\easyphp1-8\home\fonex\includes\templates\template_default\sideboxes\tpl_order_history.php

on line 13

for the order history sidebox

<?php /** * Side Box Template * * @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_order_history.php 2975 2006-02-05 19:33:51Z birdbrain $ */ $content = ""; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n" $content = '<ul class="orderHistList">' . "\n" ; for ($i=1; $i<=sizeof($customer_orders); $i++) { $content .= '<li><a href="' . zen_href_link(zen_get_info_page($customer_orders[$i]['id']), 'products_id=' . $customer_orders[$i]['id']) . '">' . $customer_orders[$i]['name'] . '</a>  <a href="' . zen_href_link(basename($PHP_SELF), zen_get_all_get_params(array('action')) . 'action=cust_order&pid=' . $customer_orders[$i]['id']) . '">' . zen_image($template->get_template_dir('cart.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cart.gif', ICON_CART) . '</a></li>' . "\n" ; } $content .= '</ul>' . "\n" ; $content .= '</div>'; ?>


**
Can you please help me to solve the problem! Is there any patch for this or this error is stil open.
i got here: http://www.zen-cart.com/forum/showthread.php?t=33074&highlight=order+history+error+line one post where one have the same problem but there is no answer!
**

My settings for order history in Tools -- > Layout boxes Controller:

Best regards Ivan!

2 Aug 2006, 8:23 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: [Done 1.3.0.1] Order history error

That was a bug fixed in v1.3.0.1.
v1.3.0.2 has also been released.

Upgrading will solve this problem for you.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Aug 2006, 1:13 PM
#3
ivanl avatar

ivanl

New Zenner

Join Date:
Aug 2005
Posts:
2
Plugin Contributions:
0

Re: [Done 1.3.0.1] Order history error

Thanks DrByte !
Now it works!

Bye Ivan