Question mark problem
Hi to everyone! I'm making a CMS based on Codeigniter for a project. But I've a (maybe, I don't know) "big" problem. I've a database with some users registered. Some of these has the ? in their name...
View ArticleSession not persisting while upgrading from 3.0.4 to 3.1.7
I'm busy upgrading from 3.0.4 to 3.1.7 and having issues with session. I've tested this on PHP 7.0 and PHP 7.2 I've seen a few other issues here regarding session on PHP 7.x with late versions of CI,...
View ArticleWhy does sending account activation email from Codeigniter 3 fail?
I am working on a Register and Login application with CodeIgniter 3 and Twitter Bootstrap. When a user registers, an email should be send to the address he/she provided, with an account confirmation...
View ArticleCSRF Token AJAX
Hi I have an AJAX FORM that using form_open() fucntion. If $config['csrf_protection'] = TRUE, the FORM doesnt work. If $config['csrf_protection'] = FALSE, the FORM works fine. Is it posibble to keep...
View Articlehaving issue with join only recent row
So i have been working with codeigniter for three years, and for database queries most of the time i use active records, and design database in a way that avoids complex queries . But current project i...
View ArticleSession: performance lock problem
Hi all I have turned on Memcache driver for sessions but got delay for a 5-20 seconds, page loading slow and with delays. I figured out that locks caused delay. I put session_write_close to the end of...
View ArticleEmpty data result in query MS SQLSERVER "OUTPUT INSERTED.*"
Hi Every body! I using codeigniter Framework with database Microsoft SQL SERVER 2016. I have T-SQL Insert into tbl_student('subject', 'name') output inserted.name values('laptrinhvb.net', 'Nguyễn...
View ArticleEclipse PDT Plugin for CodeIgniter
Hi, I´m a long time java developer, used to Eclipse tools. Now I´m starting development with PHP and CodeIgniter. I'm trying to use Eclipse PDT, but as far as I looked, there's no support for work with...
View ArticleProblem with valid_email return true for invalid email address
Hello, I'm new to CI and just setup and working on the sign up form, but some how the valid_email rule in form validation is not working. I have tried the function valid_email() too and it's still not...
View ArticleWhy does sending account activation email from Codeigniter 3 fail?
I am working on a Register and Login application with CodeIgniter 3.1.4 and Twitter Bootstrap. When a user registers, an email should be send to the address he/she provided, with an account...
View ArticleHow query generates in controller,, without any function call to loaded Model ?
Hello, Hi to all i am some novice , i have FusionInvoice from Github, i am unable to understand, how its controller is getting query result from model, where the function not exist in model. in its...
View Article404 index not found
Hello, i have a web application that is work on wamp on windows server and its work fine, i moved the application folder to linux ubuntu 16.4 with apache. i see the permission and apahe config. when i...
View Articlehook doesn't redirect me
Hi everyone, (Sorry for my english) I try to use hooks... It works but I've a small problem. I said to my hook: IF condition OK -> do... but I would like : IF condition not OK -> continue Code:...
View ArticleProcedure to bump and old Issue?
Hello, I recently encountered an issue in CI's Query Builder, one that has been discovered by others before me, and already raised as a Pull Request (#4186). However, I don't immediately see an Issue#...
View ArticleForward foreach query
Hello everybody, How can I pass on a query that is on a particular line in FOREACH? So I want to let the dedication that comes from the Code: $this->db->set('tb_artikel_anzahl',...
View ArticleFile Uploader Image Security
Hi all, Does the file uploader class perform all the necessary security checks to verify that a file is an image such as checking the actual first 20 or so bytes of the file, etc? Note: I already know...
View Articleunwanted novidalidate attribute in form
hi, When I use form_open with attributes as below: PHP Code: form_open('auth/reset_password/' . $code, array('class' => "forget-form", 'style' => "")) it outputs PHP Code: <form...
View Articlequestion about directory permissions
In Code Igniter all the directories have 700 permissions. To make my applications work I have to change the permissions to 755 on all directories. Why is the code igniter release configured with these...
View ArticleLibrary not working
I tried to implement a library which allows me to display global data like site name, site logo, etc from the database to all the views without the necessity of passing them via controllers(which I...
View ArticleSelection of countries by select from the database
Hello. I'm just starting to learn CodeIgniter. I have a question. The database created a table of countries and fields. PHP Code: CREATE TABLE IF NOT EXISTS `country` ( `country_id` int(11) NOT NULL,...
View Article