Author Topic: Notice: Constant PRODUCT_VERSION already defined  (Read 2763 times)

BiiiT

  • Guest
Notice: Constant PRODUCT_VERSION already defined
« 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.

Adriaan Graas

  • Guest
Re: Notice: Constant PRODUCT_VERSION already defined
« Reply #1 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.

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: Notice: Constant PRODUCT_VERSION already defined
« Reply #2 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.

 

anything