Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Empty line after closing php tag causing trouble 20 Mar 2016 21:07 #13857

Hi admin,

In my component I have the need to export the records as CSV.
This is no problem, but there was an empty line above my output.

This is usually a problem with having php files containing white space after a closing tag.

In your case: the administrator\component\helper\loader.php has that problem.
Closing tag is not needed I think, but in any case please remove the generated whitespace.

Please Log in or Create an account to join the conversation.

Empty line after closing php tag causing trouble 21 Mar 2016 10:50 #13858

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Excellent catch.

Fixed.

Karma++;
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.069 seconds

I must say that I'm leaps and bounds ahead of where I would have other been with J2.5 with full thanks to the folks on this forum and specifically to Cook so you'll never hear me complaining.
gdpodesta (Forum)  

Get Started