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/0fees.net/fees0_3813891/feliciang.com/htdocs/wp-content) 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/feliciang.com/wp-includes/functions.php on line 2028

    there’s more. how do i solve it? thanks! http://www.feliciang.com

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/0fees.net/fees0_3813891/feliciang.com/htdocs/ and the root path to the new site is /home/wageserv/public_html/feliciang.com/ 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/0fees.net% 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.