Posted - 05/26/2022 : 01:29:30
Hi Eric But you have this error... quote: Fatal error: Uncaught Error: Class 'mysqli' not found in /home/alkydigg/public_html/vsadmin/db_conn_open.php
That really, really looks like the class mySQLi cannot be found. How about replacing the connection code in the db_conn_open.php file with this which may give a bit more detail about whether mySQLi is enabled or not? if(!function_exists('mysqli_connect')){ die('<html><body>mySQLi is not enabled in PHP. Please contact your host.</body></html>'); }else{ $GLOBALS['ectdatabase'] = new mysqli($db_host, $db_username, $db_password, $db_name); if(mysqli_connect_error()){ ob_clean(); print '<html><head><title>Database connect error</title><style>div{ margin:20px }</style></head>'; print '<body><div>Database Connect Error (' . mysqli_connect_errno() . ') ' . mysqli_connect_error() . '</div>'; print '<div>You need to set your database connection in vsadmin/db_conn_open.php</div>'; print '<div>For help setting your database connection please see...<br />'; print '<a href="https://www.ecommercetemplates.com/phphelp/ecommplus/instructions.asp#dbconn" target="_blank">Database Connection Instructions</a></div>'; print '<div>We also have a support forum here...<br />'; print '<a href="https://www.ecommercetemplates.com/support/" target="_blank">Support Forum</a></div>'; die('</body></html>'); } } Vince Click Here for Shopping Cart SoftwareClick Here to sign up for our newsletterClick Here for the latest updater
|