Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Editing PHP files causes crashing

Editing PHP files causes crashing

Locked

Views: 676

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Aug 2009, 9:26 AM
#1
natbali avatar

natbali

New Zenner

Join Date:
Aug 2009
Posts:
3
Plugin Contributions:
0

Editing PHP files causes crashing

I edit shopping_cart.php with either Firstpage or Notepad and I get a white page or a crash - I am able to edit other files with these programs and it works.

I am trying to to remove the message ...............

You may want to add some instructions for using the shopping cart here. (defined in includes/languages/english/shopping_cart.php)

altering a single byte in the file causes a similar crash

a similar problem occurs in the new account log in php file

any advice appreciated

site is https://www.notabenebali.com

Best

Nat

5 Aug 2009, 10:33 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Editing PHP files causes crashing

Assuming you're doing it right (removing the text in that define and leaving the single quotes) it should be OK with either of those programs. Are you just removing that text, or replacing it with something else?

5 Aug 2009, 4:39 PM
#3
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Editing PHP files causes crashing

For define pages, you can edit directly in admin->tools

6 Aug 2009, 10:32 AM
#5
natbali avatar

natbali

New Zenner

Join Date:
Aug 2009
Posts:
3
Plugin Contributions:
0

Re: Editing PHP files causes crashing

To all of you who replied to my trivial response - many thanks for your time and interest.

The problem was in fact editor caused (adding junk to the php file)

It's very gratifying to see such community support

Thanks

Nat