Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

strange error in checout_confirmation.php


yuluma

Recommended Posts

Parse error: parse error, unexpected '{' in /home/WWW/yourpixie.com/www/checkout_confirmation.php on line 347

 

When i look at the code around 347 i see:

 

<?php
 if (isset($$payment->form_action_url)) {
   $form_action_url = $$payment->form_action_url;
 } else {
   $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL');
 }

 echo tep_draw_form('checkout_confirmation', $form_action_url, 'post');

 echo CONDITION_AGREEMENT;
   echo tep_draw_checkbox_field('agree','true');
     ?><br><br><br>
       <?php


 [B] (is_array($payment_modules->modules)) {[/B]    echo $payment_modules->process_button();
 }

 echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . '</form>' . "\n";
?>

 

The bold line is line 347.... as i can see nothing wrong. I was already wondering why i didn't got any orders. Last week when i tested it it worked correctly. The last mod installed is the gift voucher... but as i said it worked fine ! (only tested it with a coupon ....

 

Has anyone a idea ? :'(

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...