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.

Templates won't display on EE1 site moved to new server

May 01, 2012 8:47am

Subscribe [2]
  • #1 / May 01, 2012 8:47am

    rmwatson

    29 posts

    A client has moved an old EE1.6 site I built to a new host and now a lot of the functionality isn’t working. I have one problem which I can’t get my head around:

    It appears that only the template set as the home page will display on the site. If I create a new template called ‘test’ and then go to http://www.sitename.com/index.php/test it just takes me to the home page (same as all the templates already in the system).

    But if I set ‘test’ to be the sites home page it displays fine.

    Is there a setting somewhere which I have missed?

    Thanks

  • #2 / May 01, 2012 4:48pm

    Dan Decker

    7338 posts

    Hi rmwatson,

    I’m sorry for the trouble you are having after the move!

    We have a Wiki on moving EE 1 to a new server. Go over the outline there and let me know if you still need assistance.

    Cheers!

  • #3 / May 01, 2012 5:19pm

    rmwatson

    29 posts

    Thanks for the reply. Yeah I went through that (I didn’t actually move the site myself but I went through the ‘V. Final steps’)

    Everything else seems to be working fine now, I can edit entries, upload files I just can’t work out why the urls have stopped working.

    I haven’t used htaccess to remove the index.php or anything.

    Any help greatly appreciated.

    Thanks

  • #4 / May 02, 2012 4:09pm

    Dan Decker

    7338 posts

    Hi rmwatson,

    This is certainly worth a closer look. Be on the lookout for an email from me.

    Cheers,

  • #5 / May 03, 2012 3:53pm

    rmwatson

    29 posts

    Hi Dan

    Did you get the details?

    Thanks

  • #6 / May 03, 2012 4:16pm

    Kevin Smith

    4784 posts

    Sent this information to rmwatson via email, but I wanted to update the thread as well:

    It appears to be an issue with the new host’s server. EE relies on a PHP superglobal variable called $_SERVER[‘PATH_INFO’] to make sense of any information that follows the index.php part of the URL. That’s what helps it load specific templates and deliver segment information to the CMS. It appears that your client’s new host has made this information unavailable to EE. I’d suggest forwarding this info to your host so that they can fix this up!

  • #7 / May 03, 2012 10:03pm

    rmwatson

    29 posts

    Great, thanks for getting to the bottom of it.

    Would have taken days for me to work that out!

  • #8 / May 07, 2012 3:26pm

    Dan Decker

    7338 posts

    Hi rmwatson,

    I’m glad Kevin was able to get you some useful information!

    Is there anything else I can assist you with?

    Cheers,

  • #9 / May 22, 2012 3:56pm

    x.algorithm

    1 posts

    I have much the same problem.  However I control the globals variable and phpinfo shows it on. Should I start a new thread?

  • #10 / May 25, 2012 3:33pm

    Dan Decker

    7338 posts

    Hi x.algorithm,

    Welcome to ExpressionEngine and the Forums!

    Yes, please do! Be sure to include your version of ExpressionEngine. We need a detailed description of the problem. What is your expectation and what happened instead?

    Cheers,

  • #11 / Sep 05, 2012 5:56am

    rmwatson

    29 posts

    Client has finally spoken to their host and I have gained access to their control panel. Following the hosts instructions I have switched on ‘Register Globals’ in their PHP settings but the problem still remains.

    Is anyone their able to look at my EE setup and see what the problem is?

    Many thanks

  • #12 / Sep 06, 2012 6:47am

    rmwatson

    29 posts

    I followed the advice on this wiki:

    http://expressionengine.com/wiki/Workaround_for_Forced_Query_Strings/

    And it worked with all my templates but now the home page won’t display unless I go to domain.com/index.php

    Is there a workaround for this?

    Thanks

  • #13 / Sep 06, 2012 6:56am

    rmwatson

    29 posts

    ...and think I’ve sorted it now. Just needed to add ‘DirectoryIndex index.php’ to the htaccess

  • #14 / Sep 06, 2012 2:44pm

    Kevin Smith

    4784 posts

    Good to hear you got it sorted out, rmwatson. Is everything working as expected now?

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

ExpressionEngine News!

#eecms, #events, #releases