WordPress.org

Ready to get started?Download WordPress

Forums

StatPress Visitors
[Plugin: Statpress Visitors] Plugin path hardcoded? (3 posts)

  1. Ruben.cc
    Member
    Posted 2 years ago #

    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/

  2. luciole135
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,
    In the next release, we correct this, thank you.
    best regards

  3. Ruben.cc
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic