Re: All Parse Errors on Line 1

From: Date: Fri, 01 Dec 2000 07:58:22 +0000
Subject: Re: All Parse Errors on Line 1
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28175@lists.php.net to get a copy of this message
Paul: THANK YOU, THANK YOU, THANK YOU. I N-E-V-E-R would have tried that, or noticed the difference. When I write my own code it's not been a problem, but in this case I used a program from another source. A lesson learned, and never forgotten. At 9:28 PM -0800 11/30/00, Paul Burney wrote:
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/> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Our job is not to do great things; only to do small things greatly. -- adapted from Mother Teresa quote Chip Carman / Technical Director Spiral Studios, LLC / Nevada City, CA USA 530-470-0830 / 530-470-0836 fax / http://spiral.com

« previous php.general (#28175) next »