[3.2][RC] Log Connections

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
WelshPaul
Registered User
Posts: 299
Joined: Tue Aug 19, 2014 2:09 pm

Re: [3.2][RC] Log Connections

Post by WelshPaul » Fri Jul 14, 2017 1:45 pm


User avatar
Galixte de EzCom
Registered User
Posts: 1028
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: [3.2][RC] Log Connections

Post by Galixte de EzCom » Fri Jul 14, 2017 8:55 pm

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 ?
Last edited by Galixte de EzCom on Tue Aug 29, 2017 6:05 am, edited 2 times in total.
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.

Jef Horians
Registered User
Posts: 40
Joined: Tue Jul 25, 2017 12:32 pm

Re: [3.2][RC] Log Connections

Post by Jef Horians » Mon Aug 28, 2017 4:54 pm

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

User avatar
david63
Registered User
Posts: 16164
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Log Connections

Post by david63 » Mon Aug 28, 2017 5:45 pm

Does the private forum run behind a proxy or use a caching system such as Cloudflare?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Jef Horians
Registered User
Posts: 40
Joined: Tue Jul 25, 2017 12:32 pm

Re: [3.2][RC] Log Connections

Post by Jef Horians » Mon Aug 28, 2017 6:54 pm

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.

User avatar
david63
Registered User
Posts: 16164
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Log Connections

Post by david63 » Mon Aug 28, 2017 8:54 pm

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)
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Jef Horians
Registered User
Posts: 40
Joined: Tue Jul 25, 2017 12:32 pm

Re: [3.2][RC] Log Connections

Post by Jef Horians » Tue Aug 29, 2017 5:12 am

Done that already.
I even installed the same extensions on the test site and there it keeps working.

User avatar
david63
Registered User
Posts: 16164
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Log Connections

Post by david63 » Tue Aug 29, 2017 7:27 am

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.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
karbiko
Registered User
Posts: 77
Joined: Thu Jul 24, 2008 8:47 pm
Location: La Palma, Canary Islands, Spain

Re: [3.2][RC] Log Connections

Post by karbiko » Wed Oct 11, 2017 11:03 pm

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()

said1987
Registered User
Posts: 1
Joined: Wed Jan 31, 2018 10:00 am

Re: [3.2][RC] Log Connections

Post by said1987 » Wed Jan 31, 2018 10:50 am

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.

menz01
Registered User
Posts: 121
Joined: Thu Oct 27, 2016 4:45 pm

Re: [3.2][RC] Log Connections

Post by menz01 » Tue Feb 06, 2018 5:29 pm

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?

User avatar
david63
Registered User
Posts: 16164
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Log Connections

Post by david63 » Tue Feb 06, 2018 5:57 pm

It only logs users who actually login - it does not log those who have remember me set
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

menz01
Registered User
Posts: 121
Joined: Thu Oct 27, 2016 4:45 pm

Re: [3.2][RC] Log Connections

Post by menz01 » Tue Feb 06, 2018 6:28 pm

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?

User avatar
david63
Registered User
Posts: 16164
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Log Connections

Post by david63 » 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
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
warmweer
Registered User
Posts: 2134
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: [3.2][RC] Log Connections

Post by warmweer » Wed Feb 07, 2018 9:01 pm

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 :(
My board's not broken, it just went peculiar

Post Reply

Return to “Extensions in Development”