zefeena Posted January 20, 2014 Posted January 20, 2014 Hi, I have been updating my site and now my cheque option won't work, it showed and allowed you to choose it, but then just the egg timer showed forever and it never goes through. I thought I'd just have remove the module and re-install it. So I did that - no joy! So I found the original copy of the payment module and decided I could replace the file. I thought uninstall the module before did this so went back to the admin, but the 'uninstall' option has gone! Any ideas how I uninstall the module now? thanks Kellie Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help.
Bob Terveuren Posted January 20, 2014 Posted January 20, 2014 Hi - only way I know to do it would be to manually edit the database - in the configuration table Find the configuration_key = MODULE_PAYMENT_INSTALLED and the configuration_value should be a semi-colon delimited list of installed payment module - you need to carefully edit that to remove the filename.php that relates to the cheque module you are using. next you need to find all the module configuration entries in the same table that the normal install/uninstall would add/remove and take those out by hand - if you look in the module file you'll see a line towards the foot of the file that looks something like (this is the line from moneyorder.php in osc 2.3.3.4 return array('MODULE_PAYMENT_MONEYORDER_STATUS', 'MODULE_PAYMENT_MONEYORDER_ZONE', 'MODULE_PAYMENT_MONEYORDER_ORDER_STATUS_ID', 'MODULE_PAYMENT_MONEYORDER_SORT_ORDER', 'MODULE_PAYMENT_MONEYORDER_PAYTO'); A search on MODULE_PAYMENT_MONEYORDER_ in the configuraion table will pull up these entries for deletion or you could run through each one at a time and delete manually. If you try to reinstall without removing all the old entries then the module will not work so you have to make sure they have all gone
zefeena Posted January 20, 2014 Author Posted January 20, 2014 Thank you, If I back up the database through the admin would that be enough to restore it if it all goes wrong? I have a lousy internet speed and it makes things awkward. I'm prone to messing things up so a quick way back is a must - it sounds a little scarey!!! Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help.
zefeena Posted January 21, 2014 Author Posted January 21, 2014 I haven't yet removed the 'module' as I'm doubtful that removing and re-installing will allow it to work. I say this as I notice the COD module also fails to work. It just spends forever thinking about it but never completes! Does any one know if anything in the update may have affected these. The paypal module works fine, but then it does of course, go to another page (paypals) which is secure, so I was wondering if the new update was in any way calling for a page to be SSL and my site is not. Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help.
Bob Terveuren Posted January 23, 2014 Posted January 23, 2014 Hi - COD should run through without any problems on a non-SSL site. If you are getting the egg timer after clicking the 'next' button on the checkout_payment page with different payment modules and the page does not move through to checkout_confirmation then the problem may lie in the form validation - latest osC has a line like <?php echo tep_draw_form('checkout_payment', tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'), 'post', 'onsubmit="return check_form();"', true); ?> check_form() is a javascript function and that may be screwing up. On the database question - if you can backup your database using phpMyAdmin or similar then I would use that as you'll need to go that way to reinstall from a backup
Recommended Posts
Archived
This topic is now archived and is closed to further replies.