I received an error after switching to the next page (pagination):
- Code: Select all
[phpBB Debug] PHP Notice: in file /viewforum.php on line 194: Undefined index: Page
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4258: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3521)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4260: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3521)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4261: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3521)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4262: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3521)
This is line 194:
- Code: Select all
$extra_title = ($start > 0) ? ' - ' . $user->lang['Page'] . ( floor( $start / $config['topics_per_page'] ) + 1 ) : '';
more code:
- Code: Select all
// Dump out the page header and load viewforum template
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$extra_title = ($start > 0) ? ' - ' . $user->lang['Page'] . ( floor( $start / $config['topics_per_page'] ) + 1 ) : '';
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - META
$seo_meta->collect('description', $forum_data['forum_name'] . ' : ' . (!empty($forum_data['forum_desc']) ? $forum_data['forum_desc'] : $seo_meta->meta_def['description']));
$seo_meta->collect('keywords', $forum_data['forum_name'] . ' ' . $seo_meta->meta['description']);
// www.phpBB-SEO.com SEO TOOLKIT END - META
page_header($forum_data['forum_name'] . $extra_title, true, $forum_id);
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE
$template->set_filenames(array(
'body' => 'viewforum_body.html')
);
how to fix it?
I have installed phpBB SEO Premod 3.0.6

English |
French


