Questions tagged as 'codeigniter'

1
answer

How to keep the tab active after a submit?

I am programming a site with the CODE IGNITER framework and a view has a tab-pane. By entering the information to the form and reloading the view, I am in the first tab and I need to be able to handle that Any suggestions or ideas? This is...
asked by 16.05.2017 / 17:26
1
answer

Is it possible to send a variable from the controller to a config file, in Codeigniter?

I am working with Codeigniter 3, I have a config file (form_validation.php) in which I have all my validation rules. Within my configuration file (form_validation.php) I have a method that needs to receive a variable (in this case the user_id...
asked by 09.05.2017 / 08:01
2
answers

Help, Error when opening my Excel in the cloud - CodeIgniter

Hi, I'm working on an excel report but when I run in my place it can be downloaded and opened normally without any problem, so I upload it to the cloud and I get this. this is my code thanks public function reporte_excel_total($...
asked by 05.05.2017 / 21:27
0
answers

Query to filter duplicates does not work

Well, I am trying to filter the duplicates of a table with grocery and it seems that it completely ignores my query, I have tried with distinct() , group by() and even both at the same time. What I want is to show the table witho...
asked by 29.05.2017 / 14:51
1
answer

PDFs are not downloaded correctly in the Codeigniter

I'm using Grocery Crud, I have a field of type text and when I add or edit a ckeditor comes out, which is perfect. My problem is when I visualize these data, the images, texts, I have no problems, but if I put in to download a pdf or a .rar, the...
asked by 21.04.2017 / 15:54
0
answers

Trying to get property of non-object - with QR code

Hello everyone I am creating a pdf and inside the pdf I am placing a qr code with the data of N person but I have an error when setting the values to my QR code I get this error but when I enter my sql statement, this appears and fin...
asked by 17.04.2017 / 23:20
0
answers

Doctrine and CodeIgniter 3 Does not recognize the class

Good morning everyone. I'm creating a project with Doctrine, the problem is when I try to do something like this: $message = $this->em->find('Entities\PdContact', 1); From the model, I get the following error:    Class 'Entities...
asked by 11.04.2017 / 16:53
2
answers

How do I fix my php code?

Hello everyone I have a question, this is my code that I made but it marks me an error I leave my code: <?php $web_user = 'admin'; $web_pass = 'admin'; $lyric_ip = '192.168.1.202'; $api_user = 'lyric_api'; $api_pass = 'lyric_api';...
asked by 04.04.2017 / 00:01
1
answer

how to concatenate objects of a class in php?

I have the Message class: class Mensaje { public $contenido = ""; public $destino = ""; public $estado = -1; public $message_id = -1; function __construct( $destino, $contenido ) { $this->contenido = $...
asked by 03.04.2017 / 20:24
1
answer

Codeigniter and PhpMyadmin in Intranet

Good, I'm wanting to make my project work on an Intranet, the fact is that until now I had used Hostinger to launch the applications, and even locally with XAMPP. But I've never done it on the Intranet, I've been using Codeigniter and phpMyAdmi...
asked by 05.04.2017 / 00:14