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

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started