Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error on Checkout_Shipping


AfricaPC

Recommended Posts

Hi everyone.

 

Please could you help with this....

 

After i add a product to the cart and click checkout. I get this message...

 

Parse error: syntax error, unexpected $end in /home/*****/public_html/*****/checkout_shipping.php on line 324

 

here is what Line 324 in Checkout_Shipping.php is...

 

 

echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";

 

 

What have i done wrong?

 

Thanks in advance.

Link to comment
Share on other sites

Hi everyone.

 

Please could you help with this....

 

After i add a product to the cart and click checkout. I get this message...

 

Parse error: syntax error, unexpected $end in /home/*****/public_html/*****/checkout_shipping.php on line 324

 

here is what Line 324 in Checkout_Shipping.php is...

 

 

echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";

 

 

What have i done wrong?

 

Thanks in advance.

 

Looks ok, do you have

 

<?php

} else {

for ($j=0, $n2=sizeof($quotes[$i]['methods']); $j<$n2; $j++) {

// set the radio button to be checked if it is the method chosen

$checked = (($quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'] == $shipping['id']) ? true : false);

 

if ( ($checked == true) || ($n == 1 && $n2 == 1) ) {

echo ' <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";

} else {

echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";

}

?>

Link to comment
Share on other sites

Yes Leslie, I do.

It starts on line 315 to 327

 

Thanks for the input.

Have you installed any contributions that may have caused the error?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...