MarkDHamill wrote:That suggests you missed a step somewhere. Make sure all the mods to acp_board.php and board.php were applied.
Yesterday, someone pointed out an error in the smartfeed.xml instructions file that showed two sets of finds. I corrected the instructions and repackaged the archive.
Hi, Thank you for responding to my question so quickly. I am using 3.0.1. Since yesterday, I checked all the files that need to be edited a few times, and I am very confident that I applied all the required changes.MarkDHamill wrote:Are you using version 3.0 Gold or 3.0.1? I did not specifically test it on 3.0, but I installed it twice on clean installations of phpBB 3.0.1.
You might try purging your cache and then see if the module is suddenly found.
Code: Select all
# language/en/acp/board.php,
# language/en/acp/common.php,
Code: Select all
# language/fr/acp/board.php,
# language/fr/acp/common.php,
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3646: Undefined index: SMARTFEED_SHORT_EXPLAIN
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3663: Undefined index: SMARTFEED_TIME_LIMIT_UNREGISTERED
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3664: Undefined index: SMARTFEED_SORT_BY_VALUES
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3665: Undefined index: SMARTFEED_FEED_STYLE_VALUES
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3666: Undefined index: SMARTFEED_MAX_WORDS_WANTED
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3669: Undefined index: SMARTFEED_TIME_LIMIT_UNREGISTERED
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3670: Undefined index: SMARTFEED_SORT_BY_VALUES
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3671: Undefined index: SMARTFEED_FEED_STYLE_VALUES
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3672: Undefined index: SMARTFEED_MAX_WORDS_WANTED
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3731: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3733: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3734: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3735: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982)
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3666: Undefined index: SMARTFEED_MAX_WORDS_WANTED
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3672: Undefined index: SMARTFEED_MAX_WORDS_WANTED
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3731: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3733: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3734: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3735: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982)
Code: Select all
// Report all errors, except notices
error_reporting(E_ALL ^ E_NOTICE);
IMO that's not the question.MarkDHamill wrote:So my question for you is why you are seeing notices at all. Did you change common.php?
You may find this article of help:MKULTRA wrote:OK, I have that in my common.php it is located at the top. I am on Bluehost, is there some setting I can change on the server or is this a setting within the ACP for phpBB?
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3492: Undefined index: SMARTFEED_MAX_WORDS_WANTED
Code: Select all
// BEGIN Smartfeed 2.0 Modification
'U_ATOM_PARAMETERS' => sprintf($config['sf_public_feed_url_suffix_atom'],
rawurlencode($user->lang['SMARTFEED_TIME_LIMIT_UNREGISTERED']['SMARTFEED_LAST_DAY_VALUE']),
rawurlencode($user->lang['SMARTFEED_SORT_BY_VALUES']['STANDARD']),
rawurlencode($user->lang['SMARTFEED_FEED_STYLE_VALUES']['HTML'])),
'U_FEED' => append_sid("{$phpbb_root_path}smartfeed_url.$phpEx"),
'U_RSS_PARAMETERS' => sprintf($config['sf_public_feed_url_suffix_rss'],
rawurlencode($user->lang['SMARTFEED_TIME_LIMIT_UNREGISTERED']['SMARTFEED_LAST_DAY_VALUE']),
rawurlencode($user->lang['SMARTFEED_SORT_BY_VALUES']['STANDARD']),
rawurlencode($user->lang['SMARTFEED_FEED_STYLE_VALUES']['HTML'])),
'U_FEED_URL' => "{$phpbb_root_path}smartfeed.$phpEx",
// END Smartfeed 2.0 Modification
With the exception of SMARTFEED_MAX_WORDS_WANTED the rest of these errors are probably a result of the include file not being found. Double check that this statement was inserted into /includes/functions.php around line 3326, as documented in smartfeed.xml in the first file change:MKULTRA wrote:I was also unable to get the "Choose module mode = Smartfeed settings" to show so I just stuck it under "Board features".
Also I hate to bring this up again but I am still having the similar issue with these undefined things, I double checked everything and am sure I have included everything in my upgrade and removed all the old code (index page):
Smartfeed page:Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3646: Undefined index: SMARTFEED_SHORT_EXPLAIN [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3663: Undefined index: SMARTFEED_TIME_LIMIT_UNREGISTERED [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3664: Undefined index: SMARTFEED_SORT_BY_VALUES [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3665: Undefined index: SMARTFEED_FEED_STYLE_VALUES [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3666: Undefined index: SMARTFEED_MAX_WORDS_WANTED [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3669: Undefined index: SMARTFEED_TIME_LIMIT_UNREGISTERED [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3670: Undefined index: SMARTFEED_SORT_BY_VALUES [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3671: Undefined index: SMARTFEED_FEED_STYLE_VALUES [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3672: Undefined index: SMARTFEED_MAX_WORDS_WANTED [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3731: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3733: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3734: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3735: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982)
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3666: Undefined index: SMARTFEED_MAX_WORDS_WANTED [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3672: Undefined index: SMARTFEED_MAX_WORDS_WANTED [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3731: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3733: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3734: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3735: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2982)
I tested it though and it seems to be working great, just these errors that is all.
Code: Select all
// BEGIN Smartfeed 2.0 Modification
include($phpbb_root_path . 'language/' . $config['default_lang'] . '/mods/smartfeed.' . $phpEx);
// END Smartfeed 2.0 Modification
That could be it then, I just checked and mine is set to On.MarkDHamill wrote:You may find this article of help:MKULTRA wrote:OK, I have that in my common.php it is located at the top. I am on Bluehost, is there some setting I can change on the server or is this a setting within the ACP for phpBB?
http://www.php.net/manual/en/errorfunc. ... lay-errors
In the ACP on the System Tab, there is a PHP Information link that will show you your settings. On mine display_errors is off, so I would have to use ini_set() to see them.