Title: [Plugin: Portable phpMyAdmin] WP_HOST Error
Last modified: August 20, 2016

---

# [Plugin: Portable phpMyAdmin] WP_HOST Error

 *  Resolved [edmundp](https://wordpress.org/support/users/edmundp/)
 * (@edmundp)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/)
 * I’m continuing to get the the ‘WP_HOST’ error, even after adding the address 
   to the php.
 * [http://wordpress.org/extend/plugins/portable-phpmyadmin/](http://wordpress.org/extend/plugins/portable-phpmyadmin/)

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

 *  Plugin Author [Ciprian Popescu](https://wordpress.org/support/users/butterflymedia/)
 * (@butterflymedia)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550761)
 * Updated to version 1.2.9.4. Removed all deprecated errors and removed the WP_HOST
   error. Still in Beta, still looking for feedback.
 *  [CateAppsTech](https://wordpress.org/support/users/cateappstech/)
 * (@cateappstech)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550762)
 * Ciprian, I am delighted to see that after a good 10 months when you said “I will
   change that in a blink” that you have at last updated this **wonderful plugin**.
 * Only a couple of days ago I had replaced all the deprecated statements myself
   in my version.
 * My server does not use local host and the link to…
    /wp-content/plugins/portable-
   phpmyadmin/wp-pma/scripts/setup.php does not work as No file exists.
 * You also reference the old config file in your help section.
 * **What is the config file now called so I can get your plugin working on my sites?**
 * If you can grab all the other info from wp-config, I do not truly understand 
   why you do not grab the DB-Host as well.
 * Anyway, I hope you have not been unwell! It’s great to see you’re back.
 * Richard Young
 *  Plugin Author [Ciprian Popescu](https://wordpress.org/support/users/butterflymedia/)
 * (@butterflymedia)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550763)
 * Hey thanks. This recent update messed with something.
 * The config file is the same, however it wasn’t there in version 1.2.9.4c. Tried
   with a “d” version, and right now I’m working on it.
 *  [CateAppsTech](https://wordpress.org/support/users/cateappstech/)
 * (@cateappstech)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550764)
 * RE: v1.2.9.4e
 * Just updated an whilst the PPMA page shows the correct IP for my DB_Host the 
   main part (central) is blank.
 * I tired to edit config.php and notice that you are now using…
    $cfg[‘Servers’][
   $i][‘host’] = DB_HOST;
 * I changed it to my IP and then a wrong IP and PPMA still showed the correct DB_Host.
   This tells me that you are not actually using the config.php file !!!
 * ALSO…
 * You need to edit your plugin’s HELP page as it still says…
    Help
 * If phpMyAdmin is unable to connect to your database, it means your host is different
   than localhost, the default name assumed by this plugin. Please edit wp-content\
   plugins\portable-phpmyadmin\wp-pma\config.php and add your host at line 51, $
   cfg[‘Servers’][$i][‘host’] = WP_HOST;.
 * This is the wrong line as you use DB_HOST now and it has changed to LINE 32 (
   not 51)
 * Hope this Helps !!!
 *  [CateAppsTech](https://wordpress.org/support/users/cateappstech/)
 * (@cateappstech)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550765)
 * RE v1.2.94e
 * Image of PPMA page [HERE](http://cateappstech.com/forum-images/ppma-v1.2.9.4e.jpg)
 *  [dentvii](https://wordpress.org/support/users/dentvii/)
 * (@dentvii)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550766)
 * Getting the same screen as Cate even after adding the host to the config – which
   we didn’t have to before, being way better back then.
 * [http://i.imgur.com/sIkUO.png](http://i.imgur.com/sIkUO.png)
 *  Plugin Author [Ciprian Popescu](https://wordpress.org/support/users/butterflymedia/)
 * (@butterflymedia)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550767)
 * I know about these errors and I’m working on them. I am in fact using the config.
   php file, but somehow the information does not get passed to PPMA.
 *  Plugin Author [Ciprian Popescu](https://wordpress.org/support/users/butterflymedia/)
 * (@butterflymedia)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550768)
 * Version 1.2.9.5 fixes most of the errors. Please confirm!
 *  [dentvii](https://wordpress.org/support/users/dentvii/)
 * (@dentvii)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550769)
 * Working for me now. Had to disable Redirection Plugin and then re-activate, now
   it is working for me! Thanks a lot Ciprian, awesome support!
 *  [dentvii](https://wordpress.org/support/users/dentvii/)
 * (@dentvii)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550770)
 * By the way, I didn’t change anything in the configuration, just updated, turned
   it on and worked!
 *  [CateAppsTech](https://wordpress.org/support/users/cateappstech/)
 * (@cateappstech)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550771)
 * RE: 1.2.9.5
 * I had to deactivate all my plugins and activate PPMA on its own, before anything
   new happened. Once ‘working’ I reactivated all the old plugins and it carried
   on ‘working’. Before that I tried to just deactivate and reactivate PPMA with
   the other plugins but it did nothing and still got a blank central section.
 * I say ‘working’, because it’s not. I get a load of deprecation warnings…
 * Deprecated: Function ereg() is deprecated in /var/sites/p/mydomain.com/public_html/
   wp-content/plugins/portable-phpmyadmin/wp-pma-mod/libraries/check_user_privileges.
   lib.php on line 59
 * Deprecated: Function ereg() is deprecated in /var/sites/p/mydomain.com/public_html/
   wp-content/plugins/portable-phpmyadmin/wp-pma-mod/libraries/check_user_privileges.
   lib.php on line 60
 * Deprecated: Function ereg_replace() is deprecated in /var/sites/p/mydomain.com/
   public_html/wp-content/plugins/portable-phpmyadmin/wp-pma-mod/libraries/check_user_privileges.
   lib.php on line 65
 * Deprecated: Function ereg_replace() is deprecated in /var/sites/p/mydomain.com/
   public_html/wp-content/plugins/portable-phpmyadmin/wp-pma-mod/libraries/check_user_privileges.
   lib.php on line 65
 * Deprecated: Function ereg_replace() is deprecated in /var/sites/p/mydomain.com/
   public_html/wp-content/plugins/portable-phpmyadmin/wp-pma-mod/libraries/check_user_privileges.
   lib.php on line 66
 * Regards.

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

The topic ‘[Plugin: Portable phpMyAdmin] WP_HOST Error’ is closed to new replies.

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

 * 11 replies
 * 4 participants
 * Last reply from: [CateAppsTech](https://wordpress.org/support/users/cateappstech/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-portable-phpmyadmin-wp_host-error/#post-2550771)
 * Status: resolved