Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / Maybe it is just a simple question, but i can not figure out after checking the forum

Maybe it is just a simple question, but i can not figure out after checking the forum

Locked

Started by adam9110 on 3 Jun 2007, 6:29 AM · Views: 1,339

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
3 Jun 2007, 6:29 AM
#1
adam9110 avatar

adam9110

New Zenner

Join Date:
Jan 2006
Posts:
92
Plugin Contributions:
0

Maybe it is just a simple question, but i can not figure out after checking the forum

after the third step of checkout . I get the error like.
Fatal error: Cannot redeclare class payment in /hsphere/local/home/*****/*******/includes/classes/payment.php on line 20

I am use Moneyorder payment method for testing!

I searh the forum , may find some similar problem. But all of them cannot solve my problem.

SO any reply will be highly appreciated..

Thanks

3 Jun 2007, 6:53 AM
#2
adam9110 avatar

adam9110

New Zenner

Join Date:
Jan 2006
Posts:
92
Plugin Contributions:
0

Re: Maybe it is just a simple question, but i can not figure out after checking the forum

And i've used DEVELOP TOOLS KIT IN admin

and searh the Class Payment in all files (admin/ catalog)

There only two result.

includes/classes/payment_module_info.php

Line #23 : class paymentModuleInfo {

includes/classes/payment.php
Line #19 : class payment extends base {

There is no further duplicated class payment?

So totally confused.
.......................

3 Jun 2007, 11:41 AM
#3
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Maybe it is just a simple question, but i can not figure out after checking the forum

Fatal error: Cannot redeclare class payment in /hsphere/local/home/*****/*******/includes/classes/payment.php on line 20

Files declaring that class file:

  • /ipn_main_handler.php
  • includes/modules/checkout_process.php
  • includes/modules/pages/checkout_payment/header_php.php
  • includes/modules/pages/checkout_confirmation/header_php.php

:wink2:

3 Jun 2007, 1:54 PM
#4
adam9110 avatar

adam9110

New Zenner

Join Date:
Jan 2006
Posts:
92
Plugin Contributions:
0

Re: Maybe it is just a simple question, but i can not figure out after checking the forum

Hello Friend,
Thanks for your kind reply.
But i still have no idea which code i should change in the files you refered above.
Is that the code which refer to the "payment "??

3 Jun 2007, 2:02 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,739
Plugin Contributions:
0

Re: Maybe it is just a simple question, but i can not figure out after checking the forum

Adam-

Do NOT change any files at the moment. Please post your URL so that the real problem can be seen.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

3 Jun 2007, 2:12 PM
#6
adam9110 avatar

adam9110

New Zenner

Join Date:
Jan 2006
Posts:
92
Plugin Contributions:
0

Re: Maybe it is just a simple question, but i can not figure out after checking the forum

Dear kim,
Thanks for your reply.

Now my website in another mass..

Warning: main(includes/templates/template_default/templates/tpl_checkout_process_default.php): failed to open stream: No such file or directory in /hsphere/local/home/ecgadget/chinawholesaleonline.org/includes/templates/classic/common/tpl_main_page.php on line 116

Warning: main(includes/templates/template_default/templates/tpl_checkout_process_default.php): failed to open stream: No such file or directory in /hsphere/local/home/ecgadget/chinawholesaleonline.org/includes/templates/classic/common/tpl_main_page.php on line 116

Warning: main(includes/templates/template_default/templates/tpl_checkout_process_default.php): failed to open stream: No such file or directory in /hsphere/local/home/ecgadget/chinawholesaleonline.org/includes/templates/classic/common/tpl_main_page.php on line 116

Fatal error: main(): Failed opening required 'includes/templates/template_default/templates/tpl_checkout_process_default.php' (include_path='.:/usr/local/lib/php:/usr/local/share/pear') in /hsphere/local/home/ecgadget/chinawholesaleonline.org/includes/templates/classic/common/tpl_main_page.php on line 116

Please check out it for me ,
Here is the web link: china wholesale online DOT org

I have four payment method, non of them work now..:(

Thanks for your help.

3 Jun 2007, 2:20 PM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,739
Plugin Contributions:
0

Re: Maybe it is just a simple question, but i can not figure out after checking the forum

If you switch to the Classic template- Do you still have the problem?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

3 Jun 2007, 2:24 PM
#8
adam9110 avatar

adam9110

New Zenner

Join Date:
Jan 2006
Posts:
92
Plugin Contributions:
0

Re: Maybe it is just a simple question, but i can not figure out after checking the forum

I dont what really happened.

Now the problem has gone.

Thanks kim.....

:)