Results 1 to 5 of 5

Thread: function.require-once errors after moving to new server

  1. #1
    Join Date
    Oct 2006
    Posts
    142

    Default function.require-once errors after moving to new server

    I kept same DB user names passwords, moved everything over and now cannot access the site. Corrected the basepath in controlpanel table to reflect the new IP URL and still getting the errors below. Any ideas appreciated.

    PHP Code:
    Warning: require_once(/home/sellfin/public_htm/include/misc.inc.php) [function.require-once]: failed to open streamNo such file or directory in /home/sellfin/public_html/index.php on line 56

    Fatal error
    : require_once() [function.require]: Failed opening required '/home/sellfin/public_htm/include/misc.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/sellfin/public_html/index.php on line 56 

  2. #2
    Join Date
    Sep 2004
    Location
    New Brunswick
    Age
    37
    Posts
    10

    Default Re: function.require-once errors after moving to new server

    looks like a typo to me

    home/sellfin/public_htm/include/misc.inc.php

  3. #3
    Join Date
    Oct 2006
    Posts
    142

    Default Re: function.require-once errors after moving to new server

    Thank you very much, this was the typo indeed and I was just about to tear my hear....

  4. #4
    Join Date
    Dec 2010
    Posts
    1

    Question Re: function.require-once errors after moving to new server

    I have just manually moved my wordpress site from one server to another.

    The actual site appears to load correctly, but I can not login to wp-admin.

    Firstly the wp-admin page was blank.
    I searched the Net and found people suggested some fixes.
    I checked my functions.php file in the themes folder, but it did not have any blank lines at the top or bottom. So this did not appear to be the problem.

    Next I deleted the wp-admin folder from the server and re-uploaded it from my computer.

    After this, I am now getting this message on the wp-admin page:

    Warning: require_once(/home/life/public_html/digitalphotographybasics.org/wp-admin/includes/admin.php) [function.require-once]: failed to open stream: No such file or directory in /home/life/public_html/digitalphotographybasics.org/wp-admin/admin.php on line 37

    Please can anyone help me out?
    I have spent so much time on this already and now do not have any idea what to do at all.

    So frustrating.

    Thanks for any help!

    Leanne

  5. #5
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: function.require-once errors after moving to new server

    Quote Originally Posted by LeanneA View Post
    I have just manually moved my wordpress site from one server to another.
    This is Open-Realty Forums NOT Wordpress Forums and please(!!!)... you bumped a 2 years dead thread. Please don't do that - this is not allowed by Forum Rules.

    Eduardo

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •