Re: parse error is always on line 1 == error ?
| From: | Jimmy Lantz | Date: | Fri, 27 Apr 2001 15:03:04 +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-50638@lists.php.net to get a copy of this message | ||
Yes, thank you you're right this is exactly what it was, I used Dreamweaver on a mac to edit the files, but now if I encounter parse error I convert them with BBEdit.
Thank you.
Jimmy Lantz
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