![]() |
Error in Model to Call Stored Procedure MYSQL - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Error in Model to Call Stored Procedure MYSQL (/showthread.php?tid=73575) |
Error in Model to Call Stored Procedure MYSQL - gilgustavoj - 05-10-2019 I have the following error when executing an SP in my model: Code: A Database Error Occurred And this is my model: Code: public function nuevoUsuarioNoPreCargado($nombres = null, $apellidos = null, $codigo = null, $rut = null, $correo = null, $fecha_nacimiento = null, $sexo = null, $privilegios_id = null, $codigo_jefe = -1, $password = null, $hash = null){ But if, i remove the @ from the output parameter, this is the response: Code: A Database Error Occurred The Stored Procedure Work fine in mysql shell and passing parameter manually. RE: Error in Model to Call Stored Procedure MYSQL - InsiteFX - 05-11-2019 Should this be like PHP Code: $query_2 = $this->db->query($sql); |