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.

Home page is not displaying correctly after server change

October 14, 2013 7:01am

Subscribe [2]
  • #1 / Oct 14, 2013 7:01am

    Santo

    29 posts

    Hi!

    I’m having this problem and it is going on my nerves.

    I just moved an EE2 site (v2.3.1 - Build: date 20111017) to a new server. I did everything according to the guidelines. Everything works fine except for one little but annoying thing; the home page and/or offline template is not displaying.

    Here’ what happens:

    When i go to mydoamain.com Firefox just gives me a lot of code on the screen (see attached file). Chrome on the other hand gives me an old page that is missing a few updates. It gives me the same page no matter if I am logged in or not. Not logged in it should return the offline template but instead I see an old home page as if I was logged in. The navigation is there and if I navigate to a sub page I get the offline template.

    I use the same .htaccess file from the old server that was working. It is set up as per the guidelines for EE. The server has mod_rewrite activated.
    When I go to mydomian.com/index.php I get the right page displaying. All sub pages are working without index.php.

    I’ve tried to empty all cache on the server and in the browsers but nothing.

    Any idea what might be going on here?

  • #2 / Oct 14, 2013 11:48am

    tbritton

    714 posts

    If you changed your system folder name, check to see if there is a misspelling there. It doesn’t seem to see EE at all. Also make certain your index.php and admin.php are pointing to the renamed system folder. (first editable entry in both).

  • #3 / Oct 14, 2013 1:46pm

    Santo

    29 posts

    I didn’t rename the system folder but I’ve checked everything and it seams good. I also added the absulute path to the system folders in both index.php and admin.php.

    The thing is, all sub pages are working (without index.php in the url) and the admin section work. The only thing not working is the home page when not using index.php. That’s when I get that code on the screen.

  • #4 / Oct 14, 2013 1:47pm

    Santo

    29 posts

    I didn’t rename the system folder but I’ve checked everything and it seams good. I also added the absulute path to the system folders in both index.php and admin.php.

    The thing is, all sub pages are working (without index.php in the url) and the admin section work. The only thing not working is the home page when not using index.php. That’s when I get that code on the screen.

  • #5 / Oct 14, 2013 6:43pm

    tbritton

    714 posts

    I can only suspect the .htaccess file has something in it that a security bug fix made no longer work the way is used to. Peruse the release notes (I cannot at the moment) - sometimes it is in there what the effect will be!

    The other place to look would be the config.php file for some global setting, I suppose.

    Geesh - what a nightmare!

    Terry

  • #6 / Oct 15, 2013 2:42am

    Santo

    29 posts

    As usual “unlogical” problems are caused by things that are so stupid that you just don’t see them. For some reason one of the templates had been placed in the site root with the name index.html. That’s why I was seeing that code on the screen. Once gone, everything works as it should.

    Thanks!

  • #7 / Oct 15, 2013 12:37pm

    tbritton

    714 posts

    That’s two face-palm solutions today here already! I hope this epidemic doesn’t spread! 😉

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

ExpressionEngine News!

#eecms, #events, #releases