osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Error when trying to edit customer info

This is a discussion on Error when trying to edit customer info within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi all, When I try to edit the customer info, I get these two errors and quite frankly I don't ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-05-2003, 06:24 PM
New Member
 
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Nugar
Default Error when trying to edit customer info

Hi all,

When I try to edit the customer info, I get these two errors and quite frankly I don't know what to do about it:

Warning: reset(): Passed variable is not an array or object in /home/panamart/public_html/admin/includes/classes/object_info.php on line 17

Warning: Variable passed to each() is not an array or object in /home/panamart/public_html/admin/includes/classes/object_info.php on line 18

Any clues as to how to solve this?

best regards,

Nugar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-06-2003, 04:56 PM
New Member
 
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Nugar
Default

Ok, I found out that this error occurs after I import my customer base via phpmyadmin. Something seems to be incompatible, but what? I don't have the slightest idea.

This happens even if I import only one random customer.

This, to say the least is annoying, since I do have a working site and I want to use my existing users in the new one.

Any clues at all?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-06-2003, 05:07 PM
New Member
 
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Nugar
Default

Even more, I checked and the table definitions are exactly the same, exact same fields, etc. No reason for this error, yet it appears!

Also, all the info for the user appears empty. And the only user I created using the catalog interface works fine...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-07-2003, 03:35 AM
New Member
 
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Nugar
Default

Well, thanks for all the help. I found what it is and I'm still trying to correct the issue. The good news (to me) is that new customers are not affected with this error.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-07-2003, 09:48 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,081
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Nugar, no reason to have an attitude problem. We are not all here to serve you. If anyone had anything to offer, they would have. That should tell you your problem is specific to you. I am very busy, so when I get a chance, I answer as many posts as I can. Be patient and people will help.

Why not upgrade your existing db to the MS2-MAX format instead of trying to import the data? The tables are not identical, and the field lengths are different for some of the fields. Use mysqldiff to compare your existing db to the ms2-max db and generate an upgrade batch script. Then run that script through a phpmyadmin query. Make sure you don't do the upgrade on your exisitng DB, but on a backup copy. That way if you have problems, your original is safe.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 11-11-2003, 11:58 AM
Anonymous
Guest
 
Posts: n/a
Default

I am having this same problem. I have tried to run mysqldiff, but I can't get it to work. I am not that great at linux. I installed mysqldiff from Cpanel's WHM. But I can't get it to run.

Doesn't anyone already have a file that reflects the differences between the MS1 and Max 1.5?

I have traced the database problems to a changing of the order of the fields in the address book table and the id numbering scheme for the address book entries. But after fixing that I still get the above error on customer records from the old database.

I tried to login with my own customer login and it rejected my password. So requested a new one. The new one worked, when I logged in and looked in my address book the primary address is blank. But my address was listed as the first address book entry. So I made the first address book entry the primary and that fixed the problem on that record.

I can't see any problem in the database visually. It seems to have something to do with the country, because the country is not displayed for the old records in the Customer list in the admin.

If only I could login to each customers account and make their first address book entry the primary. It seems to fix it.

Tracy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 11-11-2003, 12:36 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,081
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

See, cruical info was left out of this thread until now.

When it is an upgrade from an existing DB, it is VERY important that you mention it. The problem is most likely that you did not change the 'Address Book' numbers to properly match each other in the customers table and the addressbook table.

The new address book table (ms2-max) makes the number a primary key, which means it must be unique. This changes the numbering, and it must be matched in customer data in the customer table...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 11-11-2003, 01:32 PM
Anonymous
Guest
 
Posts: n/a
Default

I had the address id and the customer id correct, what I missed was the customer_default_address id. I cross referenced it and fixed the differences and now it works great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 11-11-2003, 08:24 PM
Anonymous
Guest
 
Posts: n/a
Default

Oops that was me, I always forget not to use the quick reply. Well, I finished all the edits and it is working fine now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 11-13-2003, 12:01 PM
Anonymous
Guest
 
Posts: n/a
Default

I am actually having this exact same error situation, and my customers were trying to register with a new db, not from importing an old one, so there shouldnt be any database incompatibilities.
When I click on them to edit or look at any info, I get the same problem :<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
customer cannot edit address battleaxe osCommerce 2.2 Modification Help 0 09-08-2005 04:27 AM
edit customer in admin error, heelllppp battleaxe osCMax v1.7 Discussion 0 10-07-2004 03:38 AM
Please help!!! Error in admin tool with Customer info Rosina osCommerce 2.2 Installation Help 2 09-22-2004 04:22 PM
edit/delete customer address bug! cutxpaste osCommerce 2.2 Modification Help 2 11-13-2003 04:30 PM
Dump question on where to edit info. of shipping, contact us peter osCommerce 2.2 Modification Help 2 07-29-2003 11:16 PM


All times are GMT -8. The time now is 10:45 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax