Author Topic: SOLVED - Many queries to table virtuemart_userinfos after import from VM1  (Read 980 times)

uxnem

  • Beginner
  • *
  • Posts: 1
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: SOLVED - Many queries to table virtuemart_userinfos after import from VM1
« Reply #1 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
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

illPhever

  • Beginner
  • *
  • Posts: 12
Re: SOLVED - Many queries to table virtuemart_userinfos after import from VM1
« Reply #2 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