tooth-paste Posted January 24, 2017 Posted January 24, 2017 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?
LostKobrakai Posted January 24, 2017 Posted January 24, 2017 That file mentioned in the error doesn't seem to belong to processwire. 1
kongondo Posted January 24, 2017 Posted January 24, 2017 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 1
tooth-paste Posted January 24, 2017 Author Posted January 24, 2017 Oeps, your absolutely right, sorry it is an old site when I didn't know PW yet. My sites now are all made with PW.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now