jdlev Posted March 15, 2006 Posted March 15, 2006 I have built multiple oscommerce sites, but have never seen this one. I get this error after I go to checkout and then click the continue button to get to Payment Information: Fatal error: Cannot instantiate non-existent class: cc in /web/awi/includes/classes/payment.php on line 41 Here is lines 37 - 41 in payment.php (not modified whatsoever) for ($i=0, $n=sizeof($include_modules); $i<$n; $i++) { include(DIR_WS_LANGUAGES . $language . '/modules/payment/' . $include_modules[$i]['file']); include(DIR_WS_MODULES . 'payment/' . $include_modules[$i]['file']); $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class']; I have searched, but with no luck. Can one of you Oscommerce Guru's please help me out :)
Guest Posted March 15, 2006 Posted March 15, 2006 i would check first that things like cc.php have uploaded correctly, could be your file is corrupt
jdlev Posted March 15, 2006 Author Posted March 15, 2006 I thought about that myself, so what i did was download oscommerce again, and up the file... unfortuanately no luck... any other suggestions?
jdlev Posted March 16, 2006 Author Posted March 16, 2006 I thought about that myself, so what i did was download oscommerce again, and up the file... unfortuanately no luck... any other suggestions? Ok, you ended up being right.. cc.php was corrupt... I thought I checked that, but I was wrong. Thanks for helping me out
Recommended Posts
Archived
This topic is now archived and is closed to further replies.