Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

trying to get flash buttons on every page


Graveyard666

Recommended Posts

when I changed html_output.php as per the instructions in the contrib, I now get this error:

 

 

Parse error: parse error, expecting `')'' in /home/graveyar/public_html/catalog/includes/functions/html_output.php on line 282

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/graveyar/public_html/catalog/includes/functions/html_output.php:282) in /home/graveyar/public_html/catalog/includes/functions/sessions.php on line 67

 

 

line 282 of html_output.php is in this block:

 

// Output a form hidden field

function tep_draw_hidden_field($name, $value = '', $parameters = '') {

$field = '<input type="hidden" name="' . tep_output_string($name) . '"';

 

if (tep_not_null($value)) {

$field .= ' value="' . tep_output_string($value) . '"';

} elseif (isset($GLOBALS[$name])) {

$field .= ' value="' . tep_output_string(stripslashes($GLOBALS[$name])) . '"';

}

 

if (tep_not_null($parameters)) $field .= '' . $parameters;

 

$field .= '>';

 

return $field;

}

 

you can see the error at www.graveyardrecords.com/catalog

 

 

any idea whats wrong?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...