Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FATAL ERROR :( help please


tabarnew

Recommended Posts

I get this fatal error: Fatal error: Cannot redeclare class messageStack in /home/fhlinux008/o/oeskateboards.co.uk/user/htdocs/catalog/includes/classes/message_stack.php on line 88

 

 

On this page: http://oeskateboards.co.uk/catalog/product_info.php?products_id=30

 

 

Im very new at all this.. and trying my hardest to muddle through but im just stuck now.. anyone encountered this problem when clicking on any product? please help :(

Link to comment
Share on other sites

This means both pages, message_stack.php and product_info.php are sending 'header information' when only one page should. There can be a variety of reasons for this, but one simple thing to check for is white space at the top and bottom of each of those two pages. That white space on newer versions of php can get interpreted as 'header information'.

 

Go to each of those two pages and 1) make sure that

<?php

is at the top line of the page, without even a space in front of it. 2) make sure the

?>

is the absolute last thing at the end of the page, the last line, without so much as a space after it.

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...