• Resolved Capn Jav

    (@capn-jav)


    I recently installed WordPress 3.1 (clean install) and things appeared fine until attempting to access via the admin dashboard: the Widgets panel, the Plugins panel, and the Your Profile panel. I received the following errors:

    wp-admin/widgets.php

    Warning: require_once(/home/user/public_html/blog/wp-admin/includes/widgets.php) [function.require-once]: failed to open stream: No such file or directory in /home/user/public_html/blog/wp-admin/widgets.php on line 13

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/user/public_html/blog/wp-admin/includes/widgets.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/user/public_html/blog/wp-admin/widgets.php on line 13

    wp-admin/plugins.php

    Fatal error: Class ‘WP_Plugins_List_Table’ not found in /home/user/public_html/blog/wp-admin/includes/list-table.php on line 41

    wp-admin/profile.php

    Fatal error: Call to undefined function get_user_to_edit() in /home/user/public_html/blog/wp-admin/user-edit.php on line 149

    Additional information:

    PHP version 5.3.3
    MySQL server version 5.0.91-community
    MySQL client version: 4.1.22

    Thank you in advance for your time, it is greatly appreciated.

    Sincerely,

    Capn Jav

Viewing 4 replies - 1 through 4 (of 4 total)
  • GRAQ

    (@graq)

    Looks like the install wasn’t as clean as you hoped? All your missing files are in the wp-admin dir. Try adding all those files again (FTP, unzip, whatever)?

    Thread Starter Capn Jav

    (@capn-jav)

    I should have mentioned:

    I re-uploaded the files in question numerous times to no avail.

    I attempted the following fix on widgets.php – as was suggested in other threads with similar widgets.php issues – prior to realising that profiles.php and plugins.php were also not working.

    Replaced

    require_once(ABSPATH . ‘wp-admin/includes/widgets.php’);

    With

    //require_once(ABSPATH . ‘wp-admin/includes/widgets.php’);
    require_once(‘includes/widgets.php’);

    This also didn’t fix the issue. Error was on line 14 instead of 13 due to the commented out line.

    Thread Starter Capn Jav

    (@capn-jav)

    OK, it probably is file related. Mangaged to track down the problem with the Plugins to:

    class-wp-plugins-list-table.php

    It was 0kb on my server, uploaded again and Plugin.php is functional. Clearly having file transfer issues to the server (never had this with filezilla before).

    With that said will attempt to track down the culprit file(s) for the other problems.

    Thread Starter Capn Jav

    (@capn-jav)

    profile.php resolved by re-uploading user.php (which was 0kb on the server).

    widgets.php resolved (not sure which upload caused the fix).

    In all cases it was file related.

    To others experiencing similar problems, check for file size inconsistencies.

    Thanks GRAQ.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Clean Install: widgets.php, plugins.php, profile.php not working!’ is closed to new replies.