Title: Weird error in logs when activating script
Last modified: August 21, 2016

---

# Weird error in logs when activating script

 *  Resolved [SickSquirrel](https://wordpress.org/support/users/sicksquirrel/)
 * (@sicksquirrel)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/weird-error-in-logs-when-activating-script/)
 * I run this on 7 sites with no problem. Put it on another and can’t activate. 
   I get a 500 error.
 * Error logs show
 * gives me a 500 error. So, I check error logs
 * [Fri Nov 29 20:48:53 2013] [error] [client *******7] PHP Fatal error: require()[
   function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path
   =’.:/opt/php5214/lib/php’) in /mnt/glusterfs/apache/hosting-dir/****/user_dir/
   domain.com/index.php on line 17
 * [Fri Nov 29 20:50:01 2013] [error] [client ******17] terminate called after throwing
   an instance of ‘, referer: [http://www.domain.com/wp/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=](http://www.domain.com/wp/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=)
 * [Fri Nov 29 20:50:01 2013] [error] [client *****.17] suPHP::LookupException, 
   referer: [http://www.domain.com/wp/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=](http://www.domain.com/wp/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=)
 * First error appears to be chmod but what should that file be set at?
 * Second/third are this plugin failing to activate. Why?
 * [http://wordpress.org/plugins/register-ip-multisite/](http://wordpress.org/plugins/register-ip-multisite/)

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

 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 6 months ago](https://wordpress.org/support/topic/weird-error-in-logs-when-activating-script/#post-4367771)
 * What other plugins are running?
 * Do ANY activate?
 * Multisite or single site (and subsequently, network activation is on multisite?)?(
   My guess based on your error is that you’re running it on a single-site instance,
   since you mention wp/wp-admin/plugins.php)
 * It really sounds like the problem’s the server or setup, but I don’t have a box
   handy with suPHP (or PHP 5.2 for that matter, everything I have is 5.3 or higher).“
   Failed opening required ‘./wp-blog-header.php'” is weird, since I’m not calling
   that at all….
 * Did you set up WP in it’s own directory correctly?
 *  Thread Starter [SickSquirrel](https://wordpress.org/support/users/sicksquirrel/)
 * (@sicksquirrel)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/weird-error-in-logs-when-activating-script/#post-4367777)
 * I have other plugins that are activated and run fine. Never had this error and
   I run your plugin on seven other sites I believe. I’m not on my computer; am 
   on iPhone and I can’t login to check as my IP is 403.
 * Tomorrow I can check the other plugins though I generally run the same on each
   site.
 *  Thread Starter [SickSquirrel](https://wordpress.org/support/users/sicksquirrel/)
 * (@sicksquirrel)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/weird-error-in-logs-when-activating-script/#post-4367860)
 * Am reinstalling WP due to other errors. I’ll try your plugin again then post

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

The topic ‘Weird error in logs when activating script’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/register-ip-multisite_292929.svg)
 * [Register IPs](https://wordpress.org/plugins/register-ip-multisite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/register-ip-multisite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/register-ip-multisite/)
 * [Active Topics](https://wordpress.org/support/plugin/register-ip-multisite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/register-ip-multisite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/register-ip-multisite/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [SickSquirrel](https://wordpress.org/support/users/sicksquirrel/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/weird-error-in-logs-when-activating-script/#post-4367860)
 * Status: resolved