|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Labrena
|
Posted - 2011.01.05 20:29:00 -
[1]
I think I found a bug.
When updating an API (api_update.php)
It does not check and make sure the user is in the appropriate groups and add them if not.
Example: Old member returns to corp, re-activates their account with new API info via api_update.php.
Their acct is enabled, but not added to the group. Running the cron job after that, does not add user to correct group either.
|

Labrena
|
Posted - 2011.01.05 22:22:00 -
[2]
Originally by: Steph Wing So uh...after installing, registration fails and returns "The value you entered is too short."
Did I do something wrong? Anybody got a fix?
Clear your template cache, it's not picking up the new templates.
|

Labrena
|
Posted - 2011.01.06 03:40:00 -
[3]
Originally by: Labrena I think I found a bug.
When updating an API (api_update.php)
It does not check and make sure the user is in the appropriate groups and add them if not.
Example: Old member returns to corp, re-activates their account with new API info via api_update.php.
Their acct is enabled, but not added to the group. Running the cron job after that, does not add user to correct group either.
I was testing this some more multiple different ways..
No matter what, the user is not added back to the default corp/alliance group when they update their API info. It's like that part of the code logic is missing. |

Labrena
|
Posted - 2011.01.10 04:51:00 -
[4]
Originally by: Drake Draconis Still cannot update my forums DB or files or the Mod due to a paradox with the update itself.
I would appreciate help because this patch closes some security holes.
Reinstalling the DB would be unacceptable.
I got 170 Members + who would not like having to re-do the whole damn account business.
I think that's because he added the API's to the user table, instead of using the custom profile tables.
|

Labrena
|
Posted - 2011.01.16 06:25:00 -
[5]
Originally by: Cyerus Version 4.3 released with the following fixes:
- Fixed all the group settings for the api_cron script. - Added a file to (hopefully) make it possible for users to have a "simple" mean of updating their board.
I believe this is a bug:
User has account got deactivated due to bad API. api_update.php corrected User acct still disabled, api_cron.php does not correct it either, since it skips disabled accounts.
|

Labrena
|
Posted - 2011.01.16 17:43:00 -
[6]
Originally by: Cyerus Are you sure that the character you've tested is suppose to be active by the settings you've set?
Yes, this is what I did.
User with correct API / correct groups. - Changed the API - Ran api_cron.php - Removed user from groups, and disabled account - Ran api_update.php with correct API - Account was left disabled, but had correct API
|

Labrena
|
Posted - 2011.01.16 22:40:00 -
[7]
Originally by: Cyerus
Originally by: Labrena
Originally by: Cyerus Are you sure that the character you've tested is suppose to be active by the settings you've set?
Yes, this is what I did.
User with correct API / correct groups. - Changed the API - Ran api_cron.php - Removed user from groups, and disabled account - Ran api_update.php with correct API - Account was left disabled, but had correct API
You didn't understand my question correctly. Is the character, according to the settings you have set, allowed to have an active account on the forum? If he/she has, I need to know every single API setting you've set and also the name of the character you are trying to add.
Sorry.
I have it set to allow non-members to register.
I've tried with both an in corp and out of corp characters, both with the same result.
The API does get updated, but the 1 is not changed to a 0 in user_type enabling the account.
Everything else is working fine. Same issue with 4.2/4.3/4.4.
|

Labrena
|
Posted - 2011.01.21 00:12:00 -
[8]
Originally by: Cyerus Open "include/auth.php", go to line 946. Should say; $eve_api_row['user_type'] = 0;
Change that to; $eve_api_row['user_type'] = 5;
Let me know if that does the trick.
Yes, that seems to have worked.
It nows activates the user account and adds them to the member group if needed.
Thanks
|
|
|
|