Store owner User profile accidentally deleted! how do I setup a new store owner?

Started by JoseyWales242, October 23, 2012, 21:38:17 PM

Previous topic - Next topic

JoseyWales242

I'm new to the world of Joomla and virtuemart (Tho i have played around in Version 1 of both before our site got upgraded) and after the migration to the new version of both (and all the problems that have come along with both) I have now been given the task of fixing and improving our companies website, along with the task of teaching myself how all of this works! 

We are currently using Joomla version 2.5.7 and virtuemart version 2.0.10

What has happened is that the user profile associated with the store owner has been accidently deleted by a former employee.  Now every time someone goes into shop configuration on backend, JUser: :_load: Unable to load user with ID: 62, comes up on top. (user ID 62 was the old store owner user id).  This also flows into when ever a order is updated to a new status (an email is sent out automatically) but once again it can not find store owner user id 62 and error happens.  On the front end when a customer finishes placing an order the same error pops up at the top of the screen after check out.   

Our biggest problem is that we are using the VirtueMart Extensions  Offline Credit Card Processing, and this is supposed to email us the last 4 digits of the credit card number.  But since virtuemart is trying to send emails to store owner that no longer exists, we are never receiving the emails.

What I'd like to do is simply assign a new user as store owner - Or perhaps somehow on the backend change a users ID and Shopper Number/ID: to what the old user 62 was and fool virtue mart into thinking user 62 still exists.

Halloween is our biggest season and any quick help in this matter is greatly appreciated. !

MM02

I'm not sure whether this will solve your problem, but you could try this:

  • Log in to your database
  • Open the table virtuemart_vmusers
  • Select your new owner and set "virtuemart_vendor_id" and "user_is_vendor" to "1"
  • Maybe you have to delete the old user from this table

Warning: Please make a backup! I'm realy new to VM as well - this change may brake something! You have to be able to undo everything!

JoseyWales242

YAAA! -  Thankyou!
The user that had been deleted (user 62) was actually still in the virtuemart_vmuser data base.  So I actually copied all the info (ID and customer_number) over to a new user, deleted the original 62 user.  Then went to the  normal user data base (where the user 62 had been deleted) and changed over the User ID number on the new one i created to 62,  and the store now thinks the store owner still exists !