=X????= Posted December 19, 2002 Share Posted December 19, 2002 http://www.phpwebservices.com/tacticalair/...log/default.php On the part on the right I have the next error... (The first time you open that site, is NO error on that place.) Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition shoppingcart of the object you are trying to operate on was loaded _before_ the session was started in /var/phpweb/ tacticalair/ catalog/includes/ boxes/ shopping_cart.php on line 12 I never modified shopping_cart.php btw... To reproduce this error in IE, Mozilla and Opera, just click one of the items (eg SWAT)... (you'll see about the same error now, just another file) After you did that, go back to default.php and voila, you have the same error as I have :( On my localhost I don't have this problem... only on that server... Other sessions (in other scripts) are working properly on the server. Did anyone have this before? Any solutions? thx Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted December 19, 2002 Share Posted December 19, 2002 You probably have session.auto_start set to 1. You have to disable it in php.ini or a .htaccess file. http://www.php.net/manual/en/ref.session.php Christian Lescuyer Link to comment Share on other sites More sharing options...
=X????= Posted December 20, 2002 Author Share Posted December 20, 2002 thanks a lot! that was causing these problems ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.