• Trying to log into the wp-admin part of our site, I was greeted by this nasty-looking bit:

    Warning: require_once(/home/the330/public_html//wp-admin/includes/template.php) [function.require-once]: failed to open stream: Permission denied in /home/the330/public_html/wp-content/plugins/feedwordpress/feedwordpress-walker-category-checklist.class.php on line 10

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/the330/public_html//wp-admin/includes/template.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/the330/public_html/wp-content/plugins/feedwordpress/feedwordpress-walker-category-checklist.class.php on line 10

    I have no idea where to even start looking for a solution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • It looks like the problem stems from the plugin that lives in the wp-content/plugins/feedwordpress directory. I suggest either removing that plugin manually via FTP, or resetting your plugins directory.

    Thread Starter dankadar

    (@dankadar)

    Thanks Drew. We removed that plug-in via FTP by renaming the folder. Now we’re getting this one:

    Warning: require_once(/home/the330/public_html/wp-admin/includes/admin.php) [function.require-once]: failed to open stream: Permission denied in /home/the330/public_html/wp-admin/admin.php on line 64

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/the330/public_html/wp-admin/includes/admin.php’ (include_path=’/home/the330/public_html/wp-content/plugins/tpc-memory-usage/library:.:/usr/lib/php:/usr/local/lib/php’) in /home/the330/public_html/wp-admin/admin.php on line 64

    Thread Starter dankadar

    (@dankadar)

    Now it’s this:

    Warning: require_once(/home/the330/public_html/wp-admin/includes/admin.php) [function.require-once]: failed to open stream: Permission denied in /home/the330/public_html/wp-admin/admin.php on line 64

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/the330/public_html/wp-admin/includes/admin.php’ (include_path=’/home/the330/public_html/wp-content/plugins/tpc-memory-usage/library:.:/usr/lib/php:/usr/local/lib/php’) in /home/the330/public_html/wp-admin/admin.php on line 64

    Re upload the admin.php file via ftp to the /admin/includes/ folder.

    Grab it from the download so you know it is a clean file, this assumes you are up to date with the latest version.

    admin.php line 64 is the closing tag ?>, so it looks like the tpc-memory-usage plugin has written an include once line in the file, and when you deleted the folder it cannot now find the file.

    You could download the file and look at line 64, remove the offending code and make sure line 64 is the closing tag as well, only if you are confident, but a clean upload is the better way.

    Edit: Looking again, replace all the files and folders in the /admin/ folder, overwriting them, no plugin should really be editing these files.

    HTH

    David

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

The topic ‘Help: Fatal error: require_once() [function.require]’ is closed to new replies.