Forums / Customization from the Admin / edited php file, and everything was messed up

edited php file, and everything was messed up

Locked

Views: 1,062

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
10 Jan 2010, 8:40 PM
#1
pixelfix avatar

pixelfix

New Zenner

Join Date:
Mar 2009
Posts:
38
Plugin Contributions:
0

edited php file, and everything was messed up

I wanted to change name in More Information box, the page 4 to new title when I saved it and uploaded to server all the text got mess up,
I edited file in .includes/languages/english.php

and changed the text page 4 to my desired name
save it , nothing else got changed

I used evsoft page 2006

what could of cause it ?

10 Jan 2010, 8:44 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: edited php file, and everything was messed up

evsoft page 2006...

(do you mean evrsoft...?)

DON'T use html editors to edit code files. Use a PLAIN TEXT editor - Emerald Editor is good, so is notepad++

Both are freeware.

Restore the backup file (remember... that backup you made BEFORE you started editing) - and try again using a plain text editor.

20 years a Zencart User

11 Jan 2010, 12:21 AM
#3
pixelfix avatar

pixelfix

New Zenner

Join Date:
Mar 2009
Posts:
38
Plugin Contributions:
0

Re: edited php file, and everything was messed up

Thank you,
good I had backup I was able to restore the file quick,
I will download those programs, I tried to edit with notepad in win7 and it groups all line together, and de-selected 'word wrap' but didnt help, but I try these programs,
thank you

11 Jan 2010, 9:20 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: edited php file, and everything was messed up

remember... notepad++ is not the same as plain old notepad.

20 years a Zencart User