Posted - 03/20/2022 : 17:50:21
Hi Vince, when I switch to PHP 8.0 the error_log says:
[font=Courier New][code]PHP Fatal error: Uncaught Error: [maroon]Class "mysqli" not found in[/maroon] ... /vsadmin/[maroon]db_conn_open.php[/maroon]:14 thrown in ... /vsadmin/[maroon]db_conn_open.php on line 14[/maroon][/code][/font=Courier New] Line 14 is:
[font=Courier New][code]$GLOBALS['ectdatabase'] = [red]new mysqli[/red]($db_host, $db_username, $db_password, $db_name);[/code][/font=Courier New] My [maroon]db_conn_open.php[/maroon] file is identical to the format shown [url="https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107737"][blue]in this threads here >>[/blue][/url] MySQL Version: 10.3.34-MariaDB Why PHP 8.0 would throw that error, but not PHP 8.1, I do not know.
Gary [img]https://itzap.com.au/pics/logo/itzap-website-design-works-mini-logo.png[/img]
Edited by - ITZAP on 03/20/2022 18:12:42
|