Title: [Plugin: Statpress Visitors] Plugin path hardcoded?
Last modified: August 20, 2016

---

# [Plugin: Statpress Visitors] Plugin path hardcoded?

 *  [Misophoniq](https://wordpress.org/support/users/rubencc/)
 * (@rubencc)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-statpress-visitors-plugin-path-hardcoded/)
 * After activating this plugin I get a PHP error message:
 * “Warning: include() [function.include]: Failed opening ‘/home/ruben/public_html/
   wp-content/plugins/statpress-visitors/admin/luc_admin.php’ for inclusion (include_path
   =’.:/usr/lib/php:/usr/local/lib/php’) in /home/ruben/public_html/plugins/statpress-
   visitors/statpress.php on line 23”
 * Looks like the path to the plugin is hardcoded to “wp-content/plugins” (because
   I changed it to somewhere else and it’s still looking for wp-content), which 
   makes it kinda useless for anyone who has any sence of security and changed the
   default pathnames.
 * B.T.W. Changing the default path in wp-config is a basic function of WordPress
   for several revisions now, so it’s not like it’s something extremely fancy or
   requires hacking skills or anything. Any plugin should just take in account any
   possible tweaks that can be done using wp-config.
 * [http://wordpress.org/extend/plugins/statpress-visitors/](http://wordpress.org/extend/plugins/statpress-visitors/)

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

 *  Plugin Author [luciole135](https://wordpress.org/support/users/luciole135/)
 * (@luciole135)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-statpress-visitors-plugin-path-hardcoded/#post-2473775)
 * Hi,
    In the next release, we correct this, thank you. best regards
 *  Thread Starter [Misophoniq](https://wordpress.org/support/users/rubencc/)
 * (@rubencc)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-statpress-visitors-plugin-path-hardcoded/#post-2473776)
 * Sounds great! I saw this plugin in a friends wp-admin screen and it looked very
   good. Was kind of disappointed that it didn’t work on my installation. I didn’t
   feel like editing the path inside the code myself cause it would get lost on 
   any future update, but if the next update will fix this I think I’ll just give
   if a try and fix this one myself temporarily. Looks like a great plugin! Thank
   you.

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

The topic ‘[Plugin: Statpress Visitors] Plugin path hardcoded?’ is closed to new
replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [Misophoniq](https://wordpress.org/support/users/rubencc/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-statpress-visitors-plugin-path-hardcoded/#post-2473776)
 * Status: not resolved