[3.2][RC] Log Searches

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!
Scam Warning
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
wkuzma
Registered User
Posts: 389
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [BETA] Log Searches

Post by wkuzma » Fri Jun 05, 2015 3:07 pm

I noticed a minor error

when you go to delete the search log and do not select any searches to delete however hit the delete button anyway you get this error. The error only happens if you do not check any searches to be deleted.


General Error
SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2 [1064]

SQL

DELETE FROM phpbb_search_log WHERE

BACKTRACE

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

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

FILE: [ROOT]/phpbb/db/driver/mysql.php
LINE: 181
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]/ext/david63/logsearches/controller/admin_controller.php
LINE: 267
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/david63/logsearches/controller/admin_controller.php
LINE: 164
CALL: david63\logsearches\controller\admin_controller->search_log_delete()

FILE: [ROOT]/ext/david63/logsearches/acp/logsearches_module.php
LINE: 30
CALL: david63\logsearches\controller\admin_controller->display_output()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: david63\logsearches\acp\logsearches_module->main()

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

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

Re: [BETA] Log Searches

Post by david63 » Sun Jun 07, 2015 3:14 pm

Thanks for that. Fixed in download.
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
wkuzma
Registered User
Posts: 389
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [BETA] Log Searches

Post by wkuzma » Sun Jun 07, 2015 10:44 pm

david63 wrote:Thanks for that. Fixed in download.
Thanks for fixing it fast and great extension.

User avatar
Webwatcher_eu
Registered User
Posts: 102
Joined: Tue Nov 25, 2014 10:59 am
Contact:

Re: [BETA] Log Searches

Post by Webwatcher_eu » Tue Jun 23, 2015 3:41 pm

David
did you request this event? so it can be used without touching the code? maybe in 3.1.16?

for me it works fine i can also live with this filechange

svennson
Registered User
Posts: 60
Joined: Wed Jun 01, 2005 4:54 pm
Location: Belguim
Contact:

Re: [BETA] Log Searches

Post by svennson » Tue Aug 11, 2015 5:59 pm

This mod works nicely, would it be possible to add sort of export function ? tab seperated or comma seperated would be nice ...

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

Re: [RC] Log Searches

Post by david63 » Sun Sep 13, 2015 7:19 am

The event has been updated in phpBB 3.1.6 therefore the edit in the second post of this topic is no longer required.
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

Post Reply

Return to “Extensions in Development”