Vvveb
Vvveb copied to clipboard
Deprecated : password_verify()
Hello !
I've just install vvvebCMS... i tried my first admin's connection and :
Warning : Undefined array key "password" in /system/user/admin.php on line 116
Deprecated : password_verify(): Passing null to parameter #2 ($hash) of type string is deprecated in /system/user/auth.php on line 29
The server is a PHP v8.1.
Best.
Christophe
Hi
Thanks for the bug report, this happened when don't import demo content
option was selected on install.
You can update install/controller/index.php
and then remove config/db.php
to reinstall.
https://github.com/givanz/Vvveb/commit/ed78864e6ffa7e2698d8e94ac5e092e92442dd8b
Hello !
Thanks for you help!
Maybe a little mistake on system/user/admin.php :
if (! ($adminInfo && isset(adminInfo['password'])) ||
Better with isset($adminInfo['password']) ?
When i submit the form in the install page, it returns me this : Warning: Undefined array key "status" in install/controller/index.php on line 72
Best,
C
Sorry for this, it was fixed in a subsequent commit https://github.com/givanz/Vvveb/commit/fa79bcdf9e4ab58f27265f6a9a70b1c67190676b#diff-b6db0434ce0357cfdd8ae5bc92bbac5fa4fc8cafe35d47708446ba09711acf35R115
Undefined array key "status" in install/controller/index.php on line 72
From the warning it looks like the admin user is not created after install, can you provide more details like database used mysql or sqlite and version?
If you are using sqlite you can reset the database by recreating storage/sqlite/vvveb.db
with a new blank file.
For mysql you can try to drop the database and create it again.
If you are using the code from github please try using latest.zip
from the site, this version is the latest and it's used for testing to reset the online demo periodically to check for install and other errors.
Thanks for your reply, i will try to drop the database and restart everything for the latest.zip. It's a 10.6.16-MariaDB - MariaDB Server
Best,
C