Welcome Guest, Not a member yet? Register   Sign In
Intalling Codeigniter
#1

[eluser]alejandra[/eluser]
Maybe this is very simple problem to resolve. I have installed codeigniter in one of my sites under a subfolder and when I test the installation I get a page with the following message:

Disallowed Key Characters.

How can I fixed this problem???
#2

[eluser]pistolPete[/eluser]
Read through these threads:
- http://ellislab.com/forums/viewthread/54019/
- http://ellislab.com/forums/viewthread/51826/
#3

[eluser]alejandra[/eluser]
Interesting I found the lines that are generating the error and is found in the following function in the Input.php under the library folder

Code:
function _clean_input_keys($str)
{
   if ( ! preg_match("/^[a-z0-9:_\/-]+$/i", $str))
      {
     exit('Disallowed Key Characters. ');
      }

   return $str;
}

I output the $str and this is what I'm getting

activeTabsarticleadmin_php?id=2&hash;=$1$7zNzFZUR$lZIvq7DiuTLph2gm9_ktQ0

If I comment the whole if statement I would get the welcome page, but I would not like to comment this line because I know this take care of potential injections and I've had that problem before.

Thanks!
#4

[eluser]alejandra[/eluser]
Thanks! This fixed my problem.




Theme © iAndrew 2016 - Forum software by © MyBB