Welcome Guest, Not a member yet? Register   Sign In
Disallowed Key Characters!!!!!!!!!! WTF!!!
#1

[eluser]behnampmdg3[/eluser]
Hi;

Suddenly out of nowhere I get "Disallowed Key Characters."!!!!


When I clean cache and cookies I can load any page "ONLY ONCE" and after that I get the same error again!!!!

What happened?

#2

[eluser]Tpojka[/eluser]
Tried to google it?
I can see at least 4 top results for certain query that are solving such a problem.
#3

[eluser]behnampmdg3[/eluser]
[quote author="Tpojka" date="1388486563"]Tried to google it?
I can see at least 4 top results for certain query that are solving such a problem.[/quote]Wow you just Googled it for me, you are really funny.

Thats not it. None of them worked!
#4

[eluser]Tpojka[/eluser]
Which one charachter is disallowed?
#5

[eluser]behnampmdg3[/eluser]
I found the solution.

In config/config.php sess_cookie_name was set to "!*&&^%$#%!!#".

Changed it to alphnumeric and it works.

#6

[eluser]vladyn[/eluser]
I have no such variable in my config however. And I still have **Disallowed Key Characters.** Error from back-end
#7

[eluser]behnampmdg3[/eluser]
[quote author="vladyn" date="1397728282"]I have no such variable in my config however. And I still have **Disallowed Key Characters.** Error from back-end[/quote]whats your config like? Paste it here.

Also clear your cache.
#8

[eluser]Unknown[/eluser]
v2.8.1 - Build Date: 20140314

I am having this same probem. I have:
Cleared my browser cache,
Cleared my EE cache
Check my .htacess file
added and the removed the pipe character from the CI input.php file

The only time I get this error is when I am creating a new channel field. I have recreated the channel group, field group, and channel field itself with no luck. The error occured when i went from a local enviroment to a dev enviroment

Thank you very much for your help,
Danny

Code:
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$config['index_page'] = "";
/*
|--------------------------------------------------------------------------
| ExpressionEngine Config Items
|--------------------------------------------------------------------------
|
| The following items are for use with ExpressionEngine.  The rest of
| the config items are for use with CodeIgniter, some of which are not
| observed by ExpressionEngine, e.g. 'permitted_uri_chars'
|
*/

$config['app_version'] = '281';
$config['license_number'] = "license_number";
$config['debug'] = '1';
$config['cp_url'] = 'http://dev.mysite.com/admin.php';
$config['doc_url'] = "http://ellislab.com/expressionengine/user-guide/";
$config['is_system_on'] = "y";
$config['allow_extensions'] = 'y';
$config['cookie_prefix'] = '';
$config['cookie_httponly'] = 'y';


/*
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string.  The default setting of "AUTO" works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'AUTO'   Default - auto detects
| 'PATH_INFO'  Uses the PATH_INFO
| 'QUERY_STRING' Uses the QUERY_STRING
| 'REQUEST_URI'  Uses the REQUEST_URI
| 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO
|
*/
$config['uri_protocol'] = 'AUTO';

/*
|--------------------------------------------------------------------------
| Default Character Set
|--------------------------------------------------------------------------
|
| This determines which character set is used by default in various methods
| that require a character set to be provided.
|
*/
$config['charset'] = 'UTF-8';


/*
|--------------------------------------------------------------------------
| Class Extension Prefix
|--------------------------------------------------------------------------
|
| This item allows you to set the filename/classname prefix when extending
| native libraries.  For more information please see the user guide:
|
| http://codeigniter.com/user_guide/general/core_classes.html
| http://codeigniter.com/user_guide/general/creating_libraries.html
|
*/
$config['subclass_prefix'] = 'EE_';

/*
|--------------------------------------------------------------------------
| Error Logging Threshold
|--------------------------------------------------------------------------
|
| If you have enabled error logging, you can set an error threshold to
| determine what gets logged. Threshold options are:
|
| 0 = Disables logging, Error logging TURNED OFF
| 1 = Error Messages (including PHP errors)
| 2 = Debug Messages
| 3 = Informational Messages
| 4 = All Messages
|
| For a live site you'll usually only enable Errors (1) to be logged otherwise
| your log files will fill up very fast.
|
*/
$config['log_threshold'] = 0;

/*
|--------------------------------------------------------------------------
| Error Logging Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the
| default system/expressionengine/logs/ directory. Use a full server path
| with trailing slash.
|
| Note: You may need to create this directory if your server does not
| create it automatically.
|
*/
$config['log_path'] = '';

/*
|--------------------------------------------------------------------------
| Date Format for Logs
|--------------------------------------------------------------------------
|
| Each item that is logged has an associated date. You can use PHP date
| codes to set your own date formatting
|
*/
$config['log_date_format'] = 'Y-m-d H:i:s';

/*
|--------------------------------------------------------------------------
| Cache Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the
| default system/expressionengine/cache/ directory. Use a full server path
| with trailing slash.
|
*/
$config['cache_path'] = '';

/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| If you use the Encryption class or the Sessions class with encryption
| enabled you MUST set an encryption key.  See the user guide for info.
|
*/
$config['encryption_key'] = '';


/*
|--------------------------------------------------------------------------
| Rewrite PHP Short Tags
|--------------------------------------------------------------------------
|
| If your PHP installation does not have short tag support enabled CI
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
| in your view files.  Options are TRUE or FALSE (boolean)
|
*/
$config['rewrite_short_tags'] = TRUE;


/* End of file config.php */
/* Location: ./system/expressionengine/config/config.php */
#9

[eluser]Tpojka[/eluser]
^
It is not CodeIgniter exact file. It is an Expression Engine file and you should ask in appropriate forums place for it.
As paying customer you will end with solution for your issue as well.
#10

[eluser]vladyn[/eluser]
[quote author="behnampmdg3" date="1397770263"][quote author="vladyn" date="1397728282"]I have no such variable in my config however. And I still have **Disallowed Key Characters.** Error from back-end[/quote]whats your config like? Paste it here.

Also clear your cache.[/quote]

I get this sorted out - not how - probably by clearing the browser cache.
Many thanks!




Theme © iAndrew 2016 - Forum software by © MyBB