Title: Plugin Error
Last modified: August 20, 2016

---

# Plugin Error

 *  [rrhobbs](https://wordpress.org/support/users/rrhobbs/)
 * (@rrhobbs)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-error-16/)
 * I dont think your plugin looks for wp-config anywhere except the default location–
   everytime I have ever tried to use this plugin it fails, generating an error 
   message that it cant find wp-config.
 * It is allowable for normal WordPress functionality to be able to place wp-config
   one directory above the install.
 * Also, many people install WordPress in a subdirectory or on a subdomain
 * [http://wordpress.org/extend/plugins/plugins-garbage-collector/](http://wordpress.org/extend/plugins/plugins-garbage-collector/)

Viewing 1 replies (of 1 total)

 *  [falopiuss](https://wordpress.org/support/users/falopiuss/)
 * (@falopiuss)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-error-16/#post-3346573)
 * (Sorry for bad english)
    Yes, please fix this! Quite a few people have their 
   _wp-config.php_ file in a level above _public\_html_ for security reasons. Can
   you improve the code to contemplate this eventuality? On Otherwise, changing 
   the _pgc-ajax.php_ file no longer works, you have to move _wp-config.php_ to 
   the root _public\_html_ each time, which is very annoying. This plugin is a great
   idea, you do a great job helping us maintain our installs operative. Thanks for
   this great plugin!

Viewing 1 replies (of 1 total)

The topic ‘Plugin Error’ is closed to new replies.

 * ![](https://ps.w.org/plugins-garbage-collector/assets/icon-256x256.png?rev=2327424)
 * [Plugins Garbage Collector (Database Cleanup)](https://wordpress.org/plugins/plugins-garbage-collector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugins-garbage-collector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugins-garbage-collector/)
 * [Active Topics](https://wordpress.org/support/plugin/plugins-garbage-collector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugins-garbage-collector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugins-garbage-collector/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [falopiuss](https://wordpress.org/support/users/falopiuss/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-error-16/#post-3346573)
 * Status: not resolved