Title: PHP Fatal error when activating &#8230;
Last modified: February 21, 2017

---

# PHP Fatal error when activating …

 *  Resolved [francois09](https://wordpress.org/support/users/francois09/)
 * (@francois09)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-when-activating/)
 * Hi,
 * Trying to use your plugin, I’m facing a Fatal error:
 * [Tue Feb 21 13:06:17.235632 2017] [:error] [pid 24285] [client 62.147.196.248:
   36531] PHP Warning: include(/srv/www/wp-content/wp-config.php): failed to open
   stream: No such file or directory in /srv/www/wp-content/dev.a2il.fr/plugins/
   zero-bs-crm/wild/welcome-to-zbs/index.php on line 4, referer: [http://dev.a2il.fr/wp-admin/update.php?action=install-plugin&plugin=zero-bs-crm&_wpnonce=4bb336aceb](http://dev.a2il.fr/wp-admin/update.php?action=install-plugin&plugin=zero-bs-crm&_wpnonce=4bb336aceb)
   [
   Tue Feb 21 13:06:17.235707 2017] [:error] [pid 24285] [client 62.147.196.248:
   36531] PHP Warning: include(): Failed opening ‘/srv/www/wp-content/wp-config.
   php’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /srv/
   www/wp-content/dev.a2il.fr/plugins/zero-bs-crm/wild/welcome-to-zbs/index.php 
   on line 4, referer: [http://dev.a2il.fr/wp-admin/update.php?action=install-plugin&plugin=zero-bs-crm&_wpnonce=4bb336aceb](http://dev.a2il.fr/wp-admin/update.php?action=install-plugin&plugin=zero-bs-crm&_wpnonce=4bb336aceb)[
   Tue Feb 21 13:06:17.235743 2017] [:error] [pid 24285] [client 62.147.196.248:
   36531] PHP Fatal error: Call to undefined function admin_url() in /srv/www/wp-
   content/dev.a2il.fr/plugins/zero-bs-crm/wild/welcome-to-zbs/index.php on line
   26, referer: [http://dev.a2il.fr/wp-admin/update.php?action=install-plugin&plugin=zero-bs-crm&_wpnonce=4bb336aceb](http://dev.a2il.fr/wp-admin/update.php?action=install-plugin&plugin=zero-bs-crm&_wpnonce=4bb336aceb)
 * The reason is probably on the /wild/welcome-to-zbs/index.php using multiple dirname
   to include wp-config.php file.
 * Once admin page reloaded, all seems to works correctly…
 * Thanks in advance.

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

 *  Plugin Contributor [woodyhayday](https://wordpress.org/support/users/woodyhayday/)
 * (@woodyhayday)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-when-activating/#post-8831009)
 * Hi [@francois09](https://wordpress.org/support/users/francois09/),
 * Thanks for letting us know, we’ll address this on our next release (soon… big
   version!)
 * … it looks like you’ve got non-standard directories there:
 * /srv/www/wp-content/dev.a2il.fr/plugins
 * … would usually be
 * /srv/www/wp-content/plugins
 * … and that’s why this isn’t working. But our code should be smarter, and we’ll
   adapt it shortly. (It’s the welcome wizard you’ve missed out on, you can re-get
   this after our next update by re-activating).
 * _[ [Signature moderated](https://make.wordpress.org/support/handbook/forum-welcome/#avoid-signatures)]_
 *  Thread Starter [francois09](https://wordpress.org/support/users/francois09/)
 * (@francois09)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-when-activating/#post-8833670)
 * Hi Woody,
 * Thanks for your quick reply.
 * My install is Debian multisite version of WordPress, allowing the wordpress code
   to be located on /usr/share/… and sites are located on /srv/www/wp-content/site-
   nnn.
 * Anyway I’ll wait for the future version.
 * Thanks again.
 * François
 *  Plugin Contributor [woodyhayday](https://wordpress.org/support/users/woodyhayday/)
 * (@woodyhayday)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-when-activating/#post-8833887)
 * No worries François,
 * Thanks for sharing your specific setup, I’ll make sure we fix that so it works
   for you everywhere.
 * Could you do me a favour and drop me an email here: [http://zerobscrm.com/contact-us/](http://zerobscrm.com/contact-us/)
   …
   it’d be great to hear how you get on with Multi-site + ZBS more generally 🙂
 * Cheers
 * Woody

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

The topic ‘PHP Fatal error when activating …’ is closed to new replies.

 * ![](https://ps.w.org/zero-bs-crm/assets/icon.svg?rev=2821636)
 * [Jetpack CRM - Clients, Leads, Invoices, Billing, Email Marketing, & Automation](https://wordpress.org/plugins/zero-bs-crm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zero-bs-crm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zero-bs-crm/)
 * [Active Topics](https://wordpress.org/support/plugin/zero-bs-crm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zero-bs-crm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zero-bs-crm/reviews/)

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * 3 replies
 * 2 participants
 * Last reply from: [woodyhayday](https://wordpress.org/support/users/woodyhayday/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-when-activating/#post-8833887)
 * Status: resolved