SSL Labs ScoreSecurityHeaders.io Score

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

× EU e-Privacy Directive needs your help!

A free extension like this survives only by reputation. You can help by submitting a review in the Joomla Extension Directory. Please take the time to make a review by clicking on the link below (opens in a new window)

extensions.joomla.org/write-review/review/add?extension_id=4850

EU e-Privacy Directive: Logging not working correctly

More
6 months 3 weeks ago - 6 months 3 weeks ago #813 by trob
trob created the topic: EU e-Privacy Directive: Logging not working correctly
Hi
1.
Logging is only possible if 'Use geoPlugin'=yes
because of
if ($sysparams->get('logaccept', false) && $sysparams->get('geoplugin',false)) (line 42 in eprivacy.php)

but with geoPlugin=yes the plugin is not running at all if you are outside EU.

2. ip logging is not working
line 49 must be
$values = $db->quote(filter_input(INPUT_SERVER,'REMOTE_ADDR'));
(not (filter_input('SERVER','REMOTE_ADDR')) )

Version 3.6.0 Download from today
Last Edit: 6 months 3 weeks ago by trob. Reason: Version added

Please Log in or Create an account to join the conversation.

More
6 months 3 weeks ago #814 by michael
michael replied the topic: EU e-Privacy Directive: Logging not working correctly
There is no reason to log if the user is outside of the EU, and the only way to know is if it's detected by the geoPlugin.

If you want logs, you need to sign up for a free geoPlugin account.

Please Log in or Create an account to join the conversation.

More
6 months 3 weeks ago #815 by trob
trob replied the topic: EU e-Privacy Directive: Logging not working correctly
"There is no reason to log if the user is outside of the EU"
We are in Switzerland, so not EU but very near by..., but ok, we are not forced to by law.

But in general IP logging is not working because of a wrong param
The following user(s) said Thank You: michael

Please Log in or Create an account to join the conversation.

More
6 months 3 weeks ago #816 by michael
michael replied the topic: EU e-Privacy Directive: Logging not working correctly
I missed the code error you pointed out the first time I read it - I'm sorry.

Thanks for pointing that out, I'm adjusting the code and will release version 3.6.1 as soon as I'm done testing it.

Please Log in or Create an account to join the conversation.

More
6 months 3 weeks ago #817 by michael
michael replied the topic: EU e-Privacy Directive: Logging not working correctly
OK, it's up on the plugin page here- but the system automation won't pick up the change for about a half hour. After that time, your Joomla Updater should recognize the new version and offer the upgrade.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Kunena Forum