Support Forums

Occasional bug with packages

This is a discussion on Occasional bug with packages within the Techconnx forums, part of the Third Party Support category; I have a very annoying bug, that only happens rarely with no obvious pattern in case of some of my ...


Go Back   68 Classifieds Forums > Third Party Support > Techconnx

Reply
 
Thread Tools Display Modes
Old 08-29-2009, 05:02 PM   #1
Member
 
Join Date: Jun 2009
Posts: 32
Rep Power: 7
vertyal is on a distinguished road
Default Occasional bug with packages

I have a very annoying bug, that only happens rarely with no obvious pattern in case of some of my users. I have the membership module installed, and configured in such a way, that I have a default membership, which has "User Group 6" assigned to as destination user group.

Now, what happens in some cases is that, the user signs up and logs in to his or her account and sees, that he does not get promoted to "User Group 6", but remains in "User Group 2". He even gets the default membership. I can see this in the admin section under coupons - the coupon for the name of the user is there. The user can see the coupon details too in his account, but he still does not get upgraded to "User Group 6". The strange thing is that, it only happens to a handful of my users. I have about 100 users at the moment, and it happened to approximately 7-8 of them. What I did was that I upgraded them manually to "User Group 6", but it is not a solution in the long term.

Has anyone experienced similar behavior, or does anyone know the reason - more importantly the solution to this problem?
vertyal is offline   Reply With Quote
Old 08-29-2009, 05:50 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,342
Rep Power: 132
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Is this only happening for the the membership thats set to be default? What version of 68C are you running?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 08-29-2009, 06:45 PM   #3
Member
 
Join Date: Jun 2009
Posts: 32
Rep Power: 7
vertyal is on a distinguished road
Default

Hi Larry,
I am running 4.1.4 Developer version.
I only experienced it with default membership so far, but as all my users are under the trial period now, and no purchase has been made yet, potentially it could be the case with non default membership as well. When I was testing, it did not occur though.
Can it be an issue with certain users refreshing browsers, or hitting the back button of the browser at certain stage of the registration?

Last edited by vertyal; 08-29-2009 at 06:54 PM.
vertyal is offline   Reply With Quote
Old 08-29-2009, 06:57 PM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,342
Rep Power: 132
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

There were no default hooks in 68C when I started to create the mod that would trigger a mod when a user logged in for the very first time so I requested on.

check the file

/includes/classes/kernel/Login.php

and look for the function....

function _saveSession()

is the following line in that function?

$modules->call_hook('pre_save_session', $this->_userData['id']); // Call any module functions
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 08-29-2009, 07:08 PM   #5
Member
 
Join Date: Jun 2009
Posts: 32
Rep Power: 7
vertyal is on a distinguished road
Default

Yes, it is there.
vertyal is offline   Reply With Quote
Old 08-29-2009, 08:38 PM   #6
curmudgeon
 
Join Date: Mar 2006
Posts: 5,342
Rep Power: 132
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Can you share the descount names of the handfull where the user group didnt change?And also the user names?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Packages banimp3 Technical Support 1 07-01-2009 01:38 AM
payment packages oteenc Technical Support 8 08-11-2008 10:53 PM
Are packages like $X.XX for 10 listings possible? Unregistered Pre Sales Questions 2 08-03-2008 08:41 PM
3 ad packages already created? uncled Technical Support 3 06-16-2008 11:38 AM


All times are GMT -4. The time now is 05:56 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0