Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

SearchLogger, SearchFilter and globals

Quote Reply
SearchLogger, SearchFilter and globals
Hi!

I have 3 questions/problems:

1.) SearchLogger don't work properly:

Before debugging:

Code:
A fatal error has occurred:
Can't call method "insert_id" on an undefined value at /home/katakomb/public_html/cgi-bin/forum/admin/Plugins/GForum/SearchLogger.pm line 46.
Please enable debugging in setup for more details.

After debugging:

Code:
A fatal error has occurred:
Can't call method "insert_id" on an undefined value at /home/katakomb/public_html/cgi-bin/forum/admin/Plugins/GForum/SearchLogger.pm line 46.
Please enable debugging in setup for more details.
Stack Trace
======================================
GForum (14000): Plugins::GForum::SearchLogger::prelog called at /home/katakomb/public_html/cgi-bin/forum/admin/GT/Plugins.pm line 121 with arguments
(search_results).
GForum (14000): GT::Plugins::dispatch called at /home/katakomb/public_html/cgi-bin/forum/admin/GForum.pm line 261 with arguments
(GT::Plugins, /home/katakomb/public_html/cgi-bin/forum/admin/Plugins/GForum, do_search_results, CODE(0xa7f370), search_results).
GForum (14000): GForum::_plg_do_func called at /home/katakomb/public_html/cgi-bin/forum/admin/GForum.pm line 252 with arguments
(search_results).
GForum (14000): GForum::__ANON__ called at /home/katakomb/public_html/cgi-bin/forum/admin/GT/Plugins.pm line 133 with arguments
(search_results).
GForum (14000): GT::Plugins::dispatch called at /home/katakomb/public_html/cgi-bin/forum/admin/GForum.pm line 252 with arguments
(GT::Plugins, /home/katakomb/public_html/cgi-bin/forum/admin/Plugins/GForum, do_func, CODE(0xa7f0e0), search_results).
GForum (14000): GForum::do_func called at gforum.cgi line 142 with arguments
(search_results).
GForum (14000): main::main called at /home/katakomb/public_html/cgi-bin/forum/admin/GT/Plugins.pm line 133 with no arguments.
GForum (14000): GT::Plugins::dispatch called at gforum.cgi line 22 with arguments
(GT::Plugins, /home/katakomb/public_html/cgi-bin/forum/admin/Plugins/GForum, main, CODE(0xb0a560)).

System Information
======================================
Perl Version: v5.8.8
Gossamer Forum Version: 1.2.4
GForum.pm version: 1.133
GT::SQL Version: 1.111
GT::Template Version: 2.163
DBI.pm Version: 1.607
Running under mod_perl: No
Running under SpeedyCGI: No
@INC =
/home/katakomb/public_html/cgi-bin/forum/admin
/usr/lib/perl5/5.8.8/x86_64-linux
/usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
.
/home/katakomb/community/lib
GT::SQL::error = search_start cannot contain the value '1224307911.72726'
CGI INPUT
======================================
do => search_results
guest => 802947
search_forum => all
search_string => katakombe
search_type => AND
t => search_engine

CGI Cookies
======================================
__utma => 104774810.786136747.1224307004.1224307004.1224307004.1
__utmb => 104774810
__utmc => 104774810
__utmz=104774810.1224307004.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd => (none)

ENVIRONMENT
======================================
DOCUMENT_ROOT => /home/katakomb/public_html
GATEWAY_INTERFACE => CGI/1.1
GT_TMPDIR => /home/katakomb/public_html/cgi-bin/forum/admin/tmp
HTTP_ACCEPT => */*
HTTP_ACCEPT_LANGUAGE => sv
HTTP_CONNECTION => Keep-Alive
HTTP_COOKIE => __utma=104774810.786136747.1224307004.1224307004.1224307004.1; __utmb=104774810; __utmc=104774810; __utmz=104774810.1224307004.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
HTTP_HOST => www.katakombe.com
HTTP_UA_CPU => x86
HTTP_USER_AGENT => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GoogleT5; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
HTTP_XXXXXXX => XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
HTTP_XXXXXXXXXXXXXXX => XXXXXXXXXXXXX
PATH => /usr/local/bin:/usr/bin:/bin
QUERY_STRING => guest=802947&t=search_engine&do=search_results&search_forum=all&search_type=AND&search_string=katakombe
REDIRECT_QUERY_STRING => guest=802947&t=search_engine&do=search_results&search_forum=all&search_type=AND&search_string=katakombe
REDIRECT_STATUS => 200
REDIRECT_URL => /forum/gforum.cgi
REMOTE_ADDR => 83.183.221.99
REMOTE_HOST => d83-183-221-99.cust.tele2.se
REMOTE_PORT => 62662
REQUEST_METHOD => GET
REQUEST_URI => /forum/gforum.cgi?guest=802947&t=search_engine&do=search_results&search_forum=all&search_type=AND&search_string=katakombe
SCRIPT_FILENAME => /home/katakomb/public_html/cgi-bin/forum/gforum.cgi
SCRIPT_NAME => /cgi-bin/forum/gforum.cgi
SERVER_ADDR => 74.220.215.244
SERVER_ADMIN => webmaster@katakombe.com
SERVER_NAME => www.katakombe.com
SERVER_PORT => 80
SERVER_PROTOCOL => HTTP/1.1
SERVER_SIGNATURE => Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.katakombe.com Port 80
SERVER_SOFTWARE => Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

2.) Is it possible to make SearchFilter plugin as for GLinks?

3.) Is it possible to have globals Last_Searched_Words and Top_Search_Words as for GLinks?

Thanks.

Last edited by:

katakombe: Oct 17, 2008, 11:03 PM
Subject Author Views Date
Thread SearchLogger, SearchFilter and globals katakombe 6505 Oct 17, 2008, 11:02 PM
Thread Re: [katakombe] SearchLogger, SearchFilter and globals
Andy 6426 Oct 18, 2008, 12:32 AM
Thread Re: [Andy] SearchLogger, SearchFilter and globals
katakombe 6421 Oct 18, 2008, 12:36 AM
Thread Re: [katakombe] SearchLogger, SearchFilter and globals
Andy 6432 Oct 18, 2008, 12:38 AM
Post Re: [Andy] SearchLogger, SearchFilter and globals
katakombe 6403 Oct 18, 2008, 12:41 AM
Thread Re: [Andy] SearchLogger, SearchFilter and globals
katakombe 6425 Oct 26, 2008, 12:41 AM
Thread Re: [katakombe] SearchLogger, SearchFilter and globals
Andy 6379 Oct 27, 2008, 2:53 AM
Post Re: [Andy] SearchLogger, SearchFilter and globals
Andy 6399 Oct 27, 2008, 2:54 AM
Thread Re: [Andy] SearchLogger, SearchFilter and globals
katakombe 6392 Oct 27, 2008, 9:35 AM
Post Re: [katakombe] SearchLogger, SearchFilter and globals
Andy 6377 Oct 27, 2008, 9:46 AM