Feng Forum

Support => Feng Office 1 => Older versions => 1.2 RC2 => : BiiiT February 16, 2009, 10:54:43 AM

: Notice: Constant PRODUCT_VERSION already defined
: BiiiT February 16, 2009, 10:54:43 AM
Hi everybody

Constant 'PRODUCT_VERSION' ist double definied after setup.
1. "config/config.php" in line 13
2. "init.php" on line 65 via "version.php"

I think line 145 in "public/install/installation/acInstallation.class.php" shouldn't be there.

Hope this helps.
: Re: Notice: Constant PRODUCT_VERSION already defined
: Adriaan Graas February 16, 2009, 01:09:34 PM
I can confirm this bug.

adriaan@Adriaan ~/Desktop $ uname -a; php -v
Linux Adriaan 2.6.26-hardened-r9 #3 SMP Mon Feb 9 18:53:44 CET 2009 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux

PHP 5.2.8-pl2-gentoo (cli) (built: Feb  9 2009 02:00:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

If any more info is required, let me know.
: Re: Notice: Constant PRODUCT_VERSION already defined
: ignacio February 17, 2009, 10:04:03 AM
Thank you both.

That constant will be removed for next version, as it is no longer used.