Page 1 of 1

Products and Uploads module warning header

Posted: Fri May 22, 2009 5:07 pm
by nervino
In debug mode, I can see at the top of the cmsms's pages, several warning messages about the constants defined in Products.module.php (lines 49-56) and in Orders.module.php (lines 36-53).

Here an example:

Code: Select all

Notice: Constant ORDERSTATUS_BACKORDER already defined in /var/www/siti/test/modules/Orders/Orders.module.php on line 36
(...)

Notice: Constant PRODUCTS_PREF_NEWSUMMARY_TEMPLATE already defined in /var/www/siti/test/modules/Products/Products.module.php on line 49
(...)

Warning: Cannot modify header information - headers already sent by (output started at /var/www/siti/test/modules/Products/Products.module.php:54) in /var/www/siti/test/index.php on line 328
I checked if there are extra white spaces at top/bottom of the files involved but all seems ok.

No messages with debug=false.

Is it a normal behaviour?

thanks