pdaonline Posted February 29, 2004 Share Posted February 29, 2004 I have recently updated my website and transferred my data to the new site. All was working well however when a new customer account is created none of the data is retained. Whe nyou open the Customers file in Admin no data is present and the following errors appear. Warning: reset(): Passed variable is not an array or object in /usr/home/pda/public_html/osc2/catalog/admin/includes/classes/object_info.phpon line 17 Warning: Variable passed to each() is not an array or object in /usr/home/pda/public_html/osc2/catalog/admin/includes/classes/object_info.phpon line 18 If you view the database the inofrmation is present. I have checked the object_info.php file with the previous version and all is ok. Can anyone help. It is now desperate as I cannot process orders. Thanks Link to comment Share on other sites More sharing options...
pdaonline Posted March 1, 2004 Author Share Posted March 1, 2004 Well we are progressing. The problem is due to an upgrade with mySQL to a new database. The entry in the Customers and Address Book tables are incorrect. The default_address_id entry is incorrect in that it is defaulting to 0 in the DB rather auto allocating the correct corresponding ID. If I change the ID from 0 to the correct number the entire system works perfectly. Now I know the problem can any one assist in fixing it! It is an issue with the DB structure not the OSC file structure. Thanks Link to comment Share on other sites More sharing options...
HQ Secure Posted March 30, 2004 Share Posted March 30, 2004 FYI while I share your dilemma exactly, my customer table a address_book table have the correct ids to begin with. I'm glad it worked for you. Other suggested probs with this is an out of date php install. I've got 4.3.3 and still the prob. persists. Link to comment Share on other sites More sharing options...
HQ Secure Posted March 30, 2004 Share Posted March 30, 2004 See this post: http://www.oscommerce.com/forums/index.php?showtopic=28334&st=0 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.