Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Posts
    2
    Plugin Contributions
    0

    Default [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>&nbsp;&nbsp;<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/showth...ory+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!
    Last edited by ivanl; 2 Aug 2006 at 08:33 PM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 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.

  3. #3
    Join Date
    Aug 2005
    Posts
    2
    Plugin Contributions
    0

    Default Re: [Done 1.3.0.1] Order history error

    Thanks DrByte !
    Now it works!

    Bye Ivan

 

 

Similar Threads

  1. Replies: 0
    Last Post: 23 Jul 2011, 05:22 PM
  2. My Order History and Order History Details - how do I get order comments in both?
    By trisha1581 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Nov 2007, 06:37 PM
  3. Replies: 0
    Last Post: 4 Jun 2006, 05:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg