Some assignments to $this->data array not 'sticking'
I'm stuck on a problem where several assignments to the $this->data array do not seem to be happening. No errors are output, but it is as if these assignments were not made. In the view function...
View ArticleMIME Problem with msg extention
Hello, I have a little problem with MIME detection. I tried to upload xxx.msg file from Microsoft Outlook , but CI don't recognized this extension. I add MIME to the mimes.php config file PHP Code:...
View Article[Solved] Refreshing Just A Div With Codeigniter
On my script I am able to submit my query form and then it refreshes the div OK How ever it only seems to refresh once if I click it multiple times will not refresh Any suggestions on what best way is?...
View Articlequery builder (insert) suggestion
Hello, Unless I am using this wrong (first CI site build), this produces a db error, asking to use the set() method: PHP Code: $dummy_data = array();$this->db->insert('mytable',$dummy_data);...
View ArticleCodeIgniter CMS - Please take a look
Hi guys! My name is Kevin, I come from Vietnam. This is a CI content management system I've built on CI 3. It has some good features, you can build website with modules development on Hmvc design...
View ArticleCodeigniter web.config index.php rewrite inside a subdirectory
Hi, My website folder structure is like below. Code: Application Root |- administration |--|- application |--|- system |--|- index.php |--|- web.config | |- application |- system |- index.php |-...
View ArticleView Data Issue
I found a bug for loading view with second array parameter. I use version 3.1.0. My controller function: public function test(){ $data=array('a'=>'A','b'=>'B');...
View ArticleRedirecting with apache mod_rewrite
How do I redirect http://hostname.com/about to http://hostname.com/foo/index.php/pages/about with apache mod_rewrite, without changing url in browser? I tried writing this: Code: RewriteRule "^about$"...
View Articleajax call to controller function outside root
hi all my application folder sits about the root how can i call a controller function from ajax ? Code: $('#editabout').click(function() { $.ajax({ type: 'get', url:...
View ArticleHow to build multi language website in codeigniter ?
Hi everyone, this is tutorial is a long tutorial, start from scratch to explain the concept behind making a multi languages websites ,to do a practical task with building codeigniter multi-language...
View ArticleQuery builder count_all_results breaking change on group by statements
Hi CI Forum, I'm just copying what I've typed into the GH issue tracker on https://github.com/bcit-ci/CodeIgniter/issues/4842 I've just upgraded from CI 3.0.4 all the way to 3.1.0 with all the...
View Articleimprove Query Builder to make more complex queries
I suggest query builder should have some options: 1 - easy to make a sub query today i used...: $this->db->select('field'); $this->db->from('table') $this->db->where('field', 'sub...
View ArticleOne dropdown dependence to another
Hello everybody, I am new in codeIgniter, but I really want to learn it. Right now I am trying to make a small cms for car accessories search by vehicle or car brand, model or engine. But i stuck...
View ArticleController Method Name Prefix
The CI 3.10 documentation indicates that "Prefixing method names with an underscore will also prevent them from being called." However, PHP has no such naming restriction. Is this restriction something...
View ArticleOptional backtrace on logged SQL errors
I've searched this but couldn't find anything in requests, and this isn't available in CI 3.10.0, so here goes. Would it make sense to add backtrace to SQL errors that are saved in log file? For any...
View Articleset_value() in CI3 has issues with input arrays
In Codeigniter 2 our forms were able to have PHP Code: <input type="text" name="options[]" value="<?php echo set_value('options[]'); ?>" size="50" /><input type="text" name="options[]"...
View Articlelanguage versus html markup?
I'm working on a site that will be delivered in at least English and Spanish (and possibly French, German et. al). I've reached a bit of a conundrum when it comes to displaying in-language prompts that...
View ArticleCodeIgniter API tutorial?
Hi guys, Can someone show me a good API tutorial for CodeIgniter? It will be nice if the tutorial related to this library below. https://github.com/chriskacerguis/codeig...restserver as a side note, I...
View ArticleSelect tag dropdown dependence to next select tag.
Hello everybody, I am new in codeIgniter, but I really want to learn it. Right now I am trying to make a small cms for car accessories search by vehicle or car brand, model or engine. But i stuck...
View ArticleMySQL replication support for CI 2x and 3x?
Hi team, Does CI support mysql replication? And how to implement it? Thanks in advanced
View Article