Support » Fixing WordPress » move to a new host and get Warning: file_exists() [function.file-exists]:

  • Hi there, recently transfer my blog to a paid hosting rather than a free one.

    error. function.php ? or some server restriction?

    the error i get is

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/vol1/ is not within the allowed path(s): (/home/wageserv:/usr/lib/php:/usr/bin:/usr/local/bin:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/wageserv/public_html/ on line 2028

    there’s more. how do i solve it? thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s a server issue. Try contacting your hosts.

    Hi there, I contacted my host but he said that was the script error nit his server. But I tried installing a fresh wp nothing wrong. Maybe the database? When I import the database, error shows up. Is database storing any host thing? But after checking I couldn’t find any thing gonna do with the data base.

    One guess is if you transfered the database with site to new server, it still has old paths in the database.

    Example: If the root path to the old site was /home/vol1/ and the root path to the new site is /home/wageserv/public_html/ you will need to update those database records (mostly in the wp_options and wp_postmeta tables would be my guess) in order for it to resolve properly.

    If you have PHPMyAdmin on the new server, do a search for your part of your old path /home/vol1/ across the database to see if the old path appears in any of the records of in any of the tables.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘move to a new host and get Warning: file_exists() [function.file-exists]:’ is closed to new replies.