Zen Cart Logo

Losing line numbers

Locked

Views: 1,200

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
16 Oct 2007, 10:30 PM
#1
jt3c avatar

jt3c

New Zenner

Join Date:
Jul 2007
Location:
Eugene, OR
Posts:
16
Plugin Contributions:
0

Losing line numbers

Newbie to both ZC and Dreamweaver:

I'm currently customizing my site and have run into the problem that when I copy a default php file, customize & put it in my custom template files and then later use the Developer's Tool Kit in the admin area to search for things, all of the line numbers on my customized php files are gone. When they come up I get "Line#0:..." which has all the code crunched into one line in a huge window.

I use Dreamweaver to work on the files. Anyone know what's up? Its very annoying.

Thanks,
JT

17 Oct 2007, 2:58 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Losing line numbers

What you describe suggests that your editor settings and/or your FTP settings are changing the line-endings on the files in such a way that the server sees the files as having no line-breaks.
This can happen if your FTP is set to use binary instead of ascii mode for transferring .php files.
It can also happen if your editors' line-endings settings are wonky.

25 Oct 2007, 3:34 PM
#3
jt3c avatar

jt3c

New Zenner

Join Date:
Jul 2007
Location:
Eugene, OR
Posts:
16
Plugin Contributions:
0

Re: Losing line numbers

Thanks, I'll check it out later today when I've got time. I really appreciate the feedback.