Questions tagged as 'codeigniter'

2
answers

How to load external CSS by CodeIgniter?

I need to call this external style sheet, but it does not load at all, I saw a similar question here, but I did not notice a conclusive answer, since I am using CodeIgniter 3 below. The error that appears is this:    Failed to load resourc...
asked by 10.02.2016 / 21:29
2
answers

send email in codigneter using SMTP GMAIL LOCALHOST

I can not send email, giving the error message below. I'm using xampp, via localhost. ello: The following SMTP error was encountered: Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method. Us...
asked by 24.04.2016 / 15:34
1
answer

Fatal error: Call to a member function ola () on a non-object

I need to use libraries in Codeigniter version 2.1.4 and I'm having trouble using these libraries myself. After loading the library (with $this->load->library('Nomedabiblioteca'); in my controller ), I have the line of code: $a =...
asked by 11.06.2015 / 22:43
4
answers

Codeigniter and .htaccess in subfolder on server

My goal is to make an application written in Codeigniter run on the server in a subfolder and not in the main domain, eg: www.dominio.com.br/foo . The error is about redirection , every request is being redirected to home ( www.domi...
asked by 24.04.2015 / 14:45
1
answer

Unablex to load your default controller. Please make sure the controller specified in your Routes.php file is valid. CodeIgniter

This error appears when giving Load in the Initial method:    Unablex to load your default controller. Please make sure the   controller specified in your Routes.php file is valid. And I'm running the localhost project and it works...
asked by 22.11.2015 / 18:31
1
answer

CodeIgniter opens many connections to the Database

I have an application on the client and they are complaining that it is opening many connections to the database, causing the server to crash. I searched the internet and did not find anything related. I would like to know if CodeIgniter a...
asked by 17.06.2014 / 16:06
3
answers

Pass variable from View to Controller

I'm doing a forum with PHP and CodeIgniter , and each category should display its subcategories , however, all categories show all sub-categories, how can I make each sub-category appear below its category? I do not have to do this with...
asked by 08.06.2014 / 18:49
1
answer

How to retrieve data from the CodeIgniter session directly from the database?

I'm trying to retrieve data from my table ci_sessions of CodeIgniter that are serialized. $data = $this->db->get_where('ci_sessions', array('id' => $id))->row('data'); var_dump(unserialize($data)); And I get this...
asked by 18.05.2015 / 21:15
1
answer

Affiliate Script with team help (Problem with recursion)

I am writing a code on CodeIgniter for the release of free and non-profit cloud storage software. However, in order to work, we will have an affiliate system, which allocates a certain amount of storage to the most advertisers, as well as to...
asked by 20.05.2014 / 22:55
2
answers

How to filter results and reload page / view in CodeIgniter?

I have code in CodeIgniter which takes a value of select dropbox in a view and leads to a second view showing the results in a table. In that second view , I kept the dropbox and the submit ("Filter") but...
asked by 17.03.2014 / 13:11