I am moving my hosting company and want to migrate what I have already developed. I have moved the drupal code to the new hosting site. I have created the database and taken a dump of the old database and loaded it on the new website. When I try to bring up drupal it fails.. I get the following error..

warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/style.css) is not within the allowed path(s):

Has anyone moved drupal from one hosting company to another? Are there any special configurations that need to be done to get drupal to work?

Tony

Comments

mcload’s picture

nonprofit’s picture

Hey Tony,

If your old site is still up and running, you might want to consider http://drupal.org/project/backup_migrate

It's always worked well for me.

Blessings!

-NP

tvitale’s picture

No old site is not up..

tvitale’s picture

I was able to get the database loaded and the code installed. Although the site comes up there are many issues.. The menu link when clicked come up with page not found.. Some of the images don't display. The only error I get from the error logs is

File does not exist: /var/www/vhosts/databasedynamics.com/httpdocs/cyberbellum/block_refresh, referer: http://databasedynamics.com/cyberbellum/

Can anyone help?

Tony