• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Additional Whitespace

#1
Bug 
Hello,

I just upgraded from 2.2.0 to 3.0.0 and i noticed something in my pages... 

Before my views are called or even before an echo is done in a controller function, a whitespace is always present... if i echo directly in the controller before 
PHP Code:
Class Home extends CI_Controller 
The echo is done before the whitespace which makes believe it has something to do with the extending the CI_Controller... Here is an example of what i mean in attached pictures... any solutions?


Attached Files Thumbnail(s)
       
Reply

#2
My guess is you have a white space after a closing php tag "?>". That's why you should not put the closing php tag in your class files. Only the opening tag is required.
Test your translation files with Translation Tester
Reply

#3
Thanks @includebeer... Would take note of that
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.