givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
241 stars 49 forks source link

Error Upon install/?action=install #3

Open hellaz opened 2 years ago

hellaz commented 2 years ago

Upon installation of the package downloaded from https://www.vvveb.com/download.php, after adding database connection details, on ?action=install, it throws the bellow exception

Exception: Call to undefined method mysqli_stmt::resultMetadata()#0 Vvveb\System\FrontController::notFound(, 500, Array ([message] => Call to undefined method mysqli_stmt::resultMetadata(),[code] => public function fetch_array($resulttype) { return $this->fetch_assoc(); } $meta = $this->stmt->resultMetadata(); // <<<=== while ($field = $meta->fetchField()) { $params[] = &$row[$field->name]; } ,[file] => /home/site/public_html/build/system/db/mysqli.php,[line_no] => 52,[line] => $meta = $this->stmt->resultMetadata(); // <<<=== ,[lines] => Array ([0] => } ,[1] => ,[2] => public function fetch_array($resulttype) { ,[3] => return $this->fetch_assoc(); ,[4] => } ,[5] => ,[6] => public function fetch_assoc() { ,[7] => $meta = $this->stmt->resultMetadata(); // <<<=== ,[8] => ,[9] => while ($field = $meta->fetchField()) { ,[10] => $params[] = &$row[$field->name]; ,[11] => } ,[12] => ,[13] => call_user_func_array([$this->stmt, 'bind_result'], $params); ),[trace] => #0

givanz commented 2 years ago

Hi

From the error message it looks like some mysqli methods are missing, please make sure that you have mysqli and mysqlnd php extensions installed and enabled.