I have just installed the gift voucher/credit class contribution, and thought that it was all going well. I can create gift vouchers/discount codes in my admin suite, and the shop hasn’t broken down either. I tried to test purchasing an item as the shopping cart pages have been fairly modified – I get as far as the payment method page (checkout_payment.php), where I can enter credit card details/or select using a cheque/money order. But, when I click “redeem” (with a gift code) or click “continue” to confirm the order I get Fatal Error messages (on the checkout_confirmation.php page).
This is the error message with the cheque/money order module enabled:
Fatal error: Cannot redeclare class moneyorder in /home/readingniguk/public_html/catalog/includes/modules/payment/moneyorder.php on line 13
This is error message with the cheque/money order module removed (leaving just credit card as an option):
Fatal error: Cannot redeclare class cc in /home/readingniguk/public_html/catalog/includes/modules/payment/cc.php on line 13
Different error message – but same line 13 – and same redeclaring of class problem.
Is it something to do with you cant parse the same file at the same time or something? Is the above problem easy to identify or solve / work around?
I have a delivery date picker, Product Attribute text input, Purchase without account, STS and X-sell contributions all installed. But I didn’t think they’d conflict – none of the modified code was ever in the same place.
Please advise!!!! Many Thanks in advance!
Happy to post code or send pages if anyone can help.




LinkBack URL
About LinkBacks






Bookmarks