I have found (and changed how you suggested)
serendipity_track_referrer() function in
serendipity_functions.inc.php file, not in
serendipity_config.inc.php, but I understand this was small mistake. ;)
However, fix seems to not work. :-(
Now I get:
Code: Select all
Warning: pg_query(): Query failed: ERROR: syntax error at or near "REPLACE" at character 1 . in /home/neodave/public_html/serendipity/serendipity_db_postgres.inc.php on line 63
Error in REPLACE INTO serendipity_suppress (ip, last, scheme, host, port, path, query) VALUES ('62.87.244.34', now(), 'http', 'www.neodave.civ.pl', '', '/', '')
ERROR: syntax error at or near "REPLACE" at character 1 array (
0 =>
array (
'file' => '/home/neodave/public_html/serendipity/serendipity_functions.inc.php',
'line' => 2304,
'function' => 'serendipity_db_query',
'args' =>
array (
0 => 'REPLACE INTO serendipity_suppress
(ip, last, scheme, host, port, path, query)
VALUES (\'62.87.244.34\', now(), \'http\', \'www.neodave.civ.pl\', \'\', \'/\', \'\')',
),
),
1 =>
array (
'file' => '/home/neodave/public_html/serendipity/index.php',
'line' => 184,
'function' => 'serendipity_track_referrer',
'args' =>
array (
),
),
)
REPLACE INTO serendipity_suppress (ip, last, scheme, host, port, path, query) VALUES ('62.87.244.34', now(), 'http', 'www.neodave.civ.pl', '', '/', '')