dumb_question Posted July 26, 2003 Posted July 26, 2003 Hi all I just installed credit class gift voucher contribution. However, I dont see under modules in admin. It did show up in admin though but doesnt seem to be working properly. I do find following errors. TABLE_HEADING_COMMENTS.....there is a large space under this where you can ener info and then I see " text edit" in checkout and payment pages. Please help. thanks
dumb_question Posted July 26, 2003 Author Posted July 26, 2003 thanks for your help. I think i installed as per directions. however, I found thumbs.db in admin/includes/languages/images/buttons area of the contribution. there were no direction regarding the installation of this file. can this be the problem?
dumb_question Posted July 26, 2003 Author Posted July 26, 2003 Also, what i noted was that the installation directions said to modify catalogue/english php. i didnt find english.php in the root so i edited the file in inclues/languages directory.
Guest Posted July 26, 2003 Posted July 26, 2003 I would try restoring the file includes/languages/english.php from backup. If that fixes it, then the file got corrupted along the way. Good luck, Matt
dumb_question Posted July 26, 2003 Author Posted July 26, 2003 no...didnt work...I can see the GV and coupon in modules ( it showed up before i restored english.php)...but I am now getting these error messages....like "Delivery Address (TEXT_EDIT) sdfsdfd sdfdsdsfdsf ADDASSASA dfgfggg, wi fdgfggg United States Shipping Method (TEXT_EDIT) "..... "1054 - Unknown column 'orders_status_id' in 'field list' insert into orders_status_history (orders_id, orders_status_id, date_added, customer_notified, comments) values ('53', '', now(), '1', 'jc10')" on click on "finish order" button
dumb_question Posted July 26, 2003 Author Posted July 26, 2003 so basically all the links in my cart read " box heading" before the actual name of the link. my admin seems to work fine except that it doesnt send emails even when it says GV sent. anyone out there?
dumb_question Posted July 26, 2003 Author Posted July 26, 2003 ok...i fixed the box heading part.... I know i have been confusing in my previous posts. Here is what the issues are in nutshell: my admin seems fine except that when i email gv or coupon....it says email sent but doesnt send emails actually. my issues are in catalogue...I get this error on checkout_shipment.php page " FREE_SHIPPING_TITLE FREE_SHIPPING_DESCRIPTION TABLE_HEADING_COMMENTS " and this error in text on payment.php " TABLE_HEADING_CREDIT Gift Vouchers/Discount Coupons Enter Redeem Code TABLE_HEADING_COMMENTS " " following error when i click on finish order9i have 2checkout installed" 1054 - Unknown column 'orders_status_id' in 'field list' insert into orders_status_history (orders_id, orders_status_id, date_added, customer_notified, comments) values ('60', '', now(), '1', '') [TEP STOP]..... I have nov 02 version of osc and version 5.3 of contribution installed.............. Also, as per the installation directions..i had to add a line to catalogue/english.php file. I dont have any english php in root directory. i have includes/languages/english.php instead. should i make changes here? Please stuck...I am totally stuck! :cry:
Guest Posted July 27, 2003 Posted July 27, 2003 Also, as per the installation directions..i had to add a line to catalogue/english.php file. I dont have any english php in root directory. i have includes/languages/english.php instead. should i make changes here? There is typo in the installation readme - the correct directory is as you say catalog/includes/languages There is also a typo in your script, or it is out of date - you will have to edit the file by hand. if you look at the error, the problem is 'orders_status_id'..... you will have to alter the query to read 'orders_status_history_id'.... your file will probably refer to the table as TABLE_ORDERS_STATUS_HISTORY
dumb_question Posted July 27, 2003 Author Posted July 27, 2003 new error... Fatal error: Call to undefined function: update_status() in /home/papaji/public_html/checkout_confirmation.php on line 93 90 require(DIR_WS_CLASSES . 'order.php'); 91 $order = new order; 93 $payment_modules->update_status(); //ICW ADDED FOR CREDIT CLASS SYSTEM $order_total_modules = new order_total; //ICW ADDED FOR CREDIT CLASS SYSTEM... ...any idea?
Guest Posted July 27, 2003 Posted July 27, 2003 The function update_status can be found in catalog/includes/classes/payment.php check that is *is there*: function update_status() { if (is_array($this->modules)) { if (is_object($GLOBALS[$this->selected_module])) { if (function_exists('method_exists')) { if (method_exists($GLOBALS[$this->selected_module], 'update_status')) { $GLOBALS[$this->selected_module]->update_status(); } } else { // PHP3 compatibility @call_user_method('update_status', $GLOBALS[$this->selected_module]); } } } } if its there, then you must be sure the above file is called during the execution of your script.....checkout_payment.php should have something like: // load the selected payment module require(DIR_WS_CLASSES . 'payment.php'); $payment_modules = new payment($payment); Make sure this comes *before* your modification
dumb_question Posted July 27, 2003 Author Posted July 27, 2003 thanks Matty...you are great. looks like it is working now with some hiccups though.... I get " TABLE_HEADING_COMMENTS" on various chechout pages. Then in admin which was working fine previously shows similiar text problems...eg BOX_HEADING_GV_ADMIN BOX_COUPON_ADMIN BOX_GV_ADMIN_QUEUE BOX_GV_ADMIN_MAIL BOX_GV_ADMIN_SENT and the GV and coupon related emails arent working. what could this be due to? thanks again for your help. this is my first major contribution that i have installed!
Guest Posted July 27, 2003 Posted July 27, 2003 Well..... we are doing ok.... clearly we are installing into a version the contribution was not written for... those remaining things are again just missing defines from the relevant language file, so check those. Are you getting errors messages with the email, or what is happening?
dumb_question Posted July 27, 2003 Author Posted July 27, 2003 the emails are not executed at all ...although in admin it reads email sent.....even when i tried to email the gv from the cart , it seemed that everything was fine...but email was never generated
Recommended Posts
Archived
This topic is now archived and is closed to further replies.