WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Call to undefined function mysqli_connect() in line (63) of (/framework/class.da
  • Print
Pages: [1]   Go Down

Author Topic: Call to undefined function mysqli_connect() in line (63) of (/framework/class.da  (Read 7682 times)

Offline svsanchez

  • Posts: 589
Call to undefined function mysqli_connect() in line (63) of (/framework/class.da
« on: April 24, 2020, 01:59:44 AM »
Hello

I am gaving difficulties with 2 sites made with WB which I am moving from one server to another. I restored the DB and homedir, created again the username with the same password but I am getting the following errors:

On site 1:
Call to undefined function mysqli_connect() in line (63) of (/framework/class.database.php)

On site #2:
Fatal error: Call to undefined function mysql_connect() in /home/combateg/public_html/framework/class.database.php on line 59

Both sites are still on WB 2.8.3. At first I thought it was a problem of PHP 7, but the problem persists after I changed them to PHP 5.6.

Thank you for any help you can provide.
Logged

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1883
    • EFG MG
Re: Call to undefined function mysqli_connect() in line (63) of (/framework/class.da
« Reply #1 on: April 24, 2020, 07:49:08 AM »
With a link to the page it will be easier to help
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Call to undefined function mysqli_connect() in line (63) of (/framework/class.da
« Reply #2 on: April 24, 2020, 07:53:19 AM »
With the search in the forum you get some results. One of this
https://forum.WebsiteBaker.org/index.php/topic,22117.msg149095.html#msg149095
Quote from: DarkViper
It seems , thus whether the php-mysql client module is not installed.
That's way the function mysql_connect() can not be found.

Is it your own server?
Logged
https://onkel-franky.de

Offline svsanchez

  • Posts: 589
Re: Call to undefined function mysqli_connect() in line (63) of (/framework/class.da
« Reply #3 on: April 25, 2020, 08:59:33 AM »
Yes, I used the search but it didn't show me anything. Thank you for the URL, I asked my host to install that module but they said it was already installed.

According to them, the site was down as it had some outdated code within it's .htaccess file referencing a 'suPHP_ConfigPath'.

They commented the code and the site is working again.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Call to undefined function mysqli_connect() in line (63) of (/framework/class.da
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2