raymond rabasi Posted September 29, 2011 Report Share Posted September 29, 2011 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++ Quote Link to comment Share on other sites More sharing options...
Strider Posted September 29, 2011 Report Share Posted September 29, 2011 You have whitespace somewhere in the php code. Quote Link to comment Share on other sites More sharing options...
raymond rabasi Posted September 29, 2011 Author Report Share Posted September 29, 2011 You have whitespace somewhere in the php code. thanks MR.BEAN for attention..will review my code to detect that, i hope this solve problem Quote Link to comment Share on other sites More sharing options...
raymond rabasi Posted September 29, 2011 Author Report Share Posted September 29, 2011 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 . Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted September 29, 2011 Moderators Report Share Posted September 29, 2011 look in your local config.php you have a white space there Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted September 29, 2011 Report Share Posted September 29, 2011 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. Quote Link to comment Share on other sites More sharing options...
Strider Posted September 29, 2011 Report Share Posted September 29, 2011 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. 1 Quote Link to comment Share on other sites More sharing options...
TennShadow Posted September 29, 2011 Report Share Posted September 29, 2011 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/ 1 Quote Link to comment Share on other sites More sharing options...
Strider Posted September 29, 2011 Report Share Posted September 29, 2011 Notepad ++ works wonders with coding. http://notepad-plus-plus.org/ That is another one, but as long as it is not textpad or wordpad that come as default with computers, it should be fine to edit php or html files. Quote Link to comment Share on other sites More sharing options...
raymond rabasi Posted September 29, 2011 Author Report Share Posted September 29, 2011 yeeeeeeeh solved by: change encode to (encode in utf-8 without bom).. use notepad++ thanks to all to advice me on this post : Mr.Bean,Keith,TAV1702, joeri ... Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted September 30, 2011 Report Share Posted September 30, 2011 notepad++ has saved me many a headaches since I started using it. It is a real nice option if you do not have or can not afford Dreamweaver. Glad you got it working again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.