phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Help!

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 Forum
::  
Author Message
kalwi



Joined: 07 Aug 2008
Posts: 7

Help!Posted: Thu Aug 07, 2008 7:29 pm    Post subject: Help!

After i changed tittle in common.php i have a 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: 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 3597: 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 3598: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)

Why? How to fix it ?
Back to top
Professional
PR2
PR2


Joined: 07 Apr 2008
Posts: 252
Location: 1/2 of the World

Help!Posted: Fri Aug 08, 2008 12:06 pm    Post subject: Re: Help!

i think i had same problem at localhost when installing activity stat.

i commented that lines and problem solved but i don't now these lines what do exactly.

so for solving it temporary u can open 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');

_________________
انجمن تخصصی موبایل برای ایرانیان
http://www.mobile4persian.com
برنامه موبایل - بازی موبایل - تم موبایل - اخبار موبایل - ترفند موبایل - s60 -s60 3rd- s80-s90-java-pocket pc-palm-ppc-UIQ3-UIQ
Back to top
Visit poster's website
kalwi



Joined: 07 Aug 2008
Posts: 7

Help!Posted: Sat Aug 09, 2008 11:25 am    Post subject: Re: Help!

Yes It works ! Thank you
Back to top
Professional
PR2
PR2


Joined: 07 Apr 2008
Posts: 252
Location: 1/2 of the World

Help!Posted: Sat Aug 09, 2008 1:23 pm    Post subject: Re: Help!

kalwi wrote:
Yes It works ! Thank you


u're welcom but it's temporary solution.
u shoud wait untill dcz or seo come and see this topic Wink

_________________
انجمن تخصصی موبایل برای ایرانیان
http://www.mobile4persian.com
برنامه موبایل - بازی موبایل - تم موبایل - اخبار موبایل - ترفند موبایل - s60 -s60 3rd- s80-s90-java-pocket pc-palm-ppc-UIQ3-UIQ
Back to top
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3987

Help!Posted: Mon Aug 11, 2008 9:43 am    Post subject: Re: Help!

kalwi wrote:
After i changed tittle in common.php i have a error

What change exactly ?

Are you talking about the language file ?

If so you most likely added a white space after the php ending tag (?>) or edited your file not using utf-8.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
Professional
PR2
PR2


Joined: 07 Apr 2008
Posts: 252
Location: 1/2 of the World

Help!Posted: Mon Aug 11, 2008 12:26 pm    Post subject: Re: Help!

sorry we shoud save our language file UTF8,so what is the solution?

_________________
انجمن تخصصی موبایل برای ایرانیان
http://www.mobile4persian.com
برنامه موبایل - بازی موبایل - تم موبایل - اخبار موبایل - ترفند موبایل - s60 -s60 3rd- s80-s90-java-pocket pc-palm-ppc-UIQ3-UIQ
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Help!Posted: Wed Aug 13, 2008 12:57 pm    Post subject: Re: Help!

Professional wrote:
sorry we shoud save our language file UTF8,so what is the solution?

Sorry, I did not understand exactly what you are talking about, could you elaborate a bit ?

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Professional
PR2
PR2


Joined: 07 Apr 2008
Posts: 252
Location: 1/2 of the World

Help!Posted: Wed Aug 13, 2008 4:11 pm    Post subject: Re: Help!

dcz wrote:
Professional wrote:
sorry we shoud save our language file UTF8,so what is the solution?

Sorry, I did not understand exactly what you are talking about, could you elaborate a bit ?


sure.because seo said:
SeO wrote:

If so you most likely added a white space after the php ending tag (?>) or edited your file not using utf-8.


it means that we shoud save it UTF8?
i did this for my friend and i got this error.
so what is the solution and what doese these lines do?
Code:
   header('Content-type: text/html; charset=UTF-8');

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


what will happen if we comment them?

_________________
انجمن تخصصی موبایل برای ایرانیان
http://www.mobile4persian.com
برنامه موبایل - بازی موبایل - تم موبایل - اخبار موبایل - ترفند موبایل - s60 -s60 3rd- s80-s90-java-pocket pc-palm-ppc-UIQ3-UIQ
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Help!Posted: Mon Aug 18, 2008 8:17 am    Post subject: Re: Help!

The line you mention are sending the server's headers, telling browsers what type of document is sent and how to handle caching.

You get an error because some content is sent before these lines are executed (they must be sent before any content).

The usual cause for this is when a white space (or any character) is located either before :
Code:
<?php

or after :
Code:
?>

in any php file, because in such case, php outputs it directly, as soon as the file is processed.

The other possible cause is if a notice or a warning (error) is outputted before these line are executed.

So if this occurred after you edited a language file, you must have introduced some error or some characters outside the php tags.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Professional
PR2
PR2


Joined: 07 Apr 2008
Posts: 252
Location: 1/2 of the World

Help!Posted: Fri Aug 22, 2008 12:40 pm    Post subject: Re: Help!

tnx good explain Smile

_________________
انجمن تخصصی موبایل برای ایرانیان
http://www.mobile4persian.com
برنامه موبایل - بازی موبایل - تم موبایل - اخبار موبایل - ترفند موبایل - s60 -s60 3rd- s80-s90-java-pocket pc-palm-ppc-UIQ3-UIQ
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 Forum
Page 1 of 1

Navigation

Jump to: