Questions tagged as 'codeigniter'

2
answers

How to configure the doctrine terminal together with a Codeigniter project?

I'm doing the Doctrine integration in Codeigniter but I'm having trouble configuring the command line. First of all it is worth mentioning that I followed the Doctrine page. In order to install the dependencies correctly, I used Composer...
asked by 30.01.2014 / 22:57
1
answer

find php.ini in the Cpanel

I need to edit php.ini in CPanel, but I can not find the services configuration panel. I am trying to send email with codeigniter in localhost worked using Xampp , but online in CPanel of this error:    A PHP Error was encountered...
asked by 30.11.2015 / 11:08
1
answer

Checkboxes coming from the database with CodeIgniter

I have a database with a table named tblapoio , with 4 fields ( id , descricao , valor , tag ) I needed to make a form with a list of checkboxes with those values that exist in the table. I'm using CodeIgnit...
asked by 04.06.2015 / 18:48
2
answers

Codeigniter session expiring after an action

I made an administrative panel using CodeIgniter and every time the session expires, thus redirecting to the login screen. Every time, for example, that I edit a category, after editing it and clicking another menu link, the system redire...
asked by 21.11.2015 / 21:00
1
answer

The if conditional is not obeying the rules

I have a problem here in my gallery, when I enter the menu and choose which image category I'm going to choose. For example, if you do not want to be a member of the group, you should go to my controller and pick up the images where a field name...
asked by 11.10.2016 / 19:08
3
answers

JSON for PHP via AJAX

I really need some help .. I have a select with the products: <!-- panel preview --> <div class="col-sm-5"> <h4>Adicionar Produtos:</h4> <div class="panel panel-default"> <div...
asked by 03.08.2015 / 22:59
1
answer

Problem connecting multiple CodeIgniter databases

I have an application where it connects to multiple databases, initially I use the database settings database.php . When I connect to another database, it still loads the settings from the database.php file, so I make the following connect...
asked by 02.03.2015 / 19:41
2
answers

SELECT returning data that was not seen by a certain user

I'm having a hard time putting together Query I have 2 tables: video_visualizacoes with fields visualizacao_id, video_id, conta_id (This field refers to the user who viewed the video) ". videos with fields vi...
asked by 15.01.2016 / 20:01
1
answer

Extend the PHPWord class in CI - class not found

I'm trying to put the PHPWord library in codeigniter, so I downloaded PHPWord and extracted the PHPWord folder and the PhpWord.php file to the third_party folder of CI. After that I created in the libraries folder a file with the name word.ph...
asked by 09.01.2015 / 12:00
2
answers

How to handle exception that can not delete because it is a foreign key

I can not handle an exception that happens when I delete an address that is being used in another table. I'm using codeigniter My code is: public function delete_endereco($cod_clientes_endereco){ try{ $acao = $this->db->de...
asked by 27.10.2015 / 16:28