Jump to content

Recommended Posts

Posted

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?

Posted

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

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
  • Recently Browsing   0 members

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