Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Issue when getting to payment stage

Issue when getting to payment stage

Locked

Views: 1,736

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
16 May 2009, 3:31 PM
#1
mau108 avatar

mau108

New Zenner

Join Date:
May 2009
Posts:
11
Plugin Contributions:
0

Issue when getting to payment stage

Hi Guys,

I am testing this site I have created, but there is one BIG issue. For some reason after I get passed the shipment selection screen (canada post module installed) and it goes to the payment stage I get a blank page.

This is what it says in the address bar.

main_page=checkout_payment

Anyone know what it could be? I have Virtual Merchant payment method installed but I disabled it but it did not help.

16 May 2009, 4:01 PM
#2
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Issue when getting to payment stage

Sounds like you have a missing or corrupt tpl_checkout_payment_default.php file?

Check in your includes/templates/YOURTEMPLATE/templates folder and make sure you have this file.....

Try copy a fresh file there from the ZC install folder and see if it helps

(REMEMBER TO BACK UP EXISTING FILE FIRST IF ITS THERE)

16 May 2009, 4:54 PM
#3
mau108 avatar

mau108

New Zenner

Join Date:
May 2009
Posts:
11
Plugin Contributions:
0

Re: Issue when getting to payment stage

none of the tpl_checkout files were there so I transferred it all from the template default folder but it still does the same thing...

any other suggestions?

16 May 2009, 6:21 PM
#4
mau108 avatar

mau108

New Zenner

Join Date:
May 2009
Posts:
11
Plugin Contributions:
0

Re: Issue when getting to payment stage

ran debugger

this is the error message I receive

[16-May-2009 11:18:21] PHP Fatal error: Cannot redeclare class virtualmerchant in /home/.chanel/****/#####/includes/modules/payment/virtualmerchant.php on line 33

I *'ed and #'ed out stuff

17 May 2009, 3:15 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Issue when getting to payment stage

Go to the Tools ... Developers Tool Kit ...

In the bottom input box enter:
class virtualmerchant

Select Catalog ... click Search ... what files come up containing that line?

This could be a copy, backup copy, miscopied etc. file on the server causing this ...

NOTE: the module directories are auto-loading so it may be loading copies/backups etc. and triggering that error or the language file could accidentally be a copy of the code file ... :unsure:

30 May 2009, 3:13 PM
#6
mau108 avatar

mau108

New Zenner

Join Date:
May 2009
Posts:
11
Plugin Contributions:
0

Re: Issue when getting to payment stage

Ajeh:

Go to the Tools ... Developers Tool Kit ...

In the bottom input box enter:
class virtualmerchant

Select Catalog ... click Search ... what files come up containing that line?

This could be a copy, backup copy, miscopied etc. file on the server causing this ...

NOTE: the module directories are auto-loading so it may be loading copies/backups etc. and triggering that error or the language file could accidentally be a copy of the code file ... :unsure:

Hi I get the following results

its in the virtualmerchant.php file in both

/includes/modules/payment/virtualmerchant.php - LINE 32

and

/includes/functions/extra_functions/virtualmerchant.php - LINE 34

30 May 2009, 4:14 PM
#7
mau108 avatar

mau108

New Zenner

Join Date:
May 2009
Posts:
11
Plugin Contributions:
0

Re: Issue when getting to payment stage

fixed it, it was my fault.

30 May 2009, 8:36 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Issue when getting to payment stage

Slipped a copy into your self loading function directory, eh? :cool:

Hate when I do that ... :blink:

15 Jul 2009, 8:27 PM
#9
wstar avatar

wstar

New Zenner

Join Date:
Nov 2008
Posts:
16
Plugin Contributions:
0

Re: Issue when getting to payment stage

I also get a blank page, however I do not have any "class virtualmerchant".

Is there anything else that could do this?

15 Jul 2009, 10:20 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Issue when getting to payment stage

A number of things can cause this ... the most likely being a language file with space(s) or blank line(s) before or after the opening or closing php brackets ...

Get the Debug Tool from the Free Software Add Ons and see if it will give you the exact error message(s) you are receiving ...

16 Jul 2009, 12:35 PM
#11
wstar avatar

wstar

New Zenner

Join Date:
Nov 2008
Posts:
16
Plugin Contributions:
0

Re: Issue when getting to payment stage

Thank you for the quick reply, I will get the debugger today and see.

Thanks again.