hmsims Posted June 1, 2009 Share Posted June 1, 2009 Here is my issue: I have two shops sharing information from one database for product info/images. They are hosted on different servers. Site one has the actual database for products info/images. Site two access the database from site one, thus the dbase url is set to Site one The cart url for Site two is local to that server. When running Site two everything is fine until it encounters the $easy_discount (first error on line 17 of shopping_cart.php) Fatal error: Call to a member function reset() on a non-object in /var/www/httpdocs/cart/shopping_cart.php on line 17 This error occurs every time the code of shopping_cart.php wants to process a function using the $easy_coupon variable. When I comment out the lines referencing the $easy_coupon call, everything works fine, except of course there is no discount. Anyone know why this is happening? I've looked around for things like server settings, session id issues, cookies...just not sure what is going on here. Global variables are set on and I don't seem to have issues with anything else. Any help would be appreciated "We're having a perfectly normal conversation aren't we?" Link to comment Share on other sites More sharing options...
hmsims Posted June 1, 2009 Author Share Posted June 1, 2009 even if I point the code on server two to a local copy of the database I still get the same error from the easy discount code. "We're having a perfectly normal conversation aren't we?" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.