Jump to content

Warning: Cannot modify header information [error] [solved]


Recommended Posts

Posted

hi all

i moved my phpvms to new domain with all data and every thing is ok but i recive this error when login:

Warning: Cannot modify header information - headers already sent by (output started at /home2/sudansky/public_html/sudva/core/app.config.php:1)

in /home2/sudansky/public_html/sudva/core/classes/Util.class.php on line 58

any tips ?

problem solved by change encode to (encode in utf-8 without bom).. use notebad++

Posted

still not solve :(

my problem exactly :

1/ this error message when login

Warning: Cannot modify header information - headers already sent by (output started at /home2/sudansky/public_html/sudva/core/app.config.php:1) in /home2/sudansky/public_html/sudva/core/modules/Login/Login.php on line 143

Warning: Cannot modify header information - headers already sent by (output started at /home2/sudansky/public_html/sudva/core/app.config.php:1) in /home2/sudansky/public_html/sudva/core/modules/Login/Login.php on line 154

(by press home button im loging successfuly)

2/ this error message appear to me when download fsacars config file

Warning: Cannot modify header information - headers already sent by (output started at /home2/sudansky/public_html/sudva/core/app.config.php:1) in /home2/sudansky/public_html/sudva/core/classes/Util.class.php on line 58

Warning: Cannot modify header information - headers already sent by (output started at /home2/sudansky/public_html/sudva/core/app.config.php:1) in /home2/sudansky/public_html/sudva/core/classes/Util.class.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /home2/sudansky/public_html/sudva/core/app.config.php:1) in /home2/sudansky/public_html/sudva/core/classes/Util.class.php on line 60

i think there is problem acure to database when transfer from old domain to new one because i dont edit this tamplates before .

Posted

Yep. I agree. It is a white space. I went round and round with mine here a while back and it was a white space. I could not find the white space to save my life so I just rebuilt my config file and problem solved.

Posted

Did you edit your local.config file with textpad? or wordpad? If so, get dream weaver or another web site design suit that is capable of viewing html and php. And make sure you click show hidden characters. Often textpad or wordpad will put in hidden characters you don't know about.

  • Like 1
Posted

Did you edit your local.config file with textpad? or wordpad? If so, get dream weaver or another web site design suit that is capable of viewing html and php. And make sure you click show hidden characters. Often textpad or wordpad will put in hidden characters you don't know about.

Notepad ++ works wonders with coding.

http://notepad-plus-plus.org/

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...