Some important problems face in Codeigniter which I found and at last found the solution maybe it helps you so I share it. - Sometimes in CodeIgniter face a problem of login page redirection to the login page again. - On registration form when you fill the form and submit then it shows a null problem which error: 3014 or some type of error. - Mostly the session not working.
What is the solution
This is the solution which I applied on my case and it worked perfectly. I memorise one thing. on .htaccess I route my non www site to www.example.com but on
config.php my base_url was example.com
and that is the problem wich occurs all those above problems on my website but when I change my
example.com to www.example.com on base_url
everything comes on normal. Maybe it also helps you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.