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.

Page Not Found - Part 2

June 03, 2009 10:39pm

Subscribe [2]
  • #1 / Jun 03, 2009 10:39pm

    usmangroup

    14 posts

    This question is related to resolved thread.

    I’ve been going back and forth with GoDaddy to get Expression Engine to work. The last response I got from them is the following:

    To have everything happen the way you are wanting to do it you will need to upgrade to PHP 5.x. Directions on changing this was provided to you in the previous email. Also, yes ORIG_PATH_INFO is supported. For further customization you can create a php5.ini file (once using PHP5.x on the hosting account) and code it correctly and upload it to the hosting account. For more information about that file, use the search engine of your choice.

    I went ahead and switched to PHP 5. I have updated the links to use the path variable and the links are still not working.

    Any help would be appreciated. Thanks!

  • #2 / Jun 03, 2009 10:45pm

    Greg Aker

    6022 posts

    what is going on?  How are your links not working?  Are you just getting the home page content on every page?  Are you forcing query strings now?

  • #3 / Jun 03, 2009 10:51pm

    usmangroup

    14 posts

    I am not forcing query strings right now. Using query strings would not be ideal. When I click a link, the home page comes up. I tried the workaround that talks about using ORIG_PATH_INFO (http://expressionengine.com/wiki/Workaround_for_Forced_Query_Strings and that didn’t work either. I reverted the index.php file back to the original coding.

  • #4 / Jun 03, 2009 10:54pm

    Greg Aker

    6022 posts

    Okay, you are probably still running PHP as a CGI and not an apache module.  So, you’re going to need to force query strings.

    See:

    http://www.susg.com/index.php?/solutions/  —- Works
    http://www.susg.com/index.php/solutions/  —- Doesn’t Work

    -greg

  • #5 / Jun 03, 2009 11:00pm

    usmangroup

    14 posts

    Should I ask GoDaddy to make a change to the Apache module or do you think that would not happen? I’m sorry…I’m not too familiar with apache and CGI. I don’t know what that ll involves.

    Thanks!

  • #6 / Jun 04, 2009 6:48am

    Ingmar

    29245 posts

    To be honest, I don’t think it’s an option with them. You might ask about it, of course, but it would surprise me. As Greg pointed out forcing query strings (ie have EE automatically insert a question mark in your URLs) is probably your best option.

  • #7 / Jun 04, 2009 9:38pm

    usmangroup

    14 posts

    Well…I received a response from GoDaddy. According to them, with their Linux based shared hosting plans (which is what we are using), PHP is run as an Apache module.

    I guess I’m at a dead end?? They offered to talk to me on the phone to help resolve, but I don’t know what else I could do to help them with that…

    Do I need to do anything with initialization files since I’m using PHP 5?

  • #8 / Jun 04, 2009 10:53pm

    Greg Aker

    6022 posts

    Go to:  Admin -> Utilities -> PHP Info, look around the 3rd line “Server API”.  Does it say CGI in there at all?  If so, they are running PHP as CGI, so you are going to need to force query strings.

    No, you are not at a dead end at all, there are two choices.  a.)  Force Query Strings at Admin -> Sys Prefs, so you URL has the ? in it or b.)  Don’t use GoDaddy as your hosting & be judicious with making sure the host isn’t using FastCGI to serve PHP.  😊

    Make sense?

    -greg

  • #9 / Jun 04, 2009 11:01pm

    usmangroup

    14 posts

    Thanks! They’re actually using CGI/FastCGI (according to EE). Thank you for the help.

  • #10 / Jun 05, 2009 4:41am

    Ingmar

    29245 posts

    So, you’re up and working as intended now?

  • #11 / Jun 05, 2009 9:31am

    usmangroup

    14 posts

    Not ideally…I sent a message to GoDaddy explaining to them what was being sent to EE and that it indicates that they are running PHP using CGI. I’m waiting to hear back from them, but I’m not hopeful. Worse case, I’ll run with query strings.

    Thank you for your ongoing promptness in replies and assistance.

  • #12 / Jun 05, 2009 11:10am

    Ingmar

    29245 posts

    OK, looks like you still found a working solution for you. We have had issues with GoDaddy before, for other users it worked just fine… Please post again if you need additional help.

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

ExpressionEngine News!

#eecms, #events, #releases