Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Upon install/?action=install #3

Open
hellaz opened this issue Jun 25, 2022 · 1 comment
Open

Error Upon install/?action=install #3

hellaz opened this issue Jun 25, 2022 · 1 comment

Comments

@hellaz
Copy link

hellaz commented Jun 25, 2022

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
Copy link
Owner

givanz commented Jun 25, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants