amr.khusheim Posted December 16, 2008 Share Posted December 16, 2008 (edited) 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 December 16, 2008 by amr.khusheim Quote Link to comment Share on other sites More sharing options...
amr.khusheim Posted December 17, 2008 Author Share Posted December 17, 2008 hello ppl any tip or hint would help ! please answer thank you Quote Link to comment Share on other sites More sharing options...
♥zelf Posted December 17, 2008 Share Posted December 17, 2008 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. Quote Virtual Merchant a.k.a. Elavon, ViaKlix, Nova Payment Module Contribution Link to comment Share on other sites More sharing options...
amr.khusheim Posted December 18, 2008 Author Share Posted December 18, 2008 thank you for your reply i installed it correctly one more question i promise :D i want to remove some fields like starting date and Issue number What files should i change ... i changed them from hsbc api.php but nothing changed thank you Quote Link to comment Share on other sites More sharing options...
davidkinsella Posted December 23, 2008 Share Posted December 23, 2008 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? Quote Link to comment Share on other sites More sharing options...
amr.khusheim Posted January 6, 2009 Author Share Posted January 6, 2009 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 ! Quote Link to comment Share on other sites More sharing options...
amr.khusheim Posted January 6, 2009 Author Share Posted January 6, 2009 sorry for my late reply .. i deleted all the files and installed them again ! follow the instructions in the txt file exactly ... if you move the files as they are you will have this problem ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.