Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Cannot redeclare class hsbc_api in /home/hiperma/public_html/catalog/includes/modules/payment/hsbc_api.php on line 37


amr.khusheim

Recommended Posts

Hello!

 

I installed all the files correctly

but i got this error

 

Fatal error: Cannot redeclare class hsbc_api in /home/hiperma/public_html/catalog/includes/modules/payment/hsbc_api.php on line 37

 

 

what should i change

 

thanks in advance !

~amr

Edited by amr.khusheim
Link to comment
Share on other sites

hello ppl any tip or hint would help !

 

please answer

 

thank you

 

The error message is fairly simple. You are re-declaring the class for the contribution you are installing. For example, you may be requiring the class at the top of /catalog/checkout_payment.php, but the contribution is also requiring the class somewhere in itself. You need to check if you are requiring the class more than once on the same page.

Link to comment
Share on other sites

  • 2 weeks later...
I also have this probelm and cannot see where the clas is being redeclared. I had tried to use use the CPI intergration at one point and was wondering if ti had something to do with that. How did you get it working?

 

 

sorry for my late reply .. i deleted all the files and installed them again !

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...