Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorpagantrap
    • CommentTimeDec 15th 2005 edited
     # 1
    hello, i'm new to this forum thing. i don't know much and i have a problem that i cant find an answer in these pages.
    i installed vanilla and wow skin. then i made English.php a utf8 file.
    But then i got an error which says:

    Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/uk/m/e/t/metruk/htdocs/languages/English.php:1) in /data/members/free/tripod/uk/m/e/t/metruk/htdocs/controls/signin.php on line 58

    what is this i don't know. its my 3rd day in php. can anybody help me?
    • CommentAuthorjos
    • CommentTimeDec 15th 2005
     # 2
    Maybe you left a space somewhere in your file while modifying. eg on english.php in line 1.
    • CommentAuthorpagantrap
    • CommentTimeDec 15th 2005
     # 3
    thanks. i never thought that. i am lookin'
    • CommentAuthorpagantrap
    • CommentTimeDec 15th 2005
     # 4
    no :( it's not that. because i never edited the original english.php. i only saved it as utf8.
    • CommentAuthorpagantrap
    • CommentTimeDec 15th 2005 edited
     # 5
    and if there is no solution to this how can i prevent these header error messages to come. because when i get the error code if i refresh the page it is straightened and normal again.
    • CommentAuthorjos
    • CommentTimeDec 15th 2005
     # 6
    Maybe the saving in utf8 caused a spacing? Usually such error is given when a space or any other output is send before eg a cookie is set or so (the headers). So I can only advice you to triple check the file for spaces that shouldn't be there. Maybe other people have other ideas.
    • CommentAuthorpagantrap
    • CommentTimeDec 15th 2005
     # 7
    you must be right. its 3 byte bigger than the original file.
    • CommentAuthorpagantrap
    • CommentTimeDec 15th 2005 edited
     # 8
    Lol.. you are really right! it doesn't match. but i can't see it on notepad. i used a comparer program and it found a difference at line1 like this:
    <?php this is original and
    <?php and this is when i saved as utf8...

    but like i said before i cant see the first three characters in notepad so i cant delete them..
    so what should i do?
    • CommentAuthorjos
    • CommentTimeDec 15th 2005
     # 9
    Try another program. :) Maybe wordpad does it.
    • CommentAuthorpagantrap
    • CommentTimeDec 15th 2005
     # 10
    no, it doesn't... and i think these three hidden chararacters are in every utf8 type php files. so they can't be deleted. but then whats the problem again.. i m losing my hope..i think i basicly wont use different characters for the forum.. thnx anyway jos..
  1.  # 11
    Download Notepad++

    http://notepad-plus.sourceforge.net/uk/site.htm

    Open up the file. Format > Encode in ANSI, then Check UTF-8 without BOM. The BOM is your problem.
    •  
      CommentAuthorlech
    • CommentTimeDec 15th 2005
     # 12
    restore the original files maybe?
  2.  # 13
    When he takes the original file an encodes in UTF-8 it includes a byt order mark at the beginning of certain characters. To get rid of it he just needs to encode in UTF w/o BOM.
    • CommentAuthorpagantrap
    • CommentTimeDec 16th 2005
     # 14
    yeah with notepad++ utf w/o bom solved my problem
    thanks very much :)
Add your comments
    Username Password
  • Format comments as