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.366 seconds

  Joomla Developpers won't be able to live without J-Cook's Component Creator! Check it out - it'll save you a heap of time coding so you can concentrate on the creative part of developing!
Mind-Your-Biz-Online

Get Started