Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2010
    Posts
    49
    Plugin Contributions
    0

    Default Login error and Parse error: Syntax error...

    I'm getting two error messages when logging on the website.
    www.ruthsdesigns.com

    First message is:
    Do you want to view only the webpage content that was delevered securely? (get next message whether you answer yes or no).
    Next message is:
    Parse error: Syntax error, unexpected T_Variable in home/....../store/includes/............tpl_order_history.php

    I have compared (WinMerge) the production file to the original file and can't anything different. But still, I looked at the code and don't see any , ; : ) " { or anything missing. Anyone tell me what the heck it's hollering about?
    Thanks!

    Below is the actual code (I flagged line 13):
    <?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" ; <------line 13

    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>';
    ?>

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,835
    Plugin Contributions
    9

    Default Re: Login error and Parse error: Syntax error...

    Check the similar threads at the bottom of this post
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Replies: 5
    Last Post: 27 Sep 2014, 10:53 AM
  2. Install: Parse error: syntax error, unexpected '/' in /includes/application_top.php
    By dlucarelli in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 26 Aug 2010, 02:08 PM
  3. Blank page and PHP Parse error: syntax error
    By Spiritus in forum General Questions
    Replies: 8
    Last Post: 17 Mar 2010, 07:16 PM
  4. Replies: 4
    Last Post: 30 Aug 2009, 09:26 PM
  5. Replies: 3
    Last Post: 15 Apr 2009, 03:23 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR