Zen Cart Logo
Forums / General Questions / My Payment Method Page has disappeared

My Payment Method Page has disappeared

Views: 614

Results 1 to 6 of 6
2 Nov 2012, 7:05 AM
#1
ziggisprint avatar

ziggisprint

New Zenner

Join Date:
Nov 2012
Posts:
2
Plugin Contributions:
0

My Payment Method Page has disappeared

Hi Guys

I hate being one of the newbie's that asks all the dumb questions.... But

A couple of text changes on the Shipping Method page has rendered my Payment Method page unreachable.

The error log shows the following:

[02-Nov-2012 16:17:45] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/tra32864/public_html/shopcart/includes/languages/english/modules/shipping/storepickup.php:53) in /home/tra32864/public_html/shopcart/includes/functions/functions_general.php on line 45

Many thanks
Mark

2 Nov 2012, 7:44 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: My Payment Method Page has disappeared

A couple of text changes on the Shipping Method page
Exactly what file (& path to it) did you make these changes to?

2 Nov 2012, 9:41 AM
#3
stevesh avatar

stevesh

Black Belt

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

Re: My Payment Method Page has disappeared

Most likely a character or line added to the end of the PHP file you edited, often caused by editing such files with something other than a text editor.

4 Nov 2012, 10:20 PM
#4
ziggisprint avatar

ziggisprint

New Zenner

Join Date:
Nov 2012
Posts:
2
Plugin Contributions:
0

Re: My Payment Method Page has disappeared

Hi Stevesh

Many thanks for taking the time to reply. So, Dreamweaver is not considered a good editing program for Zen Cart?

Sorry, I should've showed you the page URL... http://trailerpanels.com.au/shopcart/index.php?main_page=checkout_shipping. Everything is working perfectly up until this page.

And also, to reply to Kobra's question, I think th elast one would've been /shopcart/includes/languages/english/checkout_shipping.php

Many thanks for your time
Mark

4 Nov 2012, 11:50 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: My Payment Method Page has disappeared

Post the complete lines edited in checkout_shipping.php
Use the code tags

5 Nov 2012, 10:50 AM
#6
stevesh avatar

stevesh

Black Belt

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

Re: My Payment Method Page has disappeared

ziggisprint:

Hi Stevesh

So, Dreamweaver is not considered a good editing program for Zen Cart?
No. Use only a good text editor to edit PHP files. I use Windows Notepad, and Notepad ++ when I need to see line numbers and more detail.

Any chance you inserted text into one of the defines that contained a special character like an apostrophe ? If so, that's likely the problem. Special characters in define values need to be 'escaped' by placing a backslash in front of them: Steve's Place