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.

Question Mark - Force URL Query Blah Blah Blah

April 08, 2009 7:06pm

Subscribe [1]
  • #1 / Apr 08, 2009 7:06pm

    NSFL

    12 posts

    This question may be related to a resolved thread.


    I’m having a bit of a problem with my site. For some strange reason, the URLs stopped working today. I can see the main page but clicking the comments link, entry link, about page, etc. does nothing. When I click them, all I see is the index page.

    I contacted my host for help and was told I need to enable “Force URL Query” because “this appears to be an issue with Expression Engine not working properly when PHP is compiled as CGI on the server”.

    I don’t know what that means but I enabled Force URL Query and now have a question mark in my URLs.
    Example: http://www.sewhawt.com/?/about

    I haven’t done anything on the backend, have not touched anything on the server, have absolutely no clue why the links stopped working. I have been using EE and this particular host for years without having to “Force URL Query” or a question mark in my URLs.

    Is this a problem with EE that magically appeared after all this time or does this mean my host changed something on their end?

    Please help!

    ExpressionEngine 1.6.4 -Build:  20080626

  • #2 / Apr 08, 2009 7:12pm

    Lisa Wess

    20502 posts

    It’s likely that your host changed something on their end; they are right that this is often needed when PHP is run as CGI which is not a great solution anyway, PHP as a module is preferred.

    We do sometimes see this when hosts upgrade their version of PHP, especially from PHP 4 to PHP 5.

  • #3 / Apr 08, 2009 7:28pm

    NSFL

    12 posts

    Thanks, Lisa!

    According to my cpanel, PHP has indeed been upgraded to version 5.2.9. If the problem is related to my host upgrading to version 5, is there anything I can do within EE to make the site work without the question mark in the URL or do I need to keep hounding my host for a fix?

  • #4 / Apr 08, 2009 7:29pm

    Lisa Wess

    20502 posts

    Your host needs to fix it, really.  You can read more about the issue in this kb entry.

  • #5 / Apr 08, 2009 8:42pm

    NSFL

    12 posts

    Great! Thanks for the info, Lisa.

  • #6 / Apr 08, 2009 8:49pm

    Greg Aker

    6022 posts

    I’m glad Lisa got you squared away.  If anything else comes up, please don’t hesitate to start a new thread!

    -greg

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

ExpressionEngine News!

#eecms, #events, #releases