Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NEW INSTALLATION ERROR


Guest

Recommended Posts

Posted

I just installed OScom. and I am trying to add products to the categories. The categories are added okay, but when I check to see the product I just added, it gives me a warning.

 

This is the warning:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/avelisq/public_html/includes/configure.php:38) in /home/avelisq/public_html/includes/functions/general.php on line 1174

 

This is the area where line 1174 is:

The line, "Output the tax percentage, etc." is line 1170.

////

// Output the tax percentage with optional padded decimals

function tep_display_tax_value($value, $padding = TAX_DECIMAL_PLACES) {

if (strpos($value, '.')) {

$loop = true;

while ($loop) {

if (substr($value, -1) == '0') {

$value = substr($value, 0, -1);

} else {

$loop = false;

if (substr($value, -1) == '.') {

$value = substr($value, 0, -1);

}

}

}

}

 

 

Can someone help me? I am new at this and need step by step directions.

Thanks for all the help.

Aveli

Posted

double check your includes/configure.php at the end of it, make sure there are no empty spaces after the last ?> go to the end of that, press the delete key quite a few times.

Posted

I did the includes/configure thing because I read somewhere that could be the problem. It still gives me the message.

 

What is the problem with line 1174?

Archived

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

×
×
  • Create New...