Title: [Plugin: Adminer] Error message&#8230;possibly configuration related
Last modified: August 20, 2016

---

# [Plugin: Adminer] Error message…possibly configuration related

 *  Resolved [steve70638](https://wordpress.org/support/users/steve70638/)
 * (@steve70638)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-adminer-error-messagepossibly-configuration-related/)
 * The install goes clean and when I go to tools and click on start adminer inside
   or in a new tab I get the following errors:
 * Warning: include_once(/var/www/wpbeta/wp-load.php) [function.include-once]: failed
   to open stream: No such file or directory in /home/workshop/public_html/LHF-REVIEW.
   COM/wp-content/plugins/adminer/inc/adminer/loader.php on line 33
 * Warning: include_once() [function.include]: Failed opening ‘/var/www/wpbeta/wp-
   load.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in/
   home/workshop/public_html/LHF-REVIEW.COM/wp-content/plugins/adminer/inc/adminer/
   loader.php on line 33
 * Fatal error: Call to undefined function current_user_can() in /home/workshop/
   public_html/LHF-REVIEW.COM/wp-content/plugins/adminer/inc/adminer/loader.php 
   on line 43
 * Thoughts?
 * [http://wordpress.org/extend/plugins/adminer/](http://wordpress.org/extend/plugins/adminer/)

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

 *  [sem101](https://wordpress.org/support/users/sem101/)
 * (@sem101)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-adminer-error-messagepossibly-configuration-related/#post-2660790)
 * Same problem
 *  Plugin Author [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-adminer-error-messagepossibly-configuration-related/#post-2660833)
 * Maybe you have set your plugin folder not inside the wp-install?
    I search for
   the wp-load.php; but if you define the folder on a other place of the webspace,
   then i cant find. I use this also; but i define the path. Please use the current
   trunk version: [http://downloads.wordpress.org/plugin/adminer.zip](http://downloads.wordpress.org/plugin/adminer.zip)
 * edit the config.php inside the plugin-folder with the path to wp-load.php and
   then works fine.
    Thanks
 *  [DaganLev](https://wordpress.org/support/users/daganlev/)
 * (@daganlev)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-adminer-error-messagepossibly-configuration-related/#post-2660876)
 * Hey guys,
    we had the same problem which indicates that one of the includes is
   incorrect;
 * PHP Fatal error: Call to undefined function current_user_can() in /home/<mysite
   >/public_html/wp-content/plugins/adminer/inc/adminer/loader.php on line 43, referer:
   [http://<mysite>/wp-admin/tools.php?page=adminer/adminer.php](http://<mysite>/wp-admin/tools.php?page=adminer/adminer.php)
 * which follows a warning:
    PHP Warning: include_once(): Failed opening ‘/var/www/
   wpbeta/wp-load.php’ for inclusion (include_path=’.:/usr/share/pear53:/usr/share/
   php’) in /home/sites/<mysite>/public_html/wp-content/plugins/adminer/inc/adminer/
   loader.php on line 33, referer: [http://<mysite>/wp-admin/tools.php?page=adminer/adminer.php](http://<mysite>/wp-admin/tools.php?page=adminer/adminer.php)
 * The path “/var/www/wpbeta/wp-load.php” is incorrect. That seems to be set in 
   the wp-content/plugins/adminer/config.php file on line 8:
 * `$wp_siteurl = '/var/www/wpbeta';`
 * after updating that setting to:
 * `$wp_siteurl = '/home/sites/<mysite>/public_html';`
 * It seems to work… (obviously <mysite> is the domain to be used)
 * Can you please fix in the plugin core?
 *  Plugin Author [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-adminer-error-messagepossibly-configuration-related/#post-2660877)
 * If you have the default plugins folder inside wp-content; clear the value of 
   the var in config.php to:
 * `$wp_siteurl = '';`
 * the plugin search automatcly for the files; its only an fallbac config for users,
   there install have an other custom path to the plugins.
    I will fix this value
   in the next upload.
 *  [Rosie-L](https://wordpress.org/support/users/rosie-l/)
 * (@rosie-l)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-adminer-error-messagepossibly-configuration-related/#post-2660937)
 * Hi.
 * I just installed Adminer 1.2.1, and I’m getting the same Warnings and Fatal Error
   as the others have reported above. Here is my situation:
 * Adminer’s loader.php is at:
    /public_html/wp/wp-content/plugins/adminer/inc/adminer/
   loader.php
 * Line 33 reads:
    include_once ( $wp_siteurl . ‘/wp-load.php’ );
 * The file wp-load.php is at:
    /public_html/wp/wp-load.php
 * Exactly what are you saying I should alter to make Adminer work?
 * Thanks for your assistance.
 *  Plugin Author [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-adminer-error-messagepossibly-configuration-related/#post-2660938)
 * edit the `config.php` in the plugin-folder adminer, change from
    `$wp_siteurl
   = 'C:/xampp/htdocs/wpbeta';` to `$wp_siteurl = ''; // example: '/var/www/wpbeta'`
 *  [Rosie-L](https://wordpress.org/support/users/rosie-l/)
 * (@rosie-l)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-adminer-error-messagepossibly-configuration-related/#post-2660939)
 * Thanks.
 * Setting $wp_siteurl = ” works.
 *  [Will D. White](https://wordpress.org/support/users/willdwhite/)
 * (@willdwhite)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-adminer-error-messagepossibly-configuration-related/#post-2660947)
 * Just grabbed a fresh copy of this plugin – using it with the latest version of
   WP and continue to get a 500 error trying to load it.
 * I’ve opened the config.php file you mentioned, and $wp_siteurl variable is already
   set to ”;
 * I’ve tried to update it to the server location of wp-load.php manually – but 
   no luck there either.
 * My database isn’t on localhost, do you think that could be causing a problem?
   Any idea what else could cause a 500 error?
 * Thanks in advance.
 *  Plugin Author [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-adminer-error-messagepossibly-configuration-related/#post-2660948)
 * the config is not important, if you use a single install of WordPress and default
   path. Delete the item in the config or uncomment it. The plugin search for the
   wp-load.php – this options is only for users, there have the plugins folder on
   a other domain or place.

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

The topic ‘[Plugin: Adminer] Error message…possibly configuration related’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/adminer_efefef.svg)
 * [Adminer](https://wordpress.org/plugins/adminer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adminer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adminer/)
 * [Active Topics](https://wordpress.org/support/plugin/adminer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adminer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adminer/reviews/)

 * 9 replies
 * 6 participants
 * Last reply from: [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-adminer-error-messagepossibly-configuration-related/#post-2660948)
 * Status: resolved