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.

Problems with PHP Version 5.1.4

January 25, 2008 11:24am

Subscribe [1]
  • #1 / Jan 25, 2008 11:24am

    Ben McNelly

    20 posts

    We built the site on a collocated dev server running 5.2.1, and now that we are moving it over to the clients hosting (godaddy) it is running on 5.1.4

    The problem here is that the url’s only work with query_string (?) and not path_info. I have changed index.php to qtype = 2, and done a find replace to get allot of the hardcoded url’s to use “?” instead of just a slash, but the forum and places using solespace’s User module are broken still. The forum still insists on using path_info I guess.

    I was under the impression PHP 5.anything would not have these issues on linux hosting. Especially the character issues. What can I do? I really think this should be working even on 5.1.4, so maybe I am missing some config options?

  • #2 / Jan 25, 2008 12:21pm

    Ben McNelly

    20 posts

    Also should note that while system parts of ee are using query mode (index.php?), like logging in and out, in the templates {path=news/today} would still return index.php/news/today (instead of index.php?news/today)

  • #3 / Jan 25, 2008 12:29pm

    Ben McNelly

    20 posts

    We have been discussing this on IRC (freenode #expressionengine), and apparently the php version should be supporting this…

    I am still stumped on how to get this to work. I need help either getting all the dynamic EE generated links to use query mode, or get ee working with my pretty urls like normal.

  • #4 / Jan 25, 2008 12:36pm

    Lisa Wess

    20502 posts

    Hi, Ben - GoDaddy does, indeed, require the query string.  This isn’t a PHP version issue, but a web-server issue.  You can read about it in this kb entry.

    You need to update your URLs to all use the question mark. For the forum, this is done in the default preferences.  For anything using path= statements, the force query string option to “on” should work.  Any other hard-coded paths you’ll need to update manually.

  • #5 / Jan 25, 2008 12:42pm

    Ben McNelly

    20 posts

    Thanks Lisa, question though. Is there some place in the admin to change this as well? I have updated index.php, but still looking for any other places to set this.

  • #6 / Jan 25, 2008 12:47pm

    Lisa Wess

    20502 posts

    Yes, in Output and Debugging - turn Force Query Strings to on.

  • #7 / Jan 25, 2008 12:52pm

    Ben McNelly

    20 posts

    Thanks much 😊

    Now I remember that place… Had to do this before a long time ago on a windows server. gah.

  • #8 / Jan 25, 2008 2:38pm

    Lisa Wess

    20502 posts

    That’s also mentioned in the KB article linked above.  Glad you got it working!

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

ExpressionEngine News!

#eecms, #events, #releases