Reputation: 724
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 space, 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?
Upvotes: 1
Views: 2505
Reputation: 537
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
Upvotes: 0
Reputation: 11054
These might help your questions:
http://ellislab.com/forums/viewthread/141220/
http://ellislab.com/forums/viewthread/113265/
Upvotes: 1
Reputation: 1
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.
Upvotes: 0