Questions tagged as 'codeigniter'

1
answer

Why does not this query work in codeigniter, and in the IDE of ms Access it works without problem? (I think it's the JOIN)

I have a query that I can not work inside codeigniter, removing parts of the query, it seems that the error is in the JOIN, but I do not understand why, and even less understand, that when performing the query in PostMan, for example, it does n...
asked by 11.06.2018 / 08:02
0
answers

Does not recognize $ _FILES codeigniter

I'm trying to send an image using postman and working with codeigniter REST API test code: public function profile_post(){ $file = $_FILES['userfile']['name']; $this->response(array('message' => $file)...
asked by 05.06.2018 / 04:30
0
answers

Error in Codeigniter REST

I have the following error { "": "Unknown method" } my controller Orders : <?php defined('BASEPATH') OR exit('No direct script access allowed'); require APPPATH . 'libraries/REST_Controller.php'; class Orders extends REST_...
asked by 31.05.2018 / 19:29
1
answer

Upload of codeigniter files

This is the view: <div class="row"> <?php echo form_open_multipart(base_url('profile/edit/'.$averias_detail['id'])); ?> <div class="col-md-6"> <div class="box"> <div class="box-header with-border">...
asked by 04.06.2018 / 16:39
1
answer

I try to send an email by codeIgniter

I am trying to send an email using the codeigniter framework but I receive the following error.    A PHP Error was encountered Severity: Warning Message: fsockopen ():   unable to connect to localhost: 25 (Connection refused) Filename:   li...
asked by 07.06.2018 / 23:56
2
answers

arrangements with the same index

I'm working with arrays, which has as an index the code of the person, this person example: [PER0076] => Array ( [fecha_registro] => 2018-03-27 09:52:31.642576 [codigo_persona] => PER0076 [cedula_ubicacion]...
asked by 28.05.2018 / 17:13
1
answer

Join returns duplicate records mysql codeigniter

I'm doing a coansulta to 3 tables that have a common id, but it returns duplicate records twice each one of them public function select_informacion_encargados(){ $this->db->select('encargado.nombre, encargado.materno, encarga...
asked by 25.05.2018 / 07:59
1
answer

Invalid argument supplied for foreach ()

class Menu { private $array_menu; public function __construc($arr) { $this->array_menu= $arr; } public function construirMenu() { $ret_menu=" <nav><ul> "; foreach ($this->array_menu A...
asked by 23.05.2018 / 22:31
0
answers

Show errors in Login view in Codeigniter

I am new and I do not have much idea of the use of Codeigniter . The case Do you know if there is any way to return a comment (error) to a view, from the controller, once having made a query of a model ?. That is: I fill in a login form and...
asked by 22.05.2018 / 23:49
0
answers

HOW TO PRINT ON CODEIGNITER + POS PRINTER (EJ: epson-tm 20II)

I am doing a billing system, but I need to print the tikects on a POS printer (I have an epsontm20 II), a library or a clear example where I can add it to my project. Thanks !!!     
asked by 18.05.2018 / 01:43