Skip to content
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

ERROR Using PHP 7.4.0 Database #142

Closed
InsiteFX opened this issue Nov 29, 2019 · 1 comment
Closed

ERROR Using PHP 7.4.0 Database #142

InsiteFX opened this issue Nov 29, 2019 · 1 comment

Comments

@InsiteFX
Copy link

InsiteFX commented Nov 29, 2019

PHP 7.4.0

Myth/Auth

Error on login

Error
Call to undefined function CodeIgniter\Database\MySQLi\mysqli_init()

SYSTEMPATH/Database\MySQLi\Connection.php at line 110

103 { 104 $hostname = ($persistent === true) ? 'p:' . $this->hostname : $this->hostname; 105 $port = empty($this->port) ? null : $this->port; 106 $socket = null; 107 } 108 109 $client_flags = ($this->compress === true) ? MYSQLI_CLIENT_COMPRESS : 0; 110 $this->mysqli = mysqli_init(); <---- ERROR HERE!!! 111 112 mysqli_report(MYSQLI_REPORT_ALL & ~MYSQLI_REPORT_INDEX); 113 114 $this->mysqli->options(MYSQLI_OPT_CONNECT_TIMEOUT, 10); 115 116 if (isset($this->strictOn)) 117 {

Happens on login.

ERROR is on line 110 $this->mysqli = mysqli_init();

IGNORE this just found out that some how my mySQLi Extension is missing... Sorry

@lonnieezell
Copy link
Owner

That makes sense - I couldn't find anything about deprecations! Will close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants