Page 2 of 4

Re: [3.2][RC] Log Connections

Posted: Fri Jul 14, 2017 1:45 pm
by WelshPaul

Re: [3.2][RC] Log Connections

Posted: Fri Jul 14, 2017 8:55 pm
by Galixte de EzCom
Hi,
Galixte de EzCom wrote:
Sun Apr 30, 2017 5:31 am
Hi david63,

this language key doesn't appear when a new user create a new account:

Code: Select all

	'LOG_NEW_USER_CREATED'			=> '<strong>New user created</strong>',
Is this bug was fixed by david63 ?

Re: [3.2][RC] Log Connections

Posted: Mon Aug 28, 2017 4:54 pm
by Jef Horians
Hello.

Could it be there's a conflict with other extensions?
I have a private forum where it does not log connections but i can see it's installed on the Extensions page and a public test forum where it works perfect.

Test forum runs no extensions, private forum runs:

Forumhulp Helper 3.1.14
Log user connections 2.1.0-rc2
mChat 2.0.1
phpBB Media Embed PlugIn 1.0.0
Simple mentions 1.0.1
Thanks for posts 2.0.3-dev

Both phpBB 3.2.1

Thank you in advance,

Jef

Re: [3.2][RC] Log Connections

Posted: Mon Aug 28, 2017 5:45 pm
by david63
Does the private forum run behind a proxy or use a caching system such as Cloudflare?

Re: [3.2][RC] Log Connections

Posted: Mon Aug 28, 2017 6:54 pm
by Jef Horians
Thank you for your answer.
No, it doesn't run behind a proxy or caching system.
The test forum actually runs on the same site only under a different domain.

Re: [3.2][RC] Log Connections

Posted: Mon Aug 28, 2017 8:54 pm
by david63
Jef Horians wrote:
Mon Aug 28, 2017 4:54 pm
Could it be there's a conflict with other extensions?
It is possible, but I would doubt it with the extensions that you have listed. The only way to prove it would be to disable the other extensions to see which one, if any, is causing the problem.

(I assume you have configured it in the ACP)

Re: [3.2][RC] Log Connections

Posted: Tue Aug 29, 2017 5:12 am
by Jef Horians
Done that already.
I even installed the same extensions on the test site and there it keeps working.

Re: [3.2][RC] Log Connections

Posted: Tue Aug 29, 2017 7:27 am
by david63
In that case I have no idea what/where the problem is - all I can guess is that it is something to do with the way in which you have your "private" forum set up.

Re: [3.2][RC] Log Connections

Posted: Wed Oct 11, 2017 11:03 pm
by karbiko
See this:
running 3.2.1
PHP 5.6

Code: Select all

Error General
SQL ERROR [ mysql4 ]

Duplicate entry 'log_connect_failed' for key 'PRIMARY' [1062]

SQL

INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('log_connect_failed', 1, 0)

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 999
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysql.php
LINE: 191
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysql->sql_query()

FILE: [ROOT]/phpbb/config/db.php
LINE: 161
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/config/db.php
LINE: 122
CALL: phpbb\config\db->set_atomic()

FILE: [ROOT]/ext/david63/logconnections/controller/admin_controller.php
LINE: 117
CALL: phpbb\config\db->set()

FILE: [ROOT]/ext/david63/logconnections/controller/admin_controller.php
LINE: 92
CALL: david63\logconnections\controller\admin_controller->set_options()

FILE: [ROOT]/ext/david63/logconnections/acp/logconnections_module.php
LINE: 26
CALL: david63\logconnections\controller\admin_controller->display_options()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: david63\logconnections\acp\logconnections_module->main()

FILE: [ROOT]/adm/index.php
LINE: 82
CALL: p_master->load_active()

Re: [3.2][RC] Log Connections

Posted: Wed Jan 31, 2018 10:50 am
by said1987
Hi david63,
i'm using your extension on my forum (phpbb 3.2.1, php 5.6) . Everything works fine but IP's logs: in the IP field are listed only the registration IP's, not the real login IP's. Is it normal or am i wrong?
Just another question: is there a way to search, order and filter by user?

Thank you very much in advance.
S.

Re: [3.2][RC] Log Connections

Posted: Tue Feb 06, 2018 5:29 pm
by menz01
how often are the logs updated? i have been sing users logging in by watching the "logged in users" at the bottom of the main page but i am not seeing those users in the users logs. i did see a couple get logged right away, then it stopped. so i thought maybe there was a timer involved, and if so perhaps a way to speed it up?

Re: [3.2][RC] Log Connections

Posted: Tue Feb 06, 2018 5:57 pm
by david63
It only logs users who actually login - it does not log those who have remember me set

Re: [3.2][RC] Log Connections

Posted: Tue Feb 06, 2018 6:28 pm
by menz01
david63 wrote:
Tue Feb 06, 2018 5:57 pm
It only logs users who actually login - it does not log those who have remember me set
hmmmm interesting info. may i ask, is there a way to log those as well?

Re: [3.2][RC] Log Connections

Posted: Wed Feb 07, 2018 8:18 pm
by david63
menz01 wrote:
Tue Feb 06, 2018 6:28 pm
is there a way to log those as well?
From memory there is no way to capture that data - but as I am away for the next three weeks I am unable to check

Re: [3.2][RC] Log Connections

Posted: Wed Feb 07, 2018 9:01 pm
by warmweer
david63 wrote:
Wed Feb 07, 2018 8:18 pm
menz01 wrote:
Tue Feb 06, 2018 6:28 pm
is there a way to log those as well?
From memory there is no way to capture that data - but as I am away for the next three weeks I am unable to check
event 'core.login_box_redirect' perhaps?

edit: probably not :(