Extra whitespace
I'm getting extra space at the beginning of page ( output ), the thing is that I didn't edit any file, I just uploaded the codeigniter framework to my server, and in the welcome page I get that 开发者_StackOverflowspace, but in localhost I don't get it. I changed all files to utf8, checked if there is any space before ( there is no ?> )
Did someone had to deal with this issue before?
These might help your questions:
http://ellislab.com/forums/viewthread/141220/
http://ellislab.com/forums/viewthread/113265/
Check any models you are calling from your controller. I found that one of my models had extra white space at the bottom, which was causing extra lines at the top of my view.
Encode in UTF-8 without BOM. (notepad++ has this option convert)
"Files should be saved with Unicode (UTF-8) encoding. The BOM should not be used." codeigniter.com/user_guide/general/styleguide.html#file_format
精彩评论