Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Empty line after closing php tag causing trouble

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

  • Romkabouter
  • Romkabouter's Avatar
  • Offline
  • Elite Member
  • Posts: 310
  • Thank you received: 131
  • Karma: 48
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.
The administrator has disabled public write access.

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

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

Fixed.

Karma++;
Coding is now a piece of cake
Last Edit: 21 Mar 2016 10:51 by admin.
The administrator has disabled public write access.
Time to create page: 0.053 seconds

Get Started