EM60 Posted September 7, 2006 Share Posted September 7, 2006 Hi everyone, I have spend the last 2-3 days trying to resolve this error with the help of these forums but I am still not there yet. I have a number of contributions installed on my shopping cart that includes 1.Credit Class and Gift Voucher (CCGV - installing instructions by Deathgod) 2. Paypal IPN for osCommerce 3. Header Tags Controller 4. All Products 5. cDynamic Meta Tags 6. Easypopulate Ver 2.79 However I think my problem is to do with payment scripts as the error clearly indicates Fatal error: Call to undefined function: clear_posts() in /home/cashregi/public_html/catalog/checkout_payment.php on line 90 -------------------------------------------------------------------------------------------- line 90 in checkout_payment.php is in blue as follows: // #################### Added CGV ###################### require(DIR_WS_CLASSES . 'order_total.php');//ICW ADDED FOR CREDIT CLASS SYSTEM $order_total_modules = new order_total;//ICW ADDED FOR CREDIT CLASS SYSTEM [color=#3333FF]$order_total_modules->clear_posts(); // ADDED FOR CREDIT CLASS SYSTEM by Rigadin in v5.13[/color]// #################### End Added CGV ###################### it seems I am going round and round on this roundabout and I am hoping someone can help me take the correct exit to get to my destination. thank you for reading this and if you can help I will be so grateful. Edwin Link to comment Share on other sites More sharing options...
leonardo2212 Posted September 7, 2006 Share Posted September 7, 2006 --------------------------------------------------------------------------------------------line 90 in checkout_payment.php is in blue as follows: // #################### Added CGV ###################### require(DIR_WS_CLASSES . 'order_total.php');//ICW ADDED FOR CREDIT CLASS SYSTEM $order_total_modules = new order_total;//ICW ADDED FOR CREDIT CLASS SYSTEM [color=#3333FF]$order_total_modules->clear_posts(); // ADDED FOR CREDIT CLASS SYSTEM by Rigadin in v5.13[/color]// #################### End Added CGV ###################### Hello!Im also new to php but try this: search for older version of this contribution since it says here that this is new in this version "by Rigadin in v5.13" then compare the two versions and do the changes, or You can try to put space after clear_post before () or maybe space goes before clear_post so it looks like that?:$order_total_modules -> clear_posts(); - this could be it, i dont know, try, call to undefined functon is mostly typing error in the code!Good luck! Link to comment Share on other sites More sharing options...
EM60 Posted September 7, 2006 Author Share Posted September 7, 2006 You suggestion were much appreciated. I tried inserting a space before and after 'clear_posts' [/code] $order_total_modules->clear_posts(); // ADDED FOR CREDIT CLASS SYSTEM by Rigadin in v5.13 but regrettably to no joy. I also compared the coding in /catalog/checkout_payment.php CCGV v5.16 which contains the above code with the /catalog/checkout_payment.php coding in CCGV v5.12. The difference I notice is that the code is missing in v5.12. I used beyond Compare Software for this comparison. I wonder whether it is anything to do with osCommerce-PayPal_IPN_with_fee for MS2 Nov 2005 Release which is installed.? Any more help is appreciated ! Thanks Link to comment Share on other sites More sharing options...
Marandb Posted June 27, 2007 Share Posted June 27, 2007 I am having this exact same issue. Anyone have any ideas? Thank you VERY much. Marand Hi everyone, I have spend the last 2-3 days trying to resolve this error with the help of these forums but I am still not there yet. I have a number of contributions installed on my shopping cart that includes 1.Credit Class and Gift Voucher (CCGV - installing instructions by Deathgod) 2. Paypal IPN for osCommerce 3. Header Tags Controller 4. All Products 5. cDynamic Meta Tags 6. Easypopulate Ver 2.79 However I think my problem is to do with payment scripts as the error clearly indicates Fatal error: Call to undefined function: clear_posts() in /home/cashregi/public_html/catalog/checkout_payment.php on line 90 -------------------------------------------------------------------------------------------- line 90 in checkout_payment.php is in blue as follows: // #################### Added CGV ###################### require(DIR_WS_CLASSES . 'order_total.php');//ICW ADDED FOR CREDIT CLASS SYSTEM $order_total_modules = new order_total;//ICW ADDED FOR CREDIT CLASS SYSTEM [color=#3333FF]$order_total_modules->clear_posts(); // ADDED FOR CREDIT CLASS SYSTEM by Rigadin in v5.13[/color]// #################### End Added CGV ######################it seems I am going round and round on this roundabout and I am hoping someone can help me take the correct exit to get to my destination. thank you for reading this and if you can help I will be so grateful. Edwin Link to comment Share on other sites More sharing options...
ColorsbyLiza Posted July 5, 2007 Share Posted July 5, 2007 :'( SAME issue...anybody please..... Liza Link to comment Share on other sites More sharing options...
swiftmed Posted August 9, 2007 Share Posted August 9, 2007 same issue here too. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.