Pages: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 .. 16 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Shin Chogan
Blueprint Haus Get Off My Lawn
59
|
Posted - 2014.06.04 20:41:00 -
[301] - Quote
Nutbolt wrote:Right I have had this issue for a while now and getting fed up with it. Basically TEA is caching the results of the API and not clearing the cache. So if I empty the smf_tea_cache table in the DB it will go through and re pull everyones api key and deal with permissions correctly, kicking people who left corp etc... However once its done this once for everyone it then won't refresh their API key again. Meaning permissions aren't being updated should someone leave or whatever.
If someone new joins it gets their info fine (as its not cached in the DB). I have no idea why this is happened, it used to work, like a few months ago now, but did used to work.
The TEA_CRON outputs 'Reset lastid to Zero' Any ideas please?
The TEA_Cron outputting Reset lastid to Zero is normal when all of your forum accounts have been checked and it is starting again from the beginning ... if this happens every time you run TEA_Cron then either you have only a few accounts with api keys or there is a problem ... from what you say I'd guess the former.
The code that handles the caching hasn't changed in forever ... so if it used to work then there should be no code reason I can think of why it has stopped ... also it continues to work for me.
I'll take a stab at the problem being somewhere around the lines :
$time = time() - 3600; $this -> smcFunc['db_query']('', "DELETE FROM {db_prefix}tea_cache WHERE time < ".$time);
can you try adding a var_dump($time); after $time = time() - 3600; and seeing what the value is. Also can you look at the time field in your tea_cache database and make sure there is something sensible in there ... it should be a unixtime timestamp (ie seconds since 1970) |
Nutbolt
Avalon Project Shadow Rock Alliance
90
|
Posted - 2014.06.05 05:46:00 -
[302] - Quote
Hi, yeah not blaming code changes, just have no freckin' idea what the issue is, and been trying to resolve it for months now.
var_dump($time); gives me: 1401943140 (for some reason my UK based server is 2hrs behind, but whatever).
Times in the database seem to be around: 1401946656 (so an hour ahead of server time).
The reason I am blaming the cache now is because if I truncate that DB table and run the crontab again it updates peoples APis and deals with permissions properly.
EDIT: I also looked at the XML in the cache table for someone who I know has left the corp over 2 hours ago, and the XML states they are still in Avalon Project (when they really aren't). So yeah cache isnt being updated for some reason.
|
Michael Mach
Nova Wolves
14
|
Posted - 2014.06.21 07:51:00 -
[303] - Quote
Any support for Mumble coming soon? I'd gladly send some ISK your way to get Mumble support - TS licensing is way too stupid. |
Minibren
Raven's Flight Reconstructed Criticism
1
|
Posted - 2014.06.24 23:44:00 -
[304] - Quote
Hi, I am having an issue where even if the jabber group is not set to monitor and remove, members are still removed from it. Also when ticking the box to monitor and remove it becomes stuck and your unable to untick it again without deleting the group on the jabber server and recreating it.
Any ideas? It seems a bit broken to me. |
Shin Chogan
Blueprint Haus Get Off My Lawn
59
|
Posted - 2014.06.25 01:39:00 -
[305] - Quote
Michael Mach wrote:Any support for Mumble coming soon? I'd gladly send some ISK your way to get Mumble support - TS licensing is way too stupid.
Probably not ... there is a python ICE authenticator for Mumble that hooks Mumble into the SMF user db. |
Shin Chogan
Blueprint Haus Get Off My Lawn
59
|
Posted - 2014.06.25 01:56:00 -
[306] - Quote
Minibren wrote:Hi, I am having an issue where even if the jabber group is not set to monitor and remove, members are still removed from it.
Unfortunately this is just the way the user service works, the update method takes a list of groups that the user should belong to, this list is constructed from the groups the user belongs to in SMF, so it has no idea about the groups you may have added manually in Openfire ... an update to the Openfire User Service plugin would need to be made before this can be changed.
Quote:
Also when ticking the box to monitor and remove it becomes stuck and your unable to untick it again without deleting the group on the jabber server and recreating it.
Any ideas? It seems a bit broken to me.
I'm not seeing this behaviour I'm afraid ... could it be a browser type problem ? Have you tried clearing cache and cookies ? or perhaps even a different browser ? |
Minibren
Raven's Flight Reconstructed Criticism
1
|
Posted - 2014.06.25 12:26:00 -
[307] - Quote
Please could someone confirm a few things.
Ok so if I wanted to add specific people to a group on the jabber server then would I have to add them to an additional group on the forum and then set a rule for this, rather than adding them to a group through openfire itself?
So as I now understand it the forum task for updating jabber groups basically just removes the user from all groups and then adds them to the ones they are supposed to be in?
Now the monitor and remove tickbox thing I am slightly confused about, can someone expain to me its purpose.
Thanks in advance |
Shin Chogan
Blueprint Haus Get Off My Lawn
59
|
Posted - 2014.06.26 08:43:00 -
[308] - Quote
Minibren wrote:Please could someone confirm a few things.
Ok so if I wanted to add specific people to a group on the jabber server then would I have to add them to an additional group on the forum and then set a rule for this, rather than adding them to a group through openfire itself?
Yes
Quote: So as I now understand it the forum task for updating jabber groups basically just removes the user from all groups and then adds them to the ones they are supposed to be in?
Yep. It is just the way the Openfire User Service plugin works - you have to give it a list of all the groups you want the user to belong to not just the ones you want added or removed.
Quote: Now the monitor and remove tickbox thing I am slightly confused about, can someone expain to me its purpose.
Thanks in advance
The language is imprecise but it came from the original author and I've not updated it. Basically you have to do 2 things, 1) you have to say Group X is going to be synchronized with Openfire and 2) you have to give it a mapping between the SMF group and the Openfire group.
If you don't tick the SMF group then the mapping isn't looked at. |
Michael Mach
Nova Wolves
14
|
Posted - 2014.06.28 17:44:00 -
[309] - Quote
Shin Chogan wrote:Michael Mach wrote:Any support for Mumble coming soon? I'd gladly send some ISK your way to get Mumble support - TS licensing is way too stupid. Probably not ... there is a python ICE authenticator for Mumble that hooks Mumble into the SMF user db.
I've been fudging around with that damn thing for far too long to not ask for Mumble support.
I had enough trouble getting the thing to run, and it must be outdated because the table names are all wrong. Suffice it to say, I figured I'd throw a hail mary on this one. |
Naella
Negative Density No Response
0
|
Posted - 2014.07.02 19:45:00 -
[310] - Quote
Heya Shin,
Tried upgrading to r7 from r5. From then it didn't match the "is invalid API" rule to assign the Guest group we use for those.
The affected users all have the 222 api error (which I knew and so noticed the different behaviour) The Check reports "no match" but I would expect it to tell me no api as before.
Had to rollback to r5 for now.
NB. Also "Group for Unknown Status" is set to the Guest group we have. |
|
ShadowandLight
Black Aces Against ALL Authorities
267
|
Posted - 2014.07.04 01:42:00 -
[311] - Quote
Silent Fail when creating a user in Jabber
When the user is trying to create a jabber account, it will often silently fail (or worse, tell the user an account was made but it wasnt acutally created in the openfire database)
a workaround is to create a username / password for jabber using another pilot under the same API key.
i tried this 3 times and was able to duplicate the error. the correct pilot (who matched the rules) was unable to create and account, but trying using an "alt" did generate a jabber account in openfire
ONCE this was done, i was able to re-select the appropriate character and the name then changed in openfire's database to the correct character.
I am unsure if single pilot accounts are affected.
ALSO
Changing your localhost address in Jabber from http://localhost:9090 TO http://127.0.0.1:9090 **MIGHT** help you -A- Space Rental Program https://forums.eveonline.com/default.aspx?g=posts&m=4163928#post4163928 |
carmo pereira
the muppets DARKNESS.
0
|
Posted - 2014.07.04 14:15:00 -
[312] - Quote
shadow., you are doing something wrong.
what's your version of openfire? what's on your httpd error log? |
ShadowandLight
Black Aces Against ALL Authorities
267
|
Posted - 2014.07.04 19:17:00 -
[313] - Quote
openfire is 3.9.3
im not seeing any errors specific to openfire -A- Space Rental Program https://forums.eveonline.com/default.aspx?g=posts&m=4163928#post4163928 |
Nutbolt
Avalon Project Shadow Rock Alliance
90
|
Posted - 2014.07.07 09:00:00 -
[314] - Quote
Nutbolt wrote: The reason I am blaming the cache now is because if I truncate that DB table and run the crontab again it updates peoples APis and deals with permissions properly.
EDIT: I also looked at the XML in the cache table for someone who I know has left the corp over 2 hours ago, and the XML states they are still in Avalon Project (when they really aren't). So yeah cache isnt being updated for some reason.
Still got this issue and would appreciate any help. Don't know what else to do to continue troubleshooting and finding the cause of the problem.
|
Minibren
Raven's Flight Reconstructed Criticism
1
|
Posted - 2014.07.07 17:10:00 -
[315] - Quote
Is there a way to force an update of the alliance corp list? When corps leave the alliance it does not automatically remove them from groups as it says their corp is still in the alliance, its been 2 days and its still not updated. |
Fisnar Jejrhald
Ailes Grises
0
|
Posted - 2014.07.10 16:24:00 -
[316] - Quote
whether it is possible to use mumble instead of team speak? |
Fisnar Jejrhald
Ailes Grises
0
|
Posted - 2014.07.12 04:50:00 -
[317] - Quote
Prompt how to set up team speak. whether it shall is in one database with SMF. Or it makes no difference? |
Fisnar Jejrhald
Ailes Grises
0
|
Posted - 2014.07.12 06:47:00 -
[318] - Quote
[ERROR] API is returning invalid XML |
Fisnar Jejrhald
Ailes Grises
0
|
Posted - 2014.07.12 13:08:00 -
[319] - Quote
cheack
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 -ñ-¦-¦-+: /var/www/fisnar/data/www/ailes-grises.ru/Sources/TEA.php -í-é-Ç-+-¦-¦: 2757 |
Shin Chogan
Blueprint Haus Get Off My Lawn
60
|
Posted - 2014.07.13 07:56:00 -
[320] - Quote
Minibren wrote:Is there a way to force an update of the alliance corp list? When corps leave the alliance it does not automatically remove them from groups as it says their corp is still in the alliance, its been 2 days and its still not updated.
Edit: Seems to update every 2 days.
A lot of that problem is actually down to CCP ... we found this issue with our new and old corps ... the API data doesn't actually seem to update very frequently. |
|
Shin Chogan
Blueprint Haus Get Off My Lawn
60
|
Posted - 2014.07.13 07:58:00 -
[321] - Quote
Fisnar Jejrhald wrote:whether it is possible to use mumble instead of team speak?
Look further back in this thread ... short answer ... no.
|
Shin Chogan
Blueprint Haus Get Off My Lawn
60
|
Posted - 2014.07.13 08:00:00 -
[322] - Quote
Fisnar Jejrhald wrote:[ERROR] API is returning invalid XML
Yes that is a nice error message isn't it ... thanks for sharing :)
CCP are not sending you valid XML |
Shin Chogan
Blueprint Haus Get Off My Lawn
60
|
Posted - 2014.07.13 08:03:00 -
[323] - Quote
Fisnar Jejrhald wrote:cheack
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 -ñ-¦-¦-+: /var/www/fisnar/data/www/ailes-grises.ru/Sources/TEA.php -í-é-Ç-+-¦-¦: 2757
At a guess you have no valid api keys in your database ... and have never had any and are trying to run the check all api's job. |
MN8
Metaphasic Industries
0
|
Posted - 2014.08.02 23:21:00 -
[324] - Quote
Hey Guys.
Firstly I would just want to say that this is truly a great mod. Hat's off to you for working so hard on it!
Secondly, I have some questions which have already been raised before but the answers may need updating due to changes in the code...
I am looking to obtain and full API key, disable sign up if one is not produced and get the Full Member Check to flag an issue if it's not a full key.
I've seen some suggestions such as;
Quote:Bit of a hack at present but if you find
$accessMask = (int)$xml;
Should be about line 156 in *path to forum*/Sources/TEA.php
then add just under it
if ($accessMask == 268435455) return True; else return False;
that should cause people to see an error if they haven't entered a Full API key.
This code now appears to be different as follows...
Quote:$accessMask = (int)$xml->result[0]->key[0]['accessMask']; $result['access'] = array( 'Wallet Transactions' => ($accessMask & 4194304) > 0, 'Wallet Journal' => ($accessMask & 2097152) > 0, 'Market Orders' => ($accessMask & 4096) > 0, 'Account Balance' => ($accessMask & 1) > 0, 'Notification Texts' => ($accessMask & 32768) > 0, 'Notifications' => ($accessMask & 16384) > 0, 'Mail Messages' => ($accessMask & 2048) > 0, 'Mailing Lists' => ($accessMask & 1024) > 0, 'Mail Bodies' => ($accessMask & 512) > 0, 'Contact Notifications' => ($accessMask & 32) > 0, 'Contact List' => ($accessMask & 16) > 0, 'Contracts' => ($accessMask & 67108864) > 0, 'Account Status' => ($accessMask & 33554432) > 0, 'Character Info Priv' => ($accessMask & 16777216) > 0, 'Upcoming Calendar Events' => ($accessMask & 1048576) > 0, 'Skill Queue' => ($accessMask & 262144) > 0, 'Skill In Training' => ($accessMask & 131072) > 0, 'Character Sheet' => ($accessMask & 8) > 0, 'Calendar Event Attendees' => ($accessMask & 4) > 0, 'Asset List' => ($accessMask & 2) > 0, 'Character Info' => ($accessMask & 8388608) > 0, 'Standings' => ($accessMask & 524288) > 0, 'Medals' => ($accessMask & 8192) > 0, 'KillLog' => ($accessMask & 256) > 0, 'Fac War Stats' => ($accessMask & 64) > 0, 'Research' => ($accessMask & 65536) > 0, 'Industry Jobs' => ($accessMask & 128) > 0
I've also seen the following pertaining to the not allowing members to sign up if the mask is wrong...
Quote:I added access mask checking in the last (or possibly the one before that) release. find function checkmask($xml) in TEA.php and modify to suit your needs ... if you don't care if they've put in a key that will break some of the rule checking then the quick way is to change the line :
return False;
to
return True;
if you don't want them to have to put in an account key then find the if statement in TEA.php :
if ($accnt->result[0]->key[0]['type']!="Account")
and comment out the whole block. There are 3 of them
Is this still valid?
Any help would be appreciated. |
MN8
Metaphasic Industries
0
|
Posted - 2014.08.03 18:54:00 -
[325] - Quote
Ok, so I think I have nailed part of it...
Quote:if ( ( ($result['access']['Character Info']) || ($result['access']['Character Info Priv']) ) && ($result['access']['Wallet Transactions']) && ($result['access']['Wallet Journal']) && ($result['access']['Market Orders']) && ($result['access']['Account Balance']) && ($result['access']['Notification Texts']) && ($result['access']['Notifications']) && ($result['access']['Mail Messages']) && ($result['access']['Mailing Lists']) && ($result['access']['Mail Bodies']) && ($result['access']['Contact Notifications']) && ($result['access']['Contact List']) && ($result['access']['Contracts']) && ($result['access']['Account Status']) && ($result['access']['Upcoming Calendar Events']) && ($result['access']['Skill Queue']) && ($result['access']['Skill In Training']) && ($result['access']['Character Sheet']) && ($result['access']['Calendar Event Attendees']) && ($result['access']['Asset List']) && ($result['access']['Standings']) && ($result['access']['Medals']) && ($result['access']['KillLog']) && ($result['access']['Fac War Stats']) && ($result['access']['Research']) && ($result['access']['Industry Jobs']) ) { return True; } else { return False; } } |
Cailith Akhragen
Science and Trade Institute Caldari State
0
|
Posted - 2014.08.09 01:18:00 -
[326] - Quote
Hello,
I'm sorry if this has been asked and solved before, but I've run into a few problems trying to set-up TEA. I keep getting the error
Quote:API System Screwed - Can't fetch Toons : API System Screwed - Can't Fetch Standings : API call error while fetching standings: Error Code =
when I enter an API Key into the TEA > Configuration > Settings. The error just sits there at the top of the page. I've verified the API key details are correctly copied from the EVE API website. I'm using a full key (all characters everything ticked on, no expiry date) and have tried limiting the API access to specific fields, but still get the same error. I've performed the SMF installation myself and believe it to be configured properly. Is this a known issue, what have I done wrong, and is there any other information I can provide to diagnose the problem? |
lasterax
Stay Frosty. A Band Apart.
5
|
Posted - 2014.08.10 19:34:00 -
[327] - Quote
Getting pressed for Jabber integration again so I'm trying to slay the beast.
Openfire and SMF are on the same server. SMF can see the Openfire groups fine and I'm able to set all the rules so clearly it has read access to the database.
However, it's not doing any writes for new users, they never get added to the group selected. I don't get that as I've set up the service with a user with ample permissions.
Does anyone have this all up and working well that could give me some pointers? I'm not seeing anything in the error log, all I see from SMF is:
Quote:http://SMF Server/index.php?action=admin;area=tea;sa=jabber 8192: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead File: /var/www/html/Sources/TEA_Jabber_OF.php Line: 30
Thanks. |
lasterax
Stay Frosty. A Band Apart.
5
|
Posted - 2014.08.10 22:38:00 -
[328] - Quote
Actually looks like I figured this out, I think I borked the User Service allowed IPs. Once I threw spaghetti at it (localhost, 127.0.0.1, and the server's IP) it looks like it's working.
--Rax |
Gem Hadah
Imperial Academy Amarr Empire
0
|
Posted - 2014.09.02 03:56:00 -
[329] - Quote
Hello, I'm having an issue with the standings being updated under "settings"
Standings Last Updated: NeverStandings List Contains: 0 Blue Contacts, 0 Red ContactsAlliance Corp List Last Updated: 14:12 Mon 01 Sep 14 (GMT)Alliance Corp List Contains: 14301
Here are my cronjobs
*/6 * * * * xxxx/TEA_Cron.php */5 * * * * xxxx/TEA_Jabber_Cron_Access.php */4 * * * * xxxx/TEA_TS_Cron_Access.php */1 * * * * xxxx/TEA_TS_Cron_Names.php */2 * * * * xxxx/TEA/eve_corplist.php */3 * * * * xxxx/TEA/db_clean_up.php
Have I messed something up?
edit - i might have fixed with using a full corp director level API, is that required vs a personal full api? |
MN8
Metaphasic Industries
0
|
Posted - 2014.09.27 00:21:00 -
[330] - Quote
Cailith Akhragen wrote:Hello, I'm sorry if this has been asked and solved before, but I've run into a few problems trying to set-up TEA. I keep getting the error Quote:API System Screwed - Can't fetch Toons : API System Screwed - Can't Fetch Standings : API call error while fetching standings: Error Code = when I enter an API Key into the TEA > Configuration > Settings. The error just sits there at the top of the page. I've verified the API key details are correctly copied from the EVE API website. I'm using a full key (all characters everything ticked on, no expiry date) and have tried limiting the API access to specific fields, but still get the same error. I've performed the SMF installation myself and believe it to be configured properly. Is this a known issue, what have I done wrong, and is there any other information I can provide to diagnose the problem?
I am now getting the exact same problem. Did you find an answer to this issue? |
|
|
|
|
Pages: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 .. 16 :: one page |
First page | Previous page | Next page | Last page |