Community

Migrating site host to host and looks like fresh site

Hi,
I am switching hosts after having site for a couple years. I copied files moved the database and thought I changed settings file correctly, but nothing is happening. The site looks like a new site. There is no content, the modules are mostly there, seems I am missing a few but other than core modules none were enabled. I tried enabling the modules but that did not seem to do anything. I think I probably have a problem between site and database. I actually found my banners ( for Marinelli theme) and they are in file but not showing on page.

when I go to setting for theme it has this code repeated several items

Notice: Undefined index: image_thumb in _marinelli_banner_form() (line 529 of /home/soulesse/public_html/sites/all/themes/marinelli/theme-settings.php).
Notice: Undefined index: image_path in _marinelli_banner_form() (line 535 of /home/soulesse/public_html/sites/all/themes/marinelli/theme-settings.php).
Notice: Undefined index: image_thumb in _marinelli_banner_form() (line 541 of /home/soulesse/public_html/sites/all/themes/marinelli/theme-settings.php).

I have been trying to get this for 2 days. What am I missing?

Thanks in advance for any help.

Comments

Database not from old site

If you are moving the site's database on other host and configuring settings.php to point to the database properly then the modules are enabled by default i.e. you get exact instance of the site. You might have did something wrong.

You can follow the following steps

1. Export your database from the current host.
2. FTP transfer your Drupal directory and Database file to the new host.
3. Import your database data.
4. Configure settings.php if db user or db name is changed.
5. Flush all cache's after moving site so that the menu's and theme and other registries can be rebuild according new configurations.
6. Check status report to check whether everything is configured.

Hth,
Sadashiv.