Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • misanki Friend
    #149031

    Hello,

    I have a problem with ja zeolite ii. It happens after I install quickstart. If you select any product in front page (featured products) and add it to cart, than you checkout and there is always this error:

    Checkout

    Parse error: syntax error, unexpected T_EXIT in /home/fotoklik/public_html/components/com_virtuemart/themes/ja-zeolite/templates/checkout/checkout_bar.tpl.php on line 1

    But it is not my fault, because I did everything normally and that is 6th time I’ve installed this template so does anyone know what is causing this problem?

    Thank you

    misanki Friend
    #333907

    If this helps, this is what is in that public_html/components/com_virtuemart/themes/ja-zeolite/templates/checkout/checkout_bar.tpl.php on line 1file.

    <?phpif( !defined( ‘_VALID_MOS’ ) && !defined( ‘_JEXEC’ ) ) die( ‘Direct Access to ‘.basename(__FILE__).’ is not allowed.’ ); /**** @version $Id: checkout_bar.tpl.php 1574 2008-11-26 21:00:02Z Aravot $* @package VirtueMart* @subpackage templates* @copyright Copyright (C) 2007 Soeren Eberhardt. All rights reserved.* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php* VirtueMart is free software. This version may have been modified pursuant* to the GNU General Public License, and as distributed it includes or* is derivative of works licensed under the GNU General Public License or* other free or open source software licenses.* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.** http://virtuemart.net*/?>&lt;?php// CSS style for the <td> tag of the cell which is actually highlighted$highlighted_style = ‘style=”font-weight: bold;”‘;$i = 1;foreach ($steps_to_do as $step ) { if( $highlighted_step==$step[0][‘step_order’] ) { $current_step = $i; break; } $i++;}echo ‘<table style=”background: url( ”. VM_THEMEURL .’images/checkout/checkout’. $step_count.’_’.$current_step .’.png’ ) top right; background-repeat: no-repeat; height:115px;text-align:center;” border=”0″ cellspacing=”0″ cellpadding=”0″ align=”center”> <tr>’;foreach ($steps_to_do as $step ) { echo ‘<td ‘.(($highlighted_step==$step[0][‘step_order’]) ? $highlighted_style : ”) .’ width=”119″ align=”center” valign=”bottom”>’; if ($highlighted_step > $step[0][‘step_order’] ) { echo ‘<a href=”‘. $sess->url(SECUREURL.”index.php?page=checkout.index&option=com_virtuemart&ship_to_info_id=$ship_to_info_id&shipping_rate_id=”.@$shipping_rate_id.”&checkout_stage=”.$step[0][‘step_order’] ).'”>’; foreach( $step as $substep ) { echo $substep[‘step_msg’].'<br />’; } echo ‘</a>’; } else { foreach( $step as $substep ) { if( $substep[‘step_order’] > $highlighted_step ) { echo $substep[‘step_msg’]; } else { echo ‘<a href=”#’.$substep[‘step_name’].'”>’.$substep[‘step_msg’].'</a>’; } echo ‘<br />’; } } echo ‘</td>’;}echo ‘ </tr></table><br />’;

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 1 voice, and was last updated by  misanki 14 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum