Premod 3.0.3 to 3.0.4 update problem (viewtopic/viewforum)

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

Premod 3.0.3 to 3.0.4 update problem (viewtopic/viewforum)

Postby kapadokyanet » Sun Jan 04, 2009 1:47 pm

Hi, (English is not good)

I am, Premod 3.0.3 to 3.0.4 automatic uptade.

After,
viewtopic.php and viewforum.php page problem.

First page (1) no problem, second,third (2,3,4, .....) problem.


viewtopic.php

// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$extra_title = ($start > 0) ? ' - ' . $user->lang['Page'] . ( floor( ($start / $config['posts_per_page']) ) + 1 ) : '';
page_header($topic_data['topic_title'] . ' : ' . $topic_data['forum_name'] . $extra_title);
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE


error message,
Code: Select all
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1770: Undefined index: Page
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3855: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3213)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3857: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3213)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3858: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3213)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3859: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3213)


viewforum.php
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$extra_title = ($start > 0) ? ' - ' . $user->lang['Page'] . ( floor( $start 191 / $config['topics_per_page'] ) + 1 ) : '';
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - META
$seo_meta->meta['meta_desc'] = $seo_meta->meta_filter_txt($forum_data['forum_name'] . ' : ' . (!empty($forum_data['forum_desc']) ? $forum_data['forum_desc'] : $config['site_desc']));
$seo_meta->meta['keywords'] = $seo_meta->make_keywords($seo_meta->meta['meta_desc']);
// www.phpBB-SEO.com SEO TOOLKIT END - META
page_header($forum_data['forum_name'] . $extra_title);
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE


error message,
Code: Select all
[phpBB Debug] PHP Notice: in file /viewforum.php on line 190: Undefined index: Page
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3855: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3213)

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3857: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3213)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3858: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3213)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3859: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3213)


Best regards, thank's...
kapadokyanet
 
Posts: 4
Joined: Sun Jan 04, 2009 1:25 pm
Location: Nevsehir/TR

Advertisement

Postby SeO » Sun Jan 04, 2009 4:35 pm

Just looks like you are missing the optimal title language key entry in language/yourlang/common.php :
Code: Select all
#
#-----[ OPEN ]----------------------------------------------
#

language/en/common.php

#
#-----[ FIND ]----------------------------------------------
#

?>

#
#-----[ BEFORE, ADD]------------------------------------------
#

// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE
$lang['Page'] = 'Page ';
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby kapadokyanet » Sun Jan 04, 2009 7:38 pm

1. viewtopic.php problem resolved, thank's

2. viewforum.php problem continues !

Code: Select all
[phpBB Debug] PHP Notice: in file /viewforum.php on line 193: Undefined variable: extra_title


// www.phpBB-SEO.com SEO TOOLKIT END - META
page_header($forum_data['forum_name'] . $extra_title);
// www.phpBB-SEO.com SEO TOOLKIT END - TITLE


Example; http://forum.nevsehir.web.tr/nevsehir-k ... ograflari/

Best regards, thank's...
kapadokyanet
 
Posts: 4
Joined: Sun Jan 04, 2009 1:25 pm
Location: Nevsehir/TR

Postby SeO » Mon Jan 05, 2009 9:16 am

Again, it's the optimal title mod, you're missing it's code in viewforum.php, try to download it and make sure you have all of it's code (don't worry it's a tiny mod).
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby kapadokyanet » Mon Jan 05, 2009 12:20 pm

Thank you, all problem resolved.
Best regards.
kapadokyanet
 
Posts: 4
Joined: Sun Jan 04, 2009 1:25 pm
Location: Nevsehir/TR


Return to phpBB SEO Premod

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Baidu [Spider] and 10 guests