Hi,
Zen Cart V1.5.5f
PHP 7.1.15
MySQL 5.6.38
After upgrading to PHP 7.1
I get the following error when accessing my sites
Code:
[02-Apr-2018 09:19:36 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_close() in ...../includes/classes/db/mysql/query_factory.php:131
Stack trace:
#0 /...../includes/classes/db/mysql/query_factory.php(136): queryFactory->close()
#1 [internal function]: queryFactory->__destruct()
#2 {main}
thrown in /...../includes/classes/db/mysql/query_factory.php on line 131
Lines 130 to 133 from includes/classes/db/mysql/query_factory.php
PHP Code:
function close() {
@mysqli_close($this->link);
unset($this->link);
}
My host is saying
suPHP is not supported on php v7 so i have commented it on .htaccess
Is this statement correct? I can find nothing on the forums to suggest this and would have thought others would have had a similar issue?
Bookmarks