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.

"Invalid GET Data" when ? in URL (css, logout ..)

September 08, 2011 12:17pm

Subscribe [3]
  • #1 / Sep 08, 2011 12:17pm

    brainbrain.es

    9 posts

    Hi,
    I have a working installation of ExpressionEngine in my local machine for deployment,
    Now, I have uploaded everything to Dreamhost server , changing the configuration of db and paths, .htaccess file and clearing cache.

    Almost everything works very nice.


    The only problem is with css files like http://ee.mydomain.es/?css=general/reset_css.v.1315091726
    And also with “login out” link wich is http://ee.mydomain.es/?ACT=16

    Both url are giving the same output Error ,  a blank page with an Invalid GET Data  message.

    I think maybe it’s some security feature, but I don’t know to disable, or even if its something in php.ini or ExpressionEngine core.

    edit: I’m using 2.2.2 version.

    Thanks.
    Alfonso.

  • #2 / Sep 08, 2011 2:27pm

    brainbrain.es

    9 posts

    I’ve found some hints

    the log out link its going to http://www.mydomain.com/?ACT=16  and not working ,
    but if I put manually   http://www.mydomain.com/index.php?ACT=16  then it’s working ,

    so it’s something with removing index.php ?

  • #3 / Sep 08, 2011 2:45pm

    brainbrain.es

    9 posts

    ¡¡ finally I solved it !!

    adding this two lines in my .htaccess

    Options +MultiViews +FollowSymLinks    
        DirectoryIndex index.php index.html

    So if you have Dreamhost and getting the “Invalid GET date”  message you can try with this .htaccess

    <IfModule mod_rewrite.c>
        Options +MultiViews +FollowSymLinks    
        DirectoryIndex index.php index.html
     
       RewriteEngine On
        # Removes index.php
        RewriteCond $1 !\.(gif|jpe?g|png|css)$ [NC]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ /index.php?/$1 [L]
        # If 404s, "No Input File" or every URL returns the same thing
        # make it /index.php?/$1 above (add the question mark)
    </IfModule>

    And in CP Home -> Output and Debugging Preferences
    set Force URL query strings to No

  • #4 / Sep 08, 2011 10:59pm

    Dan Decker

    7338 posts

    brainbrain.es,

    I’m glad to see you were able to sort this out! Thank you for sharing your solution, it may serve to help others in the same situation.

    Is there anything else we can assist you with?

    Cheers,

  • #5 / Sep 09, 2011 11:23am

    brainbrain.es

    9 posts

    You’re welcome,
    Every thing it’s fine for the moment, thanks Dan.

    Just as suggestion,
    may be it make sense to have this specific .htaccess configuration in the respective Wiki page.
    http://expressionengine.com/wiki/Category:.htaccess/
    with subsections of the .htaccess page for each Hosting provider.

    Thank for great support.
    Alfonso.

  • #6 / Sep 09, 2011 12:50pm

    Sue Crocker

    26054 posts

    You should be able to add this info yourself to the wiki entry… but glad things are working again. Feel free to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases