I moved my hosting to another server. Copied my Drupal installation folder and recreated my database from a .sql file using PHPMyAdmin and finally updated my settings.php file to poing to the new MySQL server. On the new server when I try to access the site I get the following:
**************************************************************************
<?php
// $Id: index.php,v 1.91 2006/12/12 09:32:18 unconed Exp $
/**
* @file
* The PHP page that serves all page requests on a Drupal installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*/
require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
$return = menu_execute_active_handler();
// Menu status constants are integers; page content is a string.
if (is_int($return)) {
switch ($return) {
case MENU_NOT_FOUND:
drupal_not_found();
break;
case MENU_ACCESS_DENIED:
drupal_access_denied();
break;
case MENU_SITE_OFFLINE:
drupal_site_offline();
break;
}
}
elseif (isset($return)) {
// Print any value (including an empty string) except NULL or undefined:
print theme('page', $return);
}
drupal_page_footer();
***********************************************************************
Any idea why? The site is still operational on the previous hosting server. Please help!!
Comments
Ask your host for support.
Ask your host for support. PHP files are not being processed as PHP files, and you need an Apache handler setting up.
This signature is currently blank
Hopefully the site is not
Hopefully the site is not under a public URL as you may be giving access to your config file with it's passwords for the world to see.
Fixed!!!
First of all, thanks to @JamesOakley.
I followed the steps in this blog (http://help.godaddy.com/article/1082) and that corrected my problem.
Well done
Glad to hear it's all OK
This signature is currently blank