View Single Post
  #7  
Old 04-17-2012, 07:28 AM
  Ana's Avatar 
Ana Ana is offline
 

Senior Member
  
Join Date: Aug 2004
Location: Hurricane Alley, South Florida USA
Posts: 186
 

Default Re: Membership change email show membership before change

Quote:
Originally Posted by cflsystems
I can confirm on 4.4.5 (not sure about other versions) - This is a bug and you should report it in the bugtracker. I am struggling to post a solution or not as I use my time to investigate XC bugs while QT sits back and says - pay for support to fix XC bugs... I get nothing they get $139, seems fair right... And then reported bugs and fixes don't find their way to new releases.

QT maybe before saying - this is not a bug - you should first investigate on your copy of XC and confirm it and not just immediatelly go to "pay fee" option.

In /include/func/func.user.php find

PHP Code:
if (isset($result[$md5_args])) {
        return 
$result[$md5_args];
    } 

and comment it out

PHP Code:
/*
    if (isset($result[$md5_args])) {
        return $result[$md5_args];
    }
*/ 

This will force function to execute every time instead of returning user info if it already exists in that array. This should work just fine until QT wakes up and provides a patch

It's also in 4.4.4. I thought I was losing my mind. The only way I could get it to show properly was to click the customer profile update button twice.

Thanks, Steve, for your help here, as always.

I say we should all start donating to Steve for every fix he posts here!
__________________
"Real knowledge is to know the extent of one's ignorance."-- Confucius

X-Cart 4.4.4
MySQL 5.0.92
Apache/2.0.64 (Unix)
PHP 5.3.6
CentOS 5.5

MODS:
Template Mela- Theme XCT010002
Altered Cart- CheckoutOne
BCS Engineering- Back In Stock Notification
X-Cart Mods- Thumbnail Candy
X-Cart Mods-Advanced Shop Closed
Google Site Search
Reply With Quote