View Full Version : Database error
efsaneclub00
11-26-2019, 12:41 PM
Hello: I get a database error when logging in to www.efsaneclub.com.
The error is "The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead".
It looks like your host upgraded your PHP version. Go to /includes/config.php and change
$config['Database']['dbtype'] = 'mysql';
to
$config['Database']['dbtype'] = 'mysqli';
snakes1100
11-26-2019, 01:58 PM
If that flag is set & you recompiled php, make sure you installed the php mysqlnd ext.
efsaneclub00
11-27-2019, 07:09 AM
Dear teacher ftp file is entered into the administrator includes / config.php does not seem to be exactly where I would like to log in and add the place I would appreciate.
I'm not really sure what you're trying to say...
efsaneclub00
11-27-2019, 11:21 AM
Where the includes / config.php file is located
snakes1100
11-27-2019, 11:28 AM
ftp > public_html/includes/config.php
or
ftp > public_html/forums/includes/config.php
Based on the error, it should be located at /home/efsamcom/public_html/includes/config.php
efsaneclub00
11-27-2019, 01:01 PM
home / efsamcom / public_html / includes installed in current but not logged in forum
snakes1100
11-27-2019, 08:21 PM
edit config.php via FTP
efsaneclub00
11-28-2019, 04:25 AM
Hi: Added but still getting database error
Looks like you did not do it right because it's still reporting the exact same error.
efsaneclub00
11-28-2019, 11:49 AM
I couldn't find the exact location, so please describe it exactly.
The exact location is /home/efsamcom/public_html/includes/config.php. If you have trouble finding it, you can ask your hosting company. We can't really guide you through the process without seeing what you see.
efsaneclub00
11-28-2019, 12:25 PM
Dear Sir, Thank you very much for your help.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.