-
Notifications
You must be signed in to change notification settings - Fork 57
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
PHP mySQL Error Called - Trouble Installing #105
Comments
you edit the conf.ini file to look like this? [_database] see driver item amd user/password mysql_connect() is not supported by php 7.0.0+ use mysqli_connect() |
This error is being thrown before I even have a conf.ini file. As I understood it, I should be able to run the installer.php prior to the conf.ini file being created. The installer.php page visually HTTP 500's and the error_log spits out what I posted above. |
The installer is going to be replaced soon by something better. It doesn't support mysqli. In the mean time, you should do a manual install |
Great, got it working. Thanks guys. Out of curiosity (and full disclosure, I haven't looked at the documentation so I apologize) how customizable is the UI? |
Hi there!
I am having issues simply initializing xataface and installing it through the installer. I am cloning xataface from the master branch. Changing nothing else, other than installer.disabled to .enabled, I receive this error in my php error.log:
PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/html/xata/xataface-2.1.3/xf/db/drivers/mysql.php:2\nStack trace:\n#0 /var/www/html/xata/xataface-2.1.3/installer.php(533): xf_db_connect('localhost', 'root', 'password')\n#1 /var/www/html/xata/xataface-2.1.3/installer.php(548): db()\n#2 {main}\n thrown in /var/www/html/xata/xataface-2.1.3/xf/db/drivers/mysql.php on line 2
*Note: I receive the same error when I change localhost to my DB in installer.php
PHP version: PHP 7.2.7-2+0
20180714182401.1+jessie1.gbp3fcba8 (cli) (built: Jul 15 2018 13:57:20) ( NTS )Apache version: Apache/2.4.10 (Debian)
The text was updated successfully, but these errors were encountered: