Code: Select all
General Error
SQL ERROR [ mysqli ]
Duplicate entry 'sf_require_ip_authentication' for key 1 [1062]
SQL
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('sf_require_ip_authentication', 0, 0)
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()
FILE: includes/functions.php
LINE: 156
CALL: dbal_mysqli->sql_query()
FILE: includes/acp/acp_board.php
LINE: 445
CALL: set_config()
FILE: includes/functions_module.php
LINE: 471
CALL: acp_board->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Code: Select all
select * from phpbb_config where config_name like 'sf_%';
Code: Select all
The error is: limit parameter is either not present or is not an allowed value.
Code: Select all
// Begin -- Do NOT Change these keys or values when writing a language translation!
// These constants should be moved from the language file!!!
$smartfeed_time_limit_unregistered = array(
'SMARTFEED_NO_LIMIT_VALUE' => 'NO_LIMIT',
'SMARTFEED_LAST_QUARTER_VALUE' => '3 MONTH',
'SMARTFEED_LAST_MONTH_VALUE' => '1 MONTH',
'SMARTFEED_LAST_TWO_WEEKS_VALUE' => '14 DAY',
'SMARTFEED_LAST_WEEK_VALUE' => '7 DAY',
'SMARTFEED_LAST_DAY_VALUE' => '1 DAY',
'SMARTFEED_LAST_12_HOURS_VALUE' => '12 HOUR',
'SMARTFEED_LAST_6_HOURS_VALUE' => '6 HOUR',
'SMARTFEED_LAST_3_HOURS_VALUE' => '3 HOUR',
'SMARTFEED_LAST_1_HOURS_VALUE' => '1 HOUR',
'SMARTFEED_LAST_30_MINUTES_VALUE' => '30 MINUTE',
'SMARTFEED_LAST_15_MINUTES_VALUE' => '15 MINUTE',
);
$smartfeed_time_limit_registered = array_merge($smartfeed_time_limit_unregistered, array(
'SMARTFEED_SINCE_LAST_VISIT' => 'LF',
));
Code: Select all
http://www.thenafw.com/forum/smartfeed.php?forum=4&firstpostonly=1limit=3%20MONTH&count_limit=20&sort_by=standard_desc&min_word_size=1&feed_type=RSS2.0&feed_style=HTML&max_word_size=6000
Code: Select all
http://www.thenafw.com/forum/smartfeed.php?forum=4&firstpostonly=1limit=3%20MONTH&count_limit=20&sort_by=standard_desc&min_word_size=1&feed_type=RSS2.0&feed_style=HTML&max_word_size=6000
Code: Select all
http://www.thenafw.com/forum/smartfeed.php?forum=4&firstpostonly=1&limit=3%20MONTH&count_limit=20&sort_by=standard_desc&min_word_size=1&feed_type=RSS2.0&feed_style=HTML&max_word_size=6000
Code: Select all
// Add the time limit - Do we want to put nothing for no limit? Or limit=no_limit? !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
if (logged_in)
{
url = url + "&limit=" + news_id.post_limit.value;
}
else
{
url = url + "limit=" + news_id.post_limit.value;
}
Code: Select all
// Add the time limit - Do we want to put nothing for no limit? Or limit=no_limit? !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
if (logged_in)
{
url = url + "&limit=" + news_id.post_limit.value;
}
else
{
url = url + "&limit=" + news_id.post_limit.value;
}
The code change is:EXreaction wrote:Why have you set this up so that in page_header you are calling $user->setup?
Code: Select all
// BEGIN Smartfeed 2.0 Modification
$user->setup('mods/smartfeed');
// END Smartfeed 2.0 Modification