Empty line

General Discussion about the commercial Enuuk Auction Platform
Post Reply
bamse
Posts: 220
Joined: Mon Feb 06, 2012 12:05 pm
Contact:

Empty line

Post by bamse » Wed Jun 26, 2013 4:36 pm

I have something strange: my html, csv and rss output all start with an empty line, i.e. the first non-empty line in the generated html source / exported csv files / rss feeds is the second line.

For html this does not matter, for csv this is just a slight annoyance but for rss it seems to break the feeds. An rss validator tells me:
XML parsing error: <unknown>:2:0: XML or text declaration not at start of entity
I am somewhat clueless where this empty line could come from, so any suggestions are welcome. If not from phpauction, could it be some external (apache, etc) problem? Other pages on the same server (e.g. phpmyadmin) don't seem to have this problem, so I guess it is a phpauction issue.

bamse
Posts: 220
Joined: Mon Feb 06, 2012 12:05 pm
Contact:

Re: Empty line

Post by bamse » Wed Jun 26, 2013 7:47 pm

Found the error with the help of google and this script: http://stackoverflow.com/questions/1943 ... bof-or-eof

The problem was that I had an empty line after the php closing tag in class/String.php

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest