[英]on server login page or registration page occur problem in codeigniter
Some important problems face in Codeigniter which I found and at last found the solution maybe it helps you so I share it. 我在Codeigniter中发现了一些重要问题,最后发现该解决方案可能对您有所帮助,所以我与您分享。 - Sometimes in CodeIgniter face a problem of login page redirection to the login page again.
-有时在CodeIgniter中遇到登录页面再次重定向到登录页面的问题。 - On registration form when you fill the form and submit then it shows a null problem which error: 3014 or some type of error.
-在注册表中,当您填写表格并提交时,它会显示一个空问题,错误为:3014或某种类型的错误。 - 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
在.htaccess上,我将非www网站路由到www.example.com,但在
config.php my base_url was example.com
config.php我的base_url是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
从base_url的example.com到www.example.com
everything comes on normal. 一切正常。 Maybe it also helps you.
也许它也可以帮助您。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.