SOLVED - Many queries to table virtuemart_userinfos after import from VM1

Started by uxnem, December 06, 2012, 12:40:03 PM

Previous topic - Next topic

uxnem

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;
      }

Milbo

Thx, I did something similar already for 2.0.15a or so, please test the latest version
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

illPhever

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