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

The j-cook project is indeed one of the best tools I've run across for building Joomla components and the beta version should make things even better!

dyoungers (Forum)  

Get Started