WebsiteBaker Community Forum

General Community => Off-Topic => Topic started by: loki TM on February 02, 2008, 04:42:16 PM

Title: error & fix for "PHP Notice: Constant VERSION already defined"
Post by: loki TM on February 02, 2008, 04:42:16 PM
hi guys.

cannot install 2.6.7 because of error "PHP Notice:  Constant VERSION already defined in [...]\version.php on line 39".

the problem seems to be a "require()" in install/save.php, line 429.
changing the "require()" to "require_once()" seems to solve the problem (but i did not do big testing).
is there any reason why it must be "require()" ?

btw: can someone move this to the correct forum? don't want to register....
Title: Re: error & fix for "PHP Notice: Constant VERSION already defined"
Post by: doc on February 02, 2008, 05:25:38 PM
Hello,

this error will be fixed in the WB 2.7 version. In the latest SVN version the error is already elimintated.

Regards Christian