You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
found this error too, it's happen when set the config looks like this:
# Ba..kal Web admin password hash; Set via Ba..kal Web Admin # define("BAIKAL_ADMIN_PASSWORDHASH", 'xxxxxxxxxxxxxxxxxxxxxxx'); define("BAIKAL_ADMIN_PASSWORDHASH", 'zzzzzzzzzzzzzzzz');
it seem the commented line is not ignored, because when i remove the commented line. it works fine.
# Ba..kal Web admin password hash; Set via Ba..kal Web Admin define("BAIKAL_ADMIN_PASSWORDHASH", 'zzzzzzzzzzzzzzzz');
As i recently got PHP 7.2.10 on my local machine, an upgrade for my current baikal version (0.4.4) requires to install from the master (0.5.x).
I installed the composer dependencies (
$ composer install
) and enter the admin page, but some Errors prevents the upgrade.The screen looks like this:
Baïkal upgrade wizard
Upgrading Baïkal from version 0.4.4 to version 0.5.0
Errors
Uncaught exception during upgrade: Exception: Baikal\Model\Config->parseConfig(): constant 'BAIKAL_ADMIN_PASSWORDHASH' has been found multiple times in the config file; stopping execution in /www/baikal/Core/Frameworks/Baikal/Model/Config.php:114 Stack trace: #0 /www/baikal/Core/Frameworks/Baikal/Model/Config.php(40): Baikal\Model\Config->parseConfig('__construct('/www/baikal/Spe...') #2 /www/baikal/Core/Frameworks/BaikalAdmin/Controller/Install/VersionUpgrade.php(382): BaikalAdmin\Controller\Install\VersionUpgrade->updateConfiguredVersion('0.5.0') #3 /www/baikal/Core/Frameworks/BaikalAdmin/Controller/Install/VersionUpgrade.php(61): BaikalAdmin\Controller\Install\VersionUpgrade->upgrade('0.4.4', '0.5.0') #4 /www/baikal/Core/Frameworks/Flake/Core/Render/Container.php(69): BaikalAdmin\Controller\Install\VersionUpgrade->render() #5 /www/baikal/Core/Frameworks/Flake/Controller/Page.php(85): Flake\Core\Render\Container->renderBlocks() #6 /www/baikal/Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php(83): Flake\Controller\Page->render() #7 {main}
Successful operations
Updated addressbooks table
Error Baïkal has not been upgraded. See the section 'Errors' for details.
Did someone expierenced this error and/or can get me a hint to solve this?
Many thanks in advance!
Olaf
The text was updated successfully, but these errors were encountered: