Feng Forum

Support => Feng Office 1 => Older versions => 1.2 RC2 => Topic started by: BiiiT on February 16, 2009, 10:54:43 am

Title: Notice: Constant PRODUCT_VERSION already defined
Post by: BiiiT on 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.
Title: Re: Notice: Constant PRODUCT_VERSION already defined
Post by: Adriaan Graas on 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.
Title: Re: Notice: Constant PRODUCT_VERSION already defined
Post by: ignacio on February 17, 2009, 10:04:03 am
Thank you both.

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