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.

Please help! ExpressionEngine broke when I went to a new server with PHP5 only!

October 10, 2010 9:04pm

Subscribe [4]
  • #1 / Oct 10, 2010 9:04pm

    Darren L

    16 posts

    Here is my site: http://www.ultragamer.com. It is not showing the correct pages at all. I have tried to make it use query string.

    I have made my mod_rewrite this:

    RewriteEngine On
    RewriteCond $1 !^(css|images|js|media|system|themes|favicon\.ico|robots\.txt|index\.php) [NC]
    RewriteRule ^(.*)$ index.php?/$1 [L]

    I have changed the path_info variable in index.php to this:

    $path_info = (isset($_SERVER['ORIG_PATH_INFO'])) ? $_SERVER['ORIG_PATH_INFO'] : @getenv('ORIG_PATH_INFO');

    It still will not work! Am I doomed? I will not install PHP4 on this server, nor am I going to pay for an upgrade to a product that said it required PHP4 or newer just so it works.

    Can someone please help me? I have sank so much time and money into this site that letting it die because ExpressionEngine couldn’t adapt would make me sick.

    Thanks,
    Darren

  • #2 / Oct 11, 2010 3:34pm

    Ingmar

    29245 posts

    What version and build of EE are you using? Can you please remove the mod_rewrite instructions for the time being? We need to test this with the “index.php” in your URLs.

  • #3 / Oct 12, 2010 12:06am

    Darren L

    16 posts

    I have removed them. I really hope I can fix this I cannot downgrade to PHP4.

  • #4 / Oct 12, 2010 4:13pm

    Ingmar

    29245 posts

  • #5 / Oct 12, 2010 10:24pm

    Darren L

    16 posts

    No, that still does not work. online-games and bad-ass-video-games has the wrong content.

  • #6 / Oct 12, 2010 10:24pm

    Darren L

    16 posts

    Even my system folder is not displaying any images. This is totally broken.

  • #7 / Oct 12, 2010 10:27pm

    Darren L

    16 posts

    This is crazy. This was working fine before. I can’t believe its stated it works with PHP5 and it clearly doesn’t. Why would it display the wrong content with everything messed up?? I simply used SCP to copy everything over and imported the database.

  • #8 / Oct 12, 2010 10:40pm

    Darren L

    16 posts

    I got my system to display normal after I changed my theme path, but all my content is still messed up.

  • #9 / Oct 13, 2010 11:03am

    Sue Crocker

    26054 posts

    DarrenL87, we don’t provide direct support for removing index.php via .htaccess. As Ingmar mentioned, you need to force query strings to get the site to work like you want. Let’s get things working with index.php? in your URLs. Then I can move this to the CodeShare Corner for additional community support.

  • #10 / Oct 13, 2010 11:14am

    Darren L

    16 posts

    The issue isn’t forced query strings! How many times have I told you all it is displaying the wrong content?

    This is the wrong page:
    http://www.ultragamer.com/index.php?/online-games

    This is the wrong page:
    http://www.ultragamer.com/index.php?/bad-ass-video-games

    Please do not try to change this into a different situation so you guys can simply brush off my problem. The situation is this system is displaying the wrong content and the script is messed up on PHP5, period. I want what I paid for, and when I paid it said it would work with PHP5.

    I switched Forced Query Strings on in the admin.

  • #11 / Oct 13, 2010 4:17pm

    Ingmar

    29245 posts

    The issue isn’t forced query strings!

    Well, it’s certainly displaying something, unlike without the question mark in the URL. By default, EE URLs consist of a template group and template name. What is “online-games” in this example?

    http://www.ultragamer.com/index.php?/online-games

    What page would you expext it to show? It looks like you are still not using index.php in your links.

    Rest assured that EE most certainly works with PHP5.

  • #12 / Oct 14, 2010 12:32am

    Darren L

    16 posts

    I will reinstall it this weekend and see if that helps. A transfer by SCP should have posed no problems. I have done all the trouble shooting.

  • #13 / Oct 14, 2010 12:33am

    Darren L

    16 posts

    It looks like the database became corrupt :(. I will do what I can.

  • #14 / Oct 14, 2010 4:20am

    John Henry Donovan

    12339 posts

    DarrenL87,

    You moved servers correct?
    Are you saving templates as flat files?

    Make sure you have updated your basepath for template files otherwise if EE cannot find them it will show older versions of templates from your db

    Is it your backup of the db is corrupt or the one you used to move your site?

  • #15 / Oct 14, 2010 11:58pm

    Darren L

    16 posts

    You know what all, it was my fault I did not understand I had to change all the paths.

    Thanks,
    Darren

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

ExpressionEngine News!

#eecms, #events, #releases