• Rejean

    (@rejeanlepage)


    I have been using WP for about 3 years. I updated WP for that many years. And still I am no export with WP but I am an expert with several flavor of Unix including Solaris and Linux.

    Just recently I found out I was no longer able to go to my WP admin panel… blog/wp-admin/

    I checked every where and found several thread talking about such issues. thread 1, thread 2, thread 3.

    I also found in my log this error :

    PHP Warning: require_once(./wp-load.php) [function.require
    -once
    ]: failed to open stream: No such file or directory in admin.php on line 30, referer: https://panoramicsolution.com/blog/wp-login.php

    I was able to fix (or patch) my issue by replacing line 30 of wp-admin/admin.php replacing this line :
    require_once(dirname(dirname(__FILE__)) . ‘/wp-load.php’);

    with this line (in my case this is the full path) :
    require_once( ‘/home/webmaster/WEB/PS/blog/wp-load.php’);

    This whole situation does not make sense. I have several backup of everything (I can actually ZFS rollback to anywhere in time).

    I went back several months (up to where all was working fine) I stopped all service and reverted files to a prior state :

    – On the Worpress installed files: error still occurred.
    – On my MySQL database: error still occurred.
    – On my Apache http install: error still occurred.
    – On php install: error still occurred.
    – On all of the above: error still occurred.

    I even install a brand new WordPress 3.5.1 with a new database. Once configured with install.php went to wp-admin and still nothing works.

    I am very confused by where this problem come from. I thought it could come from a plugin or a theme but then the new installation remove this possibility.

    For now I can only conclude it’s not from my side so a file must be loaded from WordPress{.org|.com} that crash our installation!

    Anyone has another idea or know what causes that issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • No! Never, ever, edit WordPress core scripts. And do not encourage others to do so. Editing core scripts can bring down your entire site and/or open security holes for hackers to use.

    I suggest you contact your hosts about this.

    Thread Starter Rejean

    (@rejeanlepage)

    Dear esmi. Thank you for the comment but bell I AM the host, I am the SysAdmin and I and the webmaster and the blogger (this is for my technical blog). Yes I understand this is not the real solution but…

    Have you read my post saying that WP, MYSQL, APACHE, PHP was reverted to several prior state where it was working before but all failed. Nothing seams to do it. This is the only fix I found on this forum (other thread mentionned) that actually worked.

    In fact nothing much changed on that server (or I can’t find it), I spent days looking at several possibilities without success.

    If this method work for anyone in the same situation Well let be IT until we figure out the real reason. At least I was able to enter my Dashboard (WP Admin pannel).

    So if any one has any idea I am willing to try it!

    [No bumping. If it’s that urgent, consider hiring someone.]

    Thread Starter Rejean

    (@rejeanlepage)

    There is nothing urgent for me since it’s still working. I am only here to share my experience and try to help others in the same situation.

    I just updated to WP 3.5.2 and since the file I modified wp-admin/admin.php was not changed or replaced, the solution I provided is still working for me.

    Since the last 2 weeks I have been looking around a bit and yet did not find a reason for that behavior. I Additionally looked at Version 3.5.2 for fixes and security issues but since none change wp-admin/admin.php I am still failing to find any explanation.

    regards!

    Can some one help me This is the message I get when I try to log in to my site

    Warning: require(/home/content/83/11194683/html/wp-includes/version.php) [function.require]: failed to open stream: No such file or directory in /home/content/83/11194683/html/wp-settings.php on line 23

    Fatal error: require() [function.require]: Failed opening required ‘/home/content/83/11194683/html/wp-includes/version.php’ (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/83/11194683/html/wp-settings.php on line 23

    I am not very tecky so give me details that I can understand

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Warning: require_once(./wp-load.php) failed to open stream: No such file’ is closed to new replies.