Support » Plugin: StatPress Visitors » [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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author luciole135


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

    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.