Jump to content

ERROR: mysqli_connect


tooth-paste
 Share

Recommended Posts

My host updated the server to mysqli. The website now gives the following error 

Call to undefined function mysql_connect() in line (59) of (\framework\class.database.php) 

How can I solve this? Is it possible to update from mysql to mysqli in Processwire?

Link to comment
Share on other sites

What version of ProcessWire is that? That function is not in any of ProcessWire's files. In addition, FYI, ProcessWire's /wire/core/Database.php extends PHP's mysqli class.

Edit: Beaten by lostkobrai. I should have noticed there is no such file in ProcessWire :-)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...