Undefined index: Page

phpBB SEO Premod for phpBB3 support forum.
This premodded version of phpBB3 includes the three different type of URL rewriting for phpBB3 by phpBB SEO. It comes with several other Search Engine Optimization mods installed.

Moderator: Moderators

Undefined index: Page

Postby maxwell » Tue Feb 02, 2010 12:40 pm

Welcome.
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'] ) + ) : ''


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'] ) + ) : '';
// 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_titletrue$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
maxwell
PR0
PR0
 
Posts: 72
Joined: Sun Nov 15, 2009 3:13 pm
Location: NL

Advertisement

Re: Undefined index: Page

Postby CheeRees » Wed Feb 03, 2010 10:23 am

Bump :D
CheeRees
 
Posts: 19
Joined: Tue Dec 11, 2007 1:24 pm

Re: Undefined index: Page

Postby maxwell » Fri Feb 05, 2010 1:28 pm

BUMP :)
maxwell
PR0
PR0
 
Posts: 72
Joined: Sun Nov 15, 2009 3:13 pm
Location: NL

Re: Undefined index: Page

Postby austin881 » Fri Feb 05, 2010 8:18 pm

I don't think you added the language file entry in your language "root/language/<your language>/common.php

root/language/en/common.php

Find: bottom of page

Add:
Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$lang['Page'] = 'Page ';
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE
My dev playground: Whoa.co
Appreciate my assistance? You can thank me by linking to my Chevrolet Astro forums.
User avatar
austin881
phpBB SEO Team
phpBB SEO Team
 
Posts: 249
Joined: Wed Oct 28, 2009 12:16 am
Location: Boise, Idaho USA

Re: Undefined index: Page

Postby maxwell » Sun Feb 07, 2010 4:18 pm

Thanks, :oops:
maxwell
PR0
PR0
 
Posts: 72
Joined: Sun Nov 15, 2009 3:13 pm
Location: NL


Return to phpBB SEO Premod

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 7 guests