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 migrating servers - site not displaying

January 16, 2011 4:35pm

Subscribe [3]
  • #1 / Jan 16, 2011 4:35pm

    Mr Goongs

    30 posts

    Hello.

    I’ve moved all my files and database over to a new server. I have logged into the control panel and updated all the server paths I could find and as far as I can see the control panel is all functioning correctly.

    The site however isn’t displaying most pages including the homepage. The homepage http://www.mysite.com is blank - no html whatsoever. http://www.mysite.com/courses/ is also blank, but if I visit http://www.mysite.com/courses/view/course1/ that page works fine! (I have .htaccess removing index.php but the same thing happens whether this is present or not).

    Another issue I’m having is with the forum is I get these errors across the top of the page:

    Warning: curl_setopt(): open_basedir restriction in effect. File(/tmp/binget-cookie.txt) is not within the allowed path(s): (<MYSERVERPATH>) in <MYSERVERPATH>public_html/themes/forum_themes/nlpa_theme/theme_global.php on line 132 Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in <MYSERVERPATH>/public_html/themes/forum_themes/nlpa_theme/theme_global.php on line 133

    I’ve switched to EngineHosting and am running multi site manager, EE 1.7, and forum module 2.2.0 if this helps.

    Thanks!

  • #2 / Jan 17, 2011 3:01am

    John Henry Donovan

    12339 posts

    Mr Goongs,

    You mentioned in your previous thread that you updated paths in your db while migrating. This is something you should never do. Can you confirm if this is the case?

    Can you turn on Error Reporting and see if any previously suppressed errors are now appearing on those blank pages?

  • #3 / Jan 17, 2011 12:33pm

    Mr Goongs

    30 posts

    Hello,

    Thanks for the reply. I’ve turned on error reporting in the way the guide showed but there are still no errors showing up. I then turned on template and sql debugging and those messages DO show up so something seems to be happening but there is no html sent to the browser.

    edit: no, the database hasn’t been modified, i got a fresh copy from the old server and uploaded it without editing anything. I did however change the paths after I logged in.

  • #4 / Jan 17, 2011 8:38pm

    Mr Goongs

    30 posts

    I found the problem. I hadn’t updated the server path in global template variables.

  • #5 / Jan 18, 2011 4:09pm

    Ingmar

    29245 posts

    Very good. Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases