Page not found? |
[eluser]anna16[/eluser]
Hi guys I placed my site.php controller under the /membership/ directory http://coder9.com/ci2/membership/site/register_form/ But when i call the register_form() method, it wont display the page. Below is the link, http://coder9.com/ci2/membership/site/register_form/ Below is the site controller codes, Code: <?php Any suggestion what causing the problem?
[eluser]InsiteFX[/eluser]
Code: function register_form() InsiteFX
[eluser]anna16[/eluser]
Thanks insiteFX I guess i already figured that out. anyway there is a new error, http://coder9.com/ci2/membership/site/register_form/ encryption key? Okay, I'll try to google that one.
[eluser]InsiteFX[/eluser]
If your running CodeIgniter 2.0 then you need to set the encryption key in application/config/config.php I use 32 characters setup something like this fill in the x's xxxxx-xxx-xxxxxxx-xxxxx-xxxxxxxx InsiteFX
[eluser]anna16[/eluser]
Hi insideFX thanks for the help. Can you show me a complete steps for the "encryption key"? Sorry this is my first time using CI 2.0
[eluser]InsiteFX[/eluser]
CI 2.0 - application/config/config.php Code: $config['encryption_key'] = "92428-269-2593438-74736-34630529"; InsiteFX
[eluser]anna16[/eluser]
well i inputted your first suggestion like this below, $config['encryption_key'] = "xxxxx-xxx-xxxxxxx-xxxxx-xxxxxxxx"; and it worked. why is this? or is this key below the recommended one? $config['encryption_key'] = "92428-269-2593438-74736-34630529"; or i can choose any value i like? thanks in advanced.
[eluser]InsiteFX[/eluser]
Hi anna, You can choose what ever you want. CodeIgniter 2.0 requires that this key be set now, previous versions did not require it was an option. InsiteFX
[eluser]InsiteFX[/eluser]
Thank you. I am on at night and in the morning to check the forums for SPAMMING! But I also login in several times a day to check the forums. InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |