Questions tagged as 'codeigniter'

1
answer

Possible permission problem

When trying to run a php code on my Ubuntu machine if ( ! is_dir($system_path)) { header('HTTP/1.1 503 Service Unavailable.', TRUE, 503); echo 'Your system folder path does not appear to be set correctly. Please open the following file...
asked by 18.11.2015 / 13:44
1
answer

Slow page loading locally after configuring virtual hosts

Greetings, I'm having trouble loading pages on my local server. This problem happened after I set up 3 virtual hosts, and when I try to load my page through it, it takes a LOT to load. Could someone please help me?     
asked by 25.01.2018 / 21:47
1
answer

How to get id of a CRUD element [CodeIgniter]

My question is this: I have a CRUD made in CodeIgniter , but the table rows are not in the localhost/crud/produtos/[:num] format. In the last column of the table you have action buttons to edit and remove, one for each row. How...
asked by 05.03.2018 / 20:50
2
answers

PHP Framework with greater similarity with CodeIgniter? [closed]

Which of these frameworks below have the greatest similarity to CodeIgniter, so that I can have the smallest learning curve? Laravel CakePHP Zend
asked by 27.02.2014 / 16:04
2
answers

Make a select in which to get the id of a select done previously

I'm on a page where you're printing data from a menu. And underneath these data I want you to show me the ingredients of this menu, and I'm going to look for them in an array_list. Controller: function lista_ingre() { $this->load->...
asked by 07.06.2016 / 17:58
1
answer

Is it true that Codeigniter will end? [closed]

I overlooked an information saying that Codeigniter will end. So I came here to have more accurate information. Is this true?     
asked by 29.01.2014 / 13:31
1
answer

Maximum of occurrences of an item

I need to go through the data and find out the maximum number of occurrences of an item. I have the following structure array(5) { [0]=> object(stdClass)#26 (6) { ["num_dia"] => string(1) "5" ["num_semana"] => str...
asked by 16.11.2018 / 17:32
2
answers

How to handle error when deleting a BD record, which has a foreign key, PHP

Good morning, someone would know how to handle the following error: Thefollowingerroroccurswhen,forexample,IhaveaclientinaDBtableandinanothertableIhaveabudgetreferencingthisclient,whenItrytodeletetheclientitpresentsthiserror,whichiscorrect,Irea...
asked by 05.06.2017 / 13:08
1
answer

Hook for Query Log and Redirect Instruction

I'm using hook for queries log. However when I use redirect instead of load->view , the db->queries array is empty. I need to continue using the redirect statement. Can someone help me? I'm using this template : $hook['p...
asked by 16.02.2018 / 18:31
1
answer

Intermittent Session Error in CodeIgniter [closed]

I have a problem with the projects that I develop that intermittently generates a session error, but the error is only when the project is hosted on the web server (I use CPanel from a reseller of HostGator). When the error occurs, if the use...
asked by 05.07.2016 / 02:53