WordPress.org

Support

Support » How-To and Troubleshooting » "function.require" error after site hosting transfer

"function.require" error after site hosting transfer

  • I’m by no means a programmer, nor am I an expert with WP, so I hope I can explain my issue correctly.

    I had a blog originally hosted with a company called HostPapa which I later moved to NetFirms because I didn’t care for the service at HostPapa. I asked for all the files I would need to set up my existing blog on my new host. They sent me a folder containing, according to them, my entire user database. I sat on it for months, but recently decided I’d like to re-post my original blog so I uploaded the folder for that blog to my new host. I was hoping it would be as simple as that to get the old site up and running in its new home. Well, everything seemed to upload just fine, but when I tried to launch the site, I got the following messages:

    Warning: require(/hermes/bosweb26c/b591/nf.adbook/public_html/accessantarctica/wp-includes/load.php) [function.require]: failed to open stream: No such file or directory in /hermes/bosweb26c/b591/nf.adbook/public_html/accessantarctica/wp-settings.php on line 21

    Fatal error: require() [function.require]: Failed opening required ‘/hermes/bosweb26c/b591/nf.adbook/public_html/accessantarctica/wp-includes/load.php’ (include_path=’.:/usr/local/lib/php-5.2.17/lib/php’) in /hermes/bosweb26c/b591/nf.adbook/public_html/accessantarctica/wp-settings.php on line 21

    You can see these if you try to open http://www.accessantarctica.com. Since I uploaded everything that was in the folder I was sent, and since I couldn’t be farther from a programmer, I have no idea what these errors mean except that it looks like it’s missing some file. Can anyone help me decipher what these errors are trying to tell me and how I might go about fixing them?

    I don’t know what hermes or bosweb26c are, but if they are something I can live without to get the basic functionality of the site back up, I’d be willing to circumvent them if that’s possible…

    Thanks in advance! And please use small words… 😉

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator kmessinger

    @kmessinger

    so I uploaded the folder for that blog to my new host

    Did you actually install WordPress? All you did is upload a folder containing (we hope) a backup of the database?

    Well, yes and no. Per the instructions of NetFirms, I installed WP into the public_html folder. They then pointed this blog to live in a folder called /wp, even though there was already a folder created called accessantarctica. When I spoke with someone else in the support department they said if I wanted to point it to that folder I could do so and then delete the /wp folder. WP does live in my home folder a few times (for other domains).

    Perhaps I should uninstall WP from the accessantarctica domain and reinstall it?

    So to be sure that I put everything in there, I deleted all files and started over from zero. I’m in the process of re-installing WP in the /accessantarctica folder, and then I’ll upload all the back-up files. I’ll update when it’s done with the results…

    Moderator kmessinger

    @kmessinger

    http://codex.wordpress.org/Moving_WordPress

    It is pretty easy if you are not changing the url, just the server.

    Well, now I’m really confused. I started over and deleted all files. I uploaded WordPress, and then I uploaded all the backup database files. I read through the article you linked to about moving WP and as a result of that I changed the wp-config.php file to reflect the new DB Name, etc.

    Now when I try to access the site, it re-directs to this:

    http://www.accessantarctica.com/cgi-sys/suspendedpage.cgi

    The error message on the page says: “Too many redirects occurred trying to open http://www.accessantarctica.com/cgi-sys/suspendedpage.cgi. This might occur if open a page that is which is redirected to open another page which is then redirected to open the original page.”

    But the thing is, I don’t know where the /cgi-sys/suspendedpage.cgi came from. I do know that when my site was hosted at the original hosting company, it was suspended because my account ran out (at my doing). So there is probably a page in there somewhere that is doing this, but I don’t know how to find it, or how it showed up this time but not last time I uploaded it.

    I have no idea how this happened by simply restarting the process. Any information would be helpful…

    Moderator kmessinger

    @kmessinger

    Did you change the host name in the config file?

    Assuming that ‘DB-HOST’ is the same as ‘HOSTNAME’, then yes.

    Just to be sure I started over again. This time everything seems to work – except that it doesn’t load any of the original content. It’s only the standard WP placeholder. So we’re making progress, but I just can’t seem to figure out why it won’t load all the data that was in the original blog.

    Can anyone shed some light on what I’m doing wrong or leaving out or whatever?

    Hey jason,

    May I know if you have the .sql file (database backup)? and also the whole folder of your wp?

    If yes, then no problem with that. You just
    1. install wordpress.
    2. import .sql file into phpmyadmin
    3. upload and replace all files in your wp installed folder.

    if your getting hard time of making this work, just feel free to contact me at http://www.erickabuzo.com or at http://www.hostscripter.com

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘"function.require" error after site hosting transfer’ is closed to new replies.
Skip to toolbar