2019-11-11, 02:57 PM
2019-11-11, 04:42 PM
Check your config.php. What is defined as database type - mysql?
It is worth a try to change to mysqli - on PHP7 you must use mysqli.
$config['database']['type'] = 'mysqli';
[ExiTuS]
It is worth a try to change to mysqli - on PHP7 you must use mysqli.
$config['database']['type'] = 'mysqli';
[ExiTuS]
2019-11-12, 01:35 PM
(2019-11-11, 04:42 PM)[ExiTuS] Wrote: [ -> ]Check your config.php. What is defined as database type - mysql?
It is worth a try to change to mysqli - on PHP7 you must use mysqli.
$config['database']['type'] = 'mysqli';
[ExiTuS]
I did that and it didnt work....
Anyways forget it, the site is broken, got a new domain
2019-11-12, 01:44 PM
The domain won't make a difference... if neither mysql or mysqli work then you'd need to ask your host as sounds like there's no MySQL PHP extension installed.
2019-11-15, 07:42 AM
(2019-11-12, 01:44 PM)Matt Wrote: [ -> ]The domain won't make a difference... if neither mysql or mysqli work then you'd need to ask your host as sounds like there's no MySQL PHP extension installed.I bought a new hosting plan too, but yeah... I accidentally deleted my config file, that was the problem