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.

Disallowed Key Characters

July 02, 2007 3:42pm

Subscribe [8]
  • #16 / Jul 03, 2007 6:34pm

    Derek Allard

    3168 posts

    Hey Paul.

    Can your client log in with an alternate browser?  That would eliminate the cookie issue.

    If you could update to 1.6, that would make it easier to trouble shoot, since we’d be looking at the same code.  If/when you do update the regular expression will be restored, but if you choose not to update, could you go into core.input.php and change the regular expression back to its default, and around line 410 change to

    exit('Disallowed Key Characters');

    into

    exit('Disallowed Key Characters: '.$str);

    In fact, change that line no matter what - it’ll tell us what is triggering the error.

    Finally, if the character set is getting borked, that could explain it.  Could you go into CP Home ›  Admin ›  System Preferences ›  General Configuration and tell me what your default character set is?

    Thanks

  • #17 / Jul 03, 2007 7:23pm

    Can your client log in with an alternate browser?
    Yes, they installed FireFox and that ran the site fine.

    I will also update to 1.6 tomorrow…
    PLUS change the code to:

    exit('Disallowed Key Characters: '.$str);

    Default Character Set:
    utf-8

    Hope this helps, I’ll let you know how the update goes tomorrow.

    Many thanks, Paul

  • #18 / Jul 03, 2007 7:34pm

    Derek Allard

    3168 posts

    Great, and utf-8 is good also.

    Ask them if they have any browser extensions such as the Google toolbar.  Ask them to remove or disable all of them and try again… there have been some reports of these interfering.

  • #19 / Jul 14, 2007 10:06pm

    stinhambo

    1268 posts

    Sorted now

  • #20 / Jul 15, 2007 3:08pm

    I need to confirm with the client, I was waiting for them to try deleting all cookies to see if it was a cookie.

    stinhambo - did you mean this error IS sorted now, or were you asking if its sorted?

    If its fixed what was it?

  • #21 / Jul 15, 2007 10:03pm

    stinhambo

    1268 posts

    It is sorted. I missed a quotation mark in the one of the parameters!

  • #22 / Jul 21, 2007 8:37am

    stinhambo, did you mean this will no work on our site, or were you refering to your site?

    I just wanted to cdlarify we have this problem on http://www.luellasboudoir.co.uk/

    if its was would this fix have been rolled out in version 1.6?

  • #23 / Jul 21, 2007 6:32pm

    Tiger0516

    31 posts

    I am search “Disallowed Key Characters” and I find this thread.

    I have the same problem. I am using stand-alone entry form, and when I submit the form, I got “Disallowed Key Characters”

    Here is the simple stand-alone entry form template I am using:

    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>
    <html lang=“en”>
    <head>

    <title>Untitled</title>


    </head>
    <body>

    {exp:weblog:entry_form weblog="proposals" return="proposals/submit"}

    <h1>Please complete the form below to submit your proposal</h1>

    Entry Title

    <input type=“text” name=“title” id=“title” value=”{title}” size=“50” />

    URL Title

    <input type=“text” name=“url_title” id=‘url_title’ value=”{url_title}” maxlength=“75” size=“50” />

    Proposal Title: <input type=“text” id=”{pTitle}”  name=”{pTitle}” size=“20” />


    <input type=“submit” name=“submit” value=“Submit” />

    {/exp:weblog:entry_form}

    </body>
    </html>

     

  • #24 / Jul 22, 2007 7:33am

    I think its because of this: id=’url_title’

    Still not sure why ours breaks!!

  • #25 / Jul 22, 2007 9:43am

    stinhambo

    1268 posts

    I meant I missed one in my code.

  • #26 / Jul 22, 2007 12:15pm

    Robin Sowell

    13255 posts

    Sorry folks- I’m getting confused on this thread as to who is still breaking and who isn’t.  editessay- I’d start a new post for yours.  And I’d do a copy/paste of the default SAEF tag- let us know if it throws the error using that.  And what version/build your working on.

    paulcripps- are you still jamming up?  And stinhambo is squared away- correct?

  • #27 / Jul 24, 2007 5:31pm

    To me that all sounds correct…  I am yet to confirm where we are. My clients just given birth! So checking this is the last thing on their mind! (congrats Matt and Jude)
    Once they are back and able to test I’ll confirm where we are.

    If people have a suggestion about the error “Disallowed Key Characters” for the website http://www.luellasboudoir.co.uk/index.php then please post them here.
    If people have similar problems then I suggest you read all these threads, then start your own, new post 

  • #28 / Jul 25, 2007 12:05pm

    Robin Sowell

    13255 posts

    😉  Yep- good advice.  And also yep- baby is a bit higher priority!  Let us know when you hear something.  I lean toward a cookie issue myself- and the upgrade is always a good idea regardless.

  • #29 / Aug 13, 2007 6:19pm

    Below is the cookie that was breaking the Mac Safari 2.04 build 419.3

    When removed the site work fine??!!

    Any answers would help 😊

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    
    <array>
        <dict>
            <key>Created</key>
            <real>222121421</real>
            <key>Domain</key>
            <string>www.luellasboudoir.co.uk</string>
            <key>Expires</key>
            <date>2008-01-15T20:24:22Z</date>
            <key>Name</key>
            <string>luellasboudoir.co.uk_rachel|real_name</string>
            <key>Path</key>
            <string>/</string>
            <key>Value</key>
            <string>Rachel+Attwell</string>
        </dict>
    </array>
    </plist>
  • #30 / Aug 13, 2007 6:50pm

    Derek Jones

    7561 posts

    The “Name” is the cookie’s “key”: luellasboudoir.co.uk_rachel|real_name

    The pipe symbol “|” is not an allowed character in a cookie key, nor is the period “.”.

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

ExpressionEngine News!

#eecms, #events, #releases