Call to undefined method mysqli_stmt::get_result() |
Glad it worked out! As it currently stands the maintainers of the framework don't want any application specific platforms mentioned (Cpanel, DirectAdmin etc) in the user guide. So I can't add hints about how e.g. Cpanel works.
mysqlnd are for some reason not the default value for Cpanel.
Hi,
I continue to experience problems with prepared statements and I really do not know why. The following is returning PHP Code: public function addQuote($vals) { ErrorException Trying to access array offset on value of type int SYSTEMPATH/Database/Query.php at line 479 472 { 473 return $sql; 474 } 475 476 do 477 { 478 $c--; 479 $escapedValue = $binds[$c][1] ? $this->db->escape($binds[$c][0]) : $binds[$c][0]; 480 if (is_array($escapedValue)) 481 { 482 $escapedValue = '(' . implode(',', $escapedValue) . ')'; 483 } 484 $sql = substr_replace($sql, $escapedValue, $matches[0][$c][1], $ml); 485 } 486 while ($c !== 0); Backtrace Server Request Response Files Memory Response Status 500 - Internal Server Error Headers Header ValueCache-control no-store, max-age=0, no-cache Content-Type text/html; charset=UTF-8 [*]SYSTEMPATH/Database/Query.php : 479 — CodeIgniter\Debug\Exceptions->errorHandler ( arguments ) Code: 472 { Code: $sql Code: $binds ( [0] => Not_Quoted [1] => Electrical [2] => 1,414.00 [3] => 1595458800 [4] => West One [5] => Strood [6] => Shop [7] => Martin Thorburn ) Code: $bindCount Code: $ml I would really appreciate some help here (php config is attached- if needed) |
Welcome Guest, Not a member yet? Register Sign In |