problem

The GYM Sitemaps & RSS module for phpBB. Sitemaps and RSS feeds for Google Yahoo! and MSN Live, support, add ons etc ...

Moderator: Moderators

problem

Postby kalwi » Wed Aug 13, 2008 8:08 pm

after i changed tittle in my board i have a error in rss and site map look
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 136: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 146: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 147: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 149: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 151: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 152: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1


[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 136: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 146: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 147: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 149: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 151: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_output.php on line 152: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
kalwi
 

Advertisement

Postby SeO » Thu Aug 14, 2008 12:32 pm

You mean that you edited the language/yourlangcode/common.php ?

You must have introduced a typo while doing so. Please double check.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby kalwi » Thu Aug 14, 2008 3:25 pm

Yes i edited couse i wannted to change title of home page
kalwi
 

Postby SeO » Sat Aug 16, 2008 7:53 am

Then you must have introduced a typo while doing so, either breaking the php string with a quote or not using utf-8 while editing.

Do not use notepad / wordpad to edit this file, but rather a real text editor like gvim or notepad++.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby kalwi » Sat Aug 16, 2008 11:31 am

Ok so what I must to do to fix it my forum url is l e x y c mmunity . c o m
kalwi
 

Postby SeO » Sat Aug 16, 2008 11:36 am

The simpler would be to put back the original common.php language file, and then to edit it with a decent text editor to change the title.

If you still experience trouble using one of the editor I mentioned, please post here the code you're trying to replace, should not be more than a quote or something like that.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby kalwi » Sat Aug 16, 2008 12:05 pm

Ok in steps
1. 'INDEX' => 'Index page', changed it]
2.Error:
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3594: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3596: etc...
3.includes/function.php

find : Code:
header('Content-type: text/html; charset=UTF-8');

header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Pragma: no-cache');



and replace with: Code:
//header('Content-type: text/html; charset=UTF-8');

//header('Cache-Control: private, no-cache="set-cookie"');
//header('Expires: 0');
//header('Pragma: no-cache');

4 Now index page works good but map and rss dont and cant login to admin panel

Thanks for help!
kalwi
 

Postby dcz » Mon Aug 18, 2008 11:34 am

So your error comes from the common.php lang file editing, with what do you replace :
Code: Select all
'INDEX' => 'Index page',


and what is the text editor you're using ?
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21429
Joined: Fri Apr 28, 2006 9:03 pm

Postby kalwi » Mon Aug 18, 2008 4:30 pm

I did it via standart windows text editor now i have Notepad++
kalwi
 

Postby SeO » Thu Aug 21, 2008 9:27 am

SeO wrote:Do not use notepad / wordpad to edit this file, but rather a real text editor like gvim or notepad++.


I guess we have our clue. Have you tried to re do the code change from scratch with notepadd++ (set as UTF-8 without BOM) ?
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm


Return to GYM Sitemaps & RSS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest