Dazzerr Posted June 17, 2009 Share Posted June 17, 2009 Ive been trying to figure this out for so long now, ive done everything i can, replaced files and all. I would so love the person who could help me :rolleyes: . Now, my problem is that during the checkout process i get this error: Warning: order_total(includes/languages/english/modules/order_total/ot_gv.php) [function.order-total]: failed to open stream: No such file or directory in /home/shattere/public_html/forum/catalog/includes/classes/order_total.php on line 25 Warning: order_total(includes/languages/english/modules/order_total/ot_gv.php) [function.order-total]: failed to open stream: No such file or directory in /home/shattere/public_html/forum/catalog/includes/classes/order_total.php on line 25 Warning: order_total(includes/languages/english/modules/order_total/ot_gv.php) [function.order-total]: failed to open stream: No such file or directory in /home/shattere/public_html/forum/catalog/includes/classes/order_total.php on line 25 Warning: order_total() [function.include]: Failed opening 'includes/languages/english/modules/order_total/ot_gv.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/shattere/public_html/forum/catalog/includes/classes/order_total.php on line 25 Warning: order_total(includes/modules/order_total/ot_gv.php) [function.order-total]: failed to open stream: No such file or directory in /home/shattere/public_html/forum/catalog/includes/classes/order_total.php on line 26 Warning: order_total(includes/modules/order_total/ot_gv.php) [function.order-total]: failed to open stream: No such file or directory in /home/shattere/public_html/forum/catalog/includes/classes/order_total.php on line 26 Warning: order_total(includes/modules/order_total/ot_gv.php) [function.order-total]: failed to open stream: No such file or directory in /home/shattere/public_html/forum/catalog/includes/classes/order_total.php on line 26 Warning: order_total() [function.include]: Failed opening 'includes/modules/order_total/ot_gv.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/shattere/public_html/forum/catalog/includes/classes/order_total.php on line 26 Fatal error: Cannot instantiate non-existent class: ot_gv in /home/shattere/public_html/forum/catalog/includes/classes/order_total.php on line 29 I can see this basically says files are missing... but i have replaced them all and they only lead to more errors. If i replace these files i get another error saying: 1146 - Table 'shattere_smf1.coupons' doesn't exist select coupon_code from coupons where coupon_id='' [TEP STOP] These errors have began arising since i attempted to install a voucher redeem addon for oscommerce. Now, im reverting back cause it had bugs... but reverting is my problem. I cant just leave it! Please, i beg for some help. Thank you for reading, Dazzerr Link to comment Share on other sites More sharing options...
Dazzerr Posted June 18, 2009 Author Share Posted June 18, 2009 Bump - Maybe it would be easier to re-install.. but all those catalog items!... Is there a particular PHP File in which i could extract onto a fresh install? Link to comment Share on other sites More sharing options...
MrPhil Posted June 18, 2009 Share Posted June 18, 2009 A quick look at the code shows that the request for ot_gv.php is probably coming from the database. In the "configuration" table, look for an entry with configuration_title = "Installed Modules" and configuration_key = MODULE_ORDER_TOTAL_INSTALLED. The next field is configuration_value, which by default is "ot_subtotal.php;ot_tax.php;ot_shipping.php;ot_total.php". My guess is that a bad removal of the voucher add-on, left "ot_gv.php" in that list. You could try using phpMyAdmin to remove it from the list and see what happens. Record everything you do so you can back out your changes if necessary, and even better, back up your database first. Link to comment Share on other sites More sharing options...
Dazzerr Posted June 18, 2009 Author Share Posted June 18, 2009 THank you for the reply! But what do you mean "configuration" file? Thanks again! Dazzerr Link to comment Share on other sites More sharing options...
MrPhil Posted June 19, 2009 Share Posted June 19, 2009 The 'configuration' table, not file. I'll probably regret telling you this, but if you feel up to it, you would have to run a MySQL database editor such as 'phpMyAdmin' on your site. Find your osCommerce database (in case you have more than one database). Find the 'configuration' table and browse it. Look for field (column) labeled 'configuration_title' with a value 'Installed Modules'. If the configuration_value for that row contains ot_gv.php, you'll need to edit that entry to remove that part of it. I would strongly advise finding someone who knows their way around a database to do this job. If you screw it up, you'll have to re-install osC and start from square one. AND, back up your database before you do anything else. If the voucher add-on (contribution) was not cleanly removed, there may be other ugly little things rearing their heads after you get the database cleaned up. Without looking in your system, I can't tell for sure if there's an ot_gv.php module listed in the database. Even if there isn't, there may be other junk in there, or in the PHP files. At least the PHP files can be restored to pristine condition by an overwrite from the installation package. A corrupt database will require painstaking review of the structure and contents. Anyway, if ot_gv.php is in the database, removing it should get you past the error you reported (and on to the next one...). Link to comment Share on other sites More sharing options...
Dazzerr Posted June 22, 2009 Author Share Posted June 22, 2009 The 'configuration' table, not file. I'll probably regret telling you this, but if you feel up to it, you would have to run a MySQL database editor such as 'phpMyAdmin' on your site. Find your osCommerce database (in case you have more than one database). Find the 'configuration' table and browse it. Look for field (column) labeled 'configuration_title' with a value 'Installed Modules'. If the configuration_value for that row contains ot_gv.php, you'll need to edit that entry to remove that part of it. I would strongly advise finding someone who knows their way around a database to do this job. If you screw it up, you'll have to re-install osC and start from square one. AND, back up your database before you do anything else. If the voucher add-on (contribution) was not cleanly removed, there may be other ugly little things rearing their heads after you get the database cleaned up. Without looking in your system, I can't tell for sure if there's an ot_gv.php module listed in the database. Even if there isn't, there may be other junk in there, or in the PHP files. At least the PHP files can be restored to pristine condition by an overwrite from the installation package. A corrupt database will require painstaking review of the structure and contents. Anyway, if ot_gv.php is in the database, removing it should get you past the error you reported (and on to the next one...). I see, thank you. i understand now. Thanks alot! If this fails i will just re-install and have to add all my products again :(. Thanks again! Link to comment Share on other sites More sharing options...
MrPhil Posted June 22, 2009 Share Posted June 22, 2009 I see, thank you. i understand now. Thanks alot! If this fails i will just re-install and have to add all my products again :(. Let's hope not. I don't think it's necessary to lose all your product database (unless it's quite small) just to fix one (minor) problem in the configuration. When you removed the contribution, did you just start hacking it out of the code, or did you use any proper "uninstall" code or instructions? I suspect that you've still got that ot_gv.php entry in the configuration database. Perhaps you could find someone to help you check for it and remove it, before going through a full re-install? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.