Custom validation rules not called when input data is a multi-dimensional array
Hello, when using custom validation rules defined in MY_Form_validation on input fields with multi dimensional array data, the validation function is not called at all in my tests. I am sending the...
View ArticleJust a note to the Doc writers - small fix to be made
Hi, I'm starting to read the tutorial in the right order, but when I got to the "Design and Architectural Goals" section, clicking "Next" took me to the "Server Requirements" page instead of the...
View Articleforeach statement is giving syntax error
<?php foreach ($records as $rows);?> <?php echo $rows->firstname; ?> <?php endforeach; ?> When I put the above code in view i'm getting syntax error in...
View ArticleShould we integrate Flysystem
FlySystem is a very flexible library that supports multiple filesystems (including Dropbox, S3, etc). When looking at our helpers, I started thinking that the file, directory, and path helpers should...
View Articlestruggling with foreach using checkbox values
Please i'm stucked with this problem for an hour now(yeah i'm newbie in this). this is a piece of code in my controller PHP Code: $tags = $this->input->post('check_list');...
View ArticleCI 3.1.0 multi delete and update, is a bug?
In a method I have two queries, the first performs a delete on two tables and everything works well. After I have a second query to update another table in this way: PHP Code: //...
View ArticleForm validation & view within a one function
Alright this question may sound silly & sorry for that as i am a newbie to CI. Here's my problem, right now to validate & show a form am i using 2 functions in one of my controllers. for...
View ArticleCjax 5.9 for CI
Cjax is a small lightweight Ajax Framework with MVC principles that integrates into CI Framework and other MVC PHP Frameworks. And can work independently without a framework. ( see 50+ samples:...
View ArticleDatabase Error
Hallo semuanya, Mohon bantuannya yah untuk para master Codeigniter, saya mengalami masalah dengan database dan tampilannya errornya seperti ini : A Database Error Occurred Error Number: 1062 Duplicate...
View ArticleSomething worng with Sessions
I am using the latest version of CI Version 3.1.0 I have set my sessions like so in config PHP Code: $config['sess_driver'] = 'files';$config['sess_cookie_name'] =...
View ArticleCodeigniter 3.1.0 : Problem with logging.
Hello, I have recently installed the latest version of Codeigniter on my Mac with PHP 5.6.22. I'm facing a problem with the logging feature, in fact, when I change the threshold value from 0 to another...
View ArticleMigration and multiple databases
Hi, I have an question. When I have more than one database, for example a master and a slave, how do I use migrations?
View ArticleEmail are not sending.
This is my code of sending email but it gives error "Multiline found" instead of sending email. case 5: // email for sending different report attachments // ////// attachment header...
View ArticleAvoid using other libraries in own library
Heya guys! I have another (probably stupid - I apologize in advance) question. After getting a lot of advice in one of my previous threads, I figured that I'd like to move most of my controllers'...
View ArticleCustom MY_Log.php
I have just made a MY_Log.php so I can over ride log write function so that it can create log files for each of the log levels so it is easier to view. I would like to know if it is safe and will not...
View Article[split] PDF of image problem?
The Problem!!!!!!!!!!! When I attach pdf file via email I get email with no correct pdf file (not opening) !!! please fix!
View ArticleThe session doesn't work on OS X
I have developed a project in CodeIgniter 2. It works well on Windows, Android and iOS. I can login and explore my account successfully in (Chrome, IE, OPERA, SAFARI and FIREFOX) on Windows(Safari,...
View Article[OT] Nav breaks with method call in URL
Hello, CI version 3.1.0 I marked as OT because I'm not sure if CI is the problem here. I'm working on my first CI site (and have wanted to try out CI for years!): dev.sunshineartist.com If you notice,...
View Articlepublic function
Hello, I have a quick question regarding the function of writing "public" in the beginning of function. What is the difference between writing: models/Mpages.php PHP Code: public function login()...
View ArticleI have a problem in godaddy hosting with session library
note: (windows is the hosting platform) when i load session library like this /application/autoload.php line 61 , codeigniter 3 PHP Code: $autoload['libraries'] =...
View Article