-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When installing an error is shown in PHP #138
Comments
Your php is missing dom extension, you can enable it from your server cpanel or install it with something like sudo apt-get install php-dom |
php cli.php install module=index host=127.0.0.1 user=root password=1234 database=vvveb admin[dev.devound@gmail.com]=admin@vvveb.com admin[1234]=admin engine=mysqli { |
how do i solve that? |
You need to change mysql user and password to match the ones from your mysql server php cli.php install module=index host=127.0.0.1 user=root password=your_mysql_password database=your_vvveb_database_name admin[email]=admin@vvveb.com admin[password]=admin engine=mysqli Or you can simply use SQLite to skip database configuration php cli.php install module=index admin[email]=admin@vvveb.com admin[password]=admin engine=sqlite |
{ |
Check your php.ini, probably the sqlite3 extension is not enabled. https://www.php.net/manual/en/sqlite3.installation.php
|
im on linux, also which php.ini? because this repo has a php.ini |
If you are on linux then you can try to install the extension sudo apt-get install php-sqlite3 The included php.ini has some recommended defaults and is used to increase some limits when using docker. You can check the path of php.ini that is loaded by php with php -i | fgrep php.ini Or open a simple php file with <?php
phpinfo(); |
php cli.php install module=index host=127.0.0.1 user=root password=1234 database=vvveb admin[email]=admin@vvveb.com admin[password]=admin engine=mysqli
Fatal error: Uncaught Error: Class "DomDocument" not found in /home/kali/Documents/Code/Vvveb/system/vtpl/vtpl.php:145
Stack trace:
#0 /home/kali/Documents/Code/Vvveb/system/core/view.php(106): Vtpl->__construct()
#1 /home/kali/Documents/Code/Vvveb/system/core/frontcontroller.php(122): Vvveb\System\Core\View->__construct()
#2 /home/kali/Documents/Code/Vvveb/system/core/startup.php(246): Vvveb\System\Core\FrontController::notFound()
#3 [internal function]: Vvveb\System\Core\exceptionHandler()
#4 {main}
thrown in /home/kali/Documents/Code/Vvveb/system/vtpl/vtpl.php on line 145
The text was updated successfully, but these errors were encountered: