ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Entirely locked out of site. All it says is disallowed character keys. HELP!

September 09, 2010 2:27pm

Subscribe [2]
  • #1 / Sep 09, 2010 2:27pm

    Gwarrior

    40 posts

    Disallowed Key Characters. That’s all my page says, that once displayed my homepage. The only thing I changed was I duplicated the CodeIgniter Session class and renamed it Sessions (with the s). I deleted it and rolled back everything, yet still getting this message. It doesn’t even say an file or line number. HELP!

    [Mod Edit: Moved to the EE 2 Technical Support forum]

  • #2 / Sep 09, 2010 2:40pm

    Gwarrior

    40 posts

    I was able to fix it by changing the Input.php library file with the following:

    function _clean_input_keys($str)
    {
    if ( ! preg_match("/^[a-z0-9:_\/-]+$/i", $str))
    {
    exit('Disallowed Key Characters: '.$str); // Added the variable to display.
    }
    
    return $str;
    }
  • #3 / Sep 09, 2010 11:18pm

    Sue Crocker

    26054 posts

    So everything is OK again?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases