Re: All Parse Errors on Line 1
| From: | Paul Burney | Date: | Fri, 01 Dec 2000 05:28:32 +0000 |
| Subject: | Re: All Parse Errors on Line 1 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-28166@lists.php.net to get a copy of this message | ||
>>> I've inadvertently done something to cause all parse errors
>>> in php3 or php4 to ALWAYS produce 'parse error on line 1'.
>>> Somehow related is anytime I try to send 'header' info I always get
>>> the message that 'headers already sent'. We've checked
>>> configurations (apache 1.3.9, php 4.0.3pl1, linux 2.2.14) and can't
>>> seem to find the problem....
It's possible that you're files have the wrong line ending characters on
them. This often happens if you are using a Mac to edit the files or if
your FTP client is misconfigured. Make sure to upload in ASCII format
and, if possible, try to save with Unix linefeeds in your editor.
Hope it helps,
Paul
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Paul Burney
Webmaster and Internet Developer
Educational Technology Unit
Graduate School of Education and Information Studies
University of California, Los Angeles
(310) 825-8365
<webmaster@gseis.ucla.edu>
<http://www.gseis.ucla.edu/>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++