Re: parse error is always on line 1 == error ?
| From: | John Platte | Date: | Fri, 27 Apr 2001 14:47:52 +0000 |
| Subject: | Re: parse error is always on line 1 == error ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50634@lists.php.net to get a copy of this message | ||
I use BBEdit on the Mac, uploading PHP code to a Unix server, and I get
parse errors on line 1 unless I remember to set line breaks to Unix \n
(rather than Mac and Windows line endings, which use different
characters). You may be running into a similar problem.
Jimmy Lantz wrote:
> Hi, I have a problem,
> that when I get a parse error it always says that it's on line 1 in
> this or that file.
> Where is the configuration option to set this right?
> I have on another server seen that it's possible to get it to state
> the actual error line.
John Platte
"Truth binds the mind to what satisfies it,
but worldly thinking does not satisfy
and therefore ignites curiosity."
-- St. Theophan the Recluse