|
|
Joined: Jan 2001
Posts: 32
User
|
User
Joined: Jan 2001
Posts: 32 |
I don't see what I have done to deserve this! Can anyone shed some light on where I might look if I get variously these errors:
Parse error: parse error in /var/www/html/libdems/oxfordshirelibdems/forums/wwwthreads.php on line 1
Parse error: parse error in /var/www/html/libdems/oxfordshirelibdems/forums/main.inc.php on line 1
Jock
|
|
|
|
Joined: Jan 2001
Posts: 32
User
|
User
Joined: Jan 2001
Posts: 32 |
Okay - I solved this one too. Weird.
This is something to do with one or other of the tools I am using to edit php/html pages.
I normally work on my Mac accessing the files through Dreamweaver from a Linux/Apache server. I recently found an editor called PHP Coder Pro - I think it was someone's recommendatio on here. Unfortunately this only runs on windows so I run it under the Win 98 emulator picking up files off the shared Mac drive. I also wanted to use a decent editor to replace the text editing facilities in Dreamweaver so downloaded BBE Edit lite.
One of these two, or the process of picking up files from the Mac drive and putting them back there from the PC must screw up the ends of lines and only when you look at them in the KDE editor on my Linux box does this problem show up.
God only knows how many of them I've got in this state, but what a nightmare!
Does anyone know of a Mac based PHP Coder type program that would prevent this problem? I can probably access files direct from the linux box from within the Win 98 emulator but then I'm introducing another software control hurdle if I do that and bypass Dreamweaver's site management functionality.
Jock
|
|
|
|
Joined: May 2000
Posts: 125
Member
|
Member
Joined: May 2000
Posts: 125 |
On the Macintosh, BBedit -> save as -> options -> line breaks=unix. N.B. I use the commercial version of BBedit
|
|
|
|
Joined: Jan 2001
Posts: 32
User
|
User
Joined: Jan 2001
Posts: 32 |
Thanks...I will check that. I might try to stick to running with the PHP Coder and just take the hit of shifting between Mac and emulator. I was worried that it might have been that that was causing it.
Jock
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|