VirtueMart Forum

VirtueMart 2 + 3 => Virtuemart Development and bug reports => Topic started by: uxnem on December 06, 2012, 12:40:03 pm

Title: SOLVED - Many queries to table virtuemart_userinfos after import from VM1
Post by: uxnem on December 06, 2012, 12:40:03 pm
After import data from VM1 - VM2 makes the request to each rows from table  virtuemart_userinfos for unauthorized user where virtuemart_user_id = 0.
Solution:
Add in file /administrator/components/com_virtuemart/models/user.php in method getUser() on line 175

      if ( empty($this->_id) ) {
         return $this->_data;
      }
Title: Re: SOLVED - Many queries to table virtuemart_userinfos after import from VM1
Post by: Milbo on December 18, 2012, 17:51:29 pm
Thx, I did something similar already for 2.0.15a or so, please test the latest version
Title: Re: SOLVED - Many queries to table virtuemart_userinfos after import from VM1
Post by: illPhever on February 15, 2013, 15:19:03 pm
Milbo, I'm still having this problem in latest version, Virtuemart 2.0.18a.  Are you sure it was fully addressed?

Thanks in advance for any assistance