Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19 20 .. 21 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 1 post(s) |
Verinoch
Raytheon Intergalactic Research Gatekeepers Universe
1
|
Posted - 2013.08.09 05:03:00 -
[481] - Quote
hey guys not sure how to fix this i read the posts but i get
API System Screwed - Can't fetch Toons : string '' (length=0) API System Screwed - Can't Fetch Standings : string '' (length=0) i treid 2 different api's and get same thing anyway to fix this? |
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.09 08:47:00 -
[482] - Quote
Zenith Gravit wrote:Max Botix wrote:So I've managed to install your mod, however I'm unclear about what I have to do with the cron scripts, how often do they need to run and which ones do I need to add to my crontab file?
Thanks I may have missed a file, but I recently has dealing with the same thing. I created cron jobs for everything in the TEA directory with CRON in the name. All the TS and Jabber files are running every minute and the other one every 5 minutes. It seems to be working fine for me, but if that's wrong I'd sure love to know.
I run TEA_Cron.php every 2 mins db_clean_up.php every 2 mins (alternating so they don't both run at the same time) and TEA_Jabber_Cron_Access.php every hour.
I hope since the last update you should no longer need to run db_clean_up on a continual basis. It might be worth running once in a while just in case though. As for the Jabber and TS ones ... how often you run them depends on how long you want people who have left the corp to continue accessing your Jabber and TS :) |
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.09 08:51:00 -
[483] - Quote
Verinoch wrote:hey guys not sure how to fix this i read the posts but i get
API System Screwed - Can't fetch Toons : string '' (length=0) API System Screwed - Can't Fetch Standings : string '' (length=0) i treid 2 different api's and get same thing anyway to fix this?
Gonna need a little more here - where are you seing this error ? where have you entered this api ? what is the api type - corp/character ? what is the access mask ?
in general these error message is occurring for exactly the reason it says ... it hasn't been able to fetch a list of toons and standings from the api ... the length=0 bit means it hasn't got any kind of response at all and the request has timed out. |
Verinoch
Raytheon Intergalactic Research Gatekeepers Universe
1
|
Posted - 2013.08.09 13:50:00 -
[484] - Quote
im getting this under the settings menu i put the api in save it an the errors show up at top left corner. api is character all access mask is 16777288 |
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.09 13:56:00 -
[485] - Quote
Verinoch wrote:im getting this under the settings menu i put the api in save it an the errors show up at top left corner. api is character all access mask is 16777288
By settings I take it you mean the master api key for your forum ? ... Your going to need a corp key in there :) |
Verinoch
Raytheon Intergalactic Research Gatekeepers Universe
1
|
Posted - 2013.08.09 14:04:00 -
[486] - Quote
ok put in the corp api under configuration.teamars api.settings |
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.09 15:22:00 -
[487] - Quote
Verinoch wrote:ok put in the corp api under configuration.teamars api.settings still get the same errors
do you have the php curl extensions installed ? |
Verinoch
Raytheon Intergalactic Research Gatekeepers Universe
1
|
Posted - 2013.08.09 15:42:00 -
[488] - Quote
yes |
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.09 18:25:00 -
[489] - Quote
hmmm ... well fundamentally those errors indicate a failure to get the required stuff back from CCP's servers. I'd suggest running some packet traces. |
redlinedracer
ASMODEUS INFINITE
83
|
Posted - 2013.08.09 19:33:00 -
[490] - Quote
So, i accidentally setup TEA to monitor admin rights without setting up a rule to put anyone as an admin. So, now my admin account is locked out of being able to be an admin. Is there a way to fix my stupid mistake? (sorry if im spamming this shin, i know i sent you a mail in game and on LAWN forums, just looking for the quickest way to get it fixed) heh |
|
Verinoch
Raytheon Intergalactic Research Gatekeepers Universe
1
|
Posted - 2013.08.09 22:41:00 -
[491] - Quote
Shin Chogan wrote:hmmm ... well fundamentally those errors indicate a failure to get the required stuff back from CCP's servers. I'd suggest running some packet traces.
if i knew how to i would. if you could link a page where i could learn about it be great. and btw ty for all the help your doing |
aldruitanzaro
Herrscher der Zeit Test Alliance Please Ignore
2
|
Posted - 2013.08.12 02:07:00 -
[492] - Quote
Hello when i the last version of TEA (1.3.0 r179 ) from themar e with you version from TEA Update i get a error
"Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.4, while your database is at version 2.0.2. The above error might possibly go away if you execute the latest version of upgrade.php." |
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.12 02:29:00 -
[493] - Quote
aldruitanzaro wrote:Hello when i the last version of TEA (1.3.0 r179 ) from themar e with you version from TEA Update i get a error
"Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.4, while your database is at version 2.0.2. The above error might possibly go away if you execute the latest version of upgrade.php."
Thats nothing to do with this mod. |
Norian Lonark
Black Thorne Corporation The Cursed Few
92
|
Posted - 2013.08.12 13:06:00 -
[494] - Quote
Hi Shin,
I wonder if you could help me. I have upgraded to version r179 and I have an issue that none of my title rules are working. I have changed nothing on the settings from the original version and just wondered if there was something obvious that I could do to try and get working.
Cheers,
Nori. |
aldruitanzaro
Herrscher der Zeit Test Alliance Please Ignore
2
|
Posted - 2013.08.12 14:09:00 -
[495] - Quote
i think but yet , if I remove the mod and take the Temar of it goes again
somebody has an idea ?
Shin Chogan wrote:aldruitanzaro wrote:Hello when i the last version of TEA (1.3.0 r179 ) from Temar e with you version from TEA Update i get a error
"Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.4, while your database is at version 2.0.2. The above error might possibly go away if you execute the latest version of upgrade.php." Thats nothing to do with this mod. |
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.12 16:03:00 -
[496] - Quote
aldruitanzaro wrote:i think but yet , if I remove the mod and take the Temar of it goes again somebody has an idea ? Shin Chogan wrote:aldruitanzaro wrote:Hello when i the last version of TEA (1.3.0 r179 ) from Temar e with you version from TEA Update i get a error
"Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.4, while your database is at version 2.0.2. The above error might possibly go away if you execute the latest version of upgrade.php." Thats nothing to do with this mod.
The problem is when you did an upgrade there is a field in the db that states what version it is at ... when you updated from 2.0.2 this didn't happen. Not sure why the error only appears after you've installed temars ... it should be there all the time. I assume you are actually running 2.0.4 ? |
Norian Lonark
Black Thorne Corporation The Cursed Few
92
|
Posted - 2013.08.12 19:20:00 -
[497] - Quote
Norian Lonark wrote:Hi Shin,
I wonder if you could help me. I have upgraded to version r179 and I have an issue that none of my title rules are working. I have changed nothing on the settings from the original version and just wondered if there was something obvious that I could do to try and get working.
Cheers,
Nori.
Figured it out. Thought I would post in case anyone else had similar problem.
Basically I deleted and recreated all the rules then it worked like a charm. Don't ask me why though |
Ash Darkvold
Hephaestus LLC Gryphon League
0
|
Posted - 2013.08.12 19:54:00 -
[498] - Quote
Hey all,
I'm having issues getting the Jabber portion of TEA configured correctly. I'm able to see the groups I created in Openfire but am unable to write to the MySQL database.
The User Service plugin is already installed and enabled and the key has been entered into TEA.
I'm about ready to wipe the server and start fresh but I figured I'd see if anyone had any suggestions before I did anything drastic.
|
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.12 20:56:00 -
[499] - Quote
Ash Darkvold wrote:Hey all,
I'm having issues getting the Jabber portion of TEA configured correctly. I'm able to see the groups I created in Openfire but am unable to write to the MySQL database.
The User Service plugin is already installed and enabled and the key has been entered into TEA.
I'm about ready to wipe the server and start fresh but I figured I'd see if anyone had any suggestions before I did anything drastic.
Silly question but you have added in the parameter to openfire that says which IP addresses are allowed to use the User service ? I seem to remember adding both the real IP of the server and 127.0.0.1. |
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.12 20:57:00 -
[500] - Quote
Norian Lonark wrote:Norian Lonark wrote:Hi Shin,
I wonder if you could help me. I have upgraded to version r179 and I have an issue that none of my title rules are working. I have changed nothing on the settings from the original version and just wondered if there was something obvious that I could do to try and get working.
Cheers,
Nori. Figured it out. Thought I would post in case anyone else had similar problem. Basically I deleted and recreated all the rules then it worked like a charm. Don't ask me why though
hmmm ... I'll add it to the list of strange things that need investigating :) |
|
Ash Darkvold
Hephaestus LLC Gryphon League
0
|
Posted - 2013.08.12 22:09:00 -
[501] - Quote
Shin Chogan wrote: Silly question but you have added in the parameter to openfire that says which IP addresses are allowed to use the User service ? I seem to remember adding both the real IP of the server and 127.0.0.1.
Yeah, unfortunately I've tried that already. I can't see anything in the logs for SMF or MySQL that looks out of place so it's difficult to troubleshoot. Everything seems to be running fine but the users just never show up in Openfire.
Reading back through old posts in this thread it seems to be a fairly common problem across all versions of TEA. I just can't help but feel like I'm missing something really simple. |
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.13 15:51:00 -
[502] - Quote
Ash Darkvold wrote:Shin Chogan wrote: Silly question but you have added in the parameter to openfire that says which IP addresses are allowed to use the User service ? I seem to remember adding both the real IP of the server and 127.0.0.1.
Yeah, unfortunately I've tried that already. I can't see anything in the logs for SMF or MySQL that looks out of place so it's difficult to troubleshoot. Everything seems to be running fine but the users just never show up in Openfire. Reading back through old posts in this thread it seems to be a fairly common problem across all versions of TEA. I just can't help but feel like I'm missing something really simple.
I'm going to assume your mysql,forums, and openfire are on the same server and start with the basic config forgive me if you've done all this :
In openfire create at least one group that your users will be added to for example "Corp Members"
On the tea jabber settings page you should have localhost "db username for access to your openfire db" "password for user" "openfires db name"
then for username format and name format make sure you have at least #name#
The URL should be http://localhost:9090 if you are using defaults for the User service and you will obviously need the secret you set in Openfire for the User Service.
Make sure this is saved at this point.
Then you MUST add at least one rule pick an smf group and the openfire group you want them to belong to from the dropdowns you should be able to leave the name format blank but I always manually set it :)
One thing to remember at this point is that users have to set a password and pick their username in their forum profile it is not automatically picked up. The TEA_Jabber cron job will add people to openfire groups as their forum groups change if you have more than one group set up, and it will remove openfire accounts of people that no longer match any of the rules you've defined for Jabber. |
Ash Darkvold
Hephaestus LLC Gryphon League
0
|
Posted - 2013.08.14 01:15:00 -
[503] - Quote
Shin Chogan wrote: I'm going to assume your mysql,forums, and openfire are on the same server and start with the basic config forgive me if you've done all this :
In openfire create at least one group that your users will be added to for example "Corp Members"
On the tea jabber settings page you should have localhost "db username for access to your openfire db" "password for user" "openfires db name"
then for username format and name format make sure you have at least #name#
The URL should be http://localhost:9090 if you are using defaults for the User service and you will obviously need the secret you set in Openfire for the User Service.
Make sure this is saved at this point.
Then you MUST add at least one rule pick an smf group and the openfire group you want them to belong to from the dropdowns you should be able to leave the name format blank but I always manually set it :)
One thing to remember at this point is that users have to set a password and pick their username in their forum profile it is not automatically picked up. The TEA_Jabber cron job will add people to openfire groups as their forum groups change if you have more than one group set up, and it will remove openfire accounts of people that no longer match any of the rules you've defined for Jabber.
All that checks out.
Do I understand it correctly that the Openfire accounts are created by the cron job and not by SMF? If that's the case then I may have gotten a little close to an answer.
I had the permissions for the TEA folder all screwed up and none of the jobs have been running. After I got that sorted out the jobs started running but all of them are throwing this error:
*edited out*/foums/TEA/TEA_Cron.php: line 1: ?php: No such file or directory *edited out*/foums/TEA/TEA_Cron.php: line 3: syntax error near unexpected token `'../SSI.php'' *edited out*/foums/TEA/TEA_Cron.php: line 3: 'if (file_exists('../SSI.php;) && !defined('SMF'))'
If that's irrelevant then I'm basically back to square one again.
Thanks for all your help so far.
|
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.14 01:30:00 -
[504] - Quote
Ash Darkvold wrote:Shin Chogan wrote: I'm going to assume your mysql,forums, and openfire are on the same server and start with the basic config forgive me if you've done all this :
In openfire create at least one group that your users will be added to for example "Corp Members"
On the tea jabber settings page you should have localhost "db username for access to your openfire db" "password for user" "openfires db name"
then for username format and name format make sure you have at least #name#
The URL should be http://localhost:9090 if you are using defaults for the User service and you will obviously need the secret you set in Openfire for the User Service.
Make sure this is saved at this point.
Then you MUST add at least one rule pick an smf group and the openfire group you want them to belong to from the dropdowns you should be able to leave the name format blank but I always manually set it :)
One thing to remember at this point is that users have to set a password and pick their username in their forum profile it is not automatically picked up. The TEA_Jabber cron job will add people to openfire groups as their forum groups change if you have more than one group set up, and it will remove openfire accounts of people that no longer match any of the rules you've defined for Jabber.
All that checks out. Do I understand it correctly that the Openfire accounts are created by the cron job and not by SMF? If that's the case then I may have gotten a little close to an answer. I had the permissions for the TEA folder all screwed up and none of the jobs have been running. After I got that sorted out the jobs started running but all of them are throwing this error: *edited out*/foums/TEA/TEA_Cron.php: line 1: ?php: No such file or directory *edited out*/foums/TEA/TEA_Cron.php: line 3: syntax error near unexpected token `'../SSI.php'' *edited out*/foums/TEA/TEA_Cron.php: line 3: 'if (file_exists('../SSI.php;) && !defined('SMF'))' If that's irrelevant then I'm basically back to square one again. Thanks for all your help so far.
Not quite ... The accounts in openfire are created when the person modifies their profile to set their openfire password ... the cron job only modifies their groups or removes the account from openfire.
The users themselves HAVE to go to *domain*/index.php?action=profile;area=tea;sa=jabber and pick a username and enter a password there is nothing to do this bit automatically.
That said you do have a problem. Your Cron job isn't right you are thinking the script is executable ... it isn't you have to run php with the script as a parameter ... if you create a script in /etc/cron.d you need to add something like :
0 */1 * * * XXXXX /usr/bin/php5 /home/sites/lawnalliance.org/forum/TEA/TEA_Jabber_Cron_Access.php
where XXXXX is the user that your forum folder is owned by. |
redlinedracer
ASMODEUS INFINITE
88
|
Posted - 2013.08.14 01:51:00 -
[505] - Quote
Im trying to setup the teamspeak part of the mod, and i think i might be in over my head but i REALLY want this to work.
Ill put my questions in a very easy to answer fashion hopefully :P
1: The address of the host is just the teamspeak server address correct?
2: Where would i find the server query port? I think the default is 10011 (which i have enterd)
3: Where do i find the Query username and password? Is that just the Admin login info?
4: What the heck is the "Teamspeak Info"? Didnt i already put in the info with the address and port?
5: How do i setup a database for teamspeak? I have up to 10 databases on godaddy.
6: Database host im assuming is just "localhost" since the database i create will be the same as my host database?
7: Username / Password is whatever i setup im assuming for the created database
8: What is the "Database and table names"? and where do i get them?
9: What is "Online Method"? And do i want it to run?
10: What is "TS UniqueID Method"? and do i want it to run?
11: Do i want incorrect name warnings? |
Ash Darkvold
Hephaestus LLC Gryphon League
0
|
Posted - 2013.08.14 02:05:00 -
[506] - Quote
Shin Chogan wrote:
Not quite ... The accounts in openfire are created when the person modifies their profile to set their openfire password ... the cron job only modifies their groups or removes the account from openfire.
The users themselves HAVE to go to *domain*/index.php?action=profile;area=tea;sa=jabber and pick a username and enter a password there is nothing to do this bit automatically.
That said you do have a problem. Your Cron job isn't right you are thinking the script is executable ... it isn't you have to run php with the script as a parameter ... if you create a script in /etc/cron.d you need to add something like :
0 */1 * * * XXXXX /usr/bin/php5 /home/sites/lawnalliance.org/forum/TEA/TEA_Jabber_Cron_Access.php
where XXXXX is the user that your forum folder is owned by.
That's unfortunate then since I don't have much else left to try.
I wish i knew where to look for any sort of error log that would at least point me in the right direction. As it stands I simply don't know enough to troubleshoot blindly.
I would say that it's pretty apparent that TEA/SMF is able to read the Openfire database but is unable to write to it. Is it a possible firewall issue? Some outdated php extension?
I wonder if I don't need to just try a different Linux distro and hope for the best. |
Amallya Trueshot
Dirt Nap Squad Dirt Nap Squad.
22
|
Posted - 2013.08.14 02:16:00 -
[507] - Quote
Have smf 2.0.4 with tea .r175 running.
Openfire Jabber Server working 100% without errors. Grab me on evecloud ingame channel, and i'll help you.
cheers |
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.14 02:42:00 -
[508] - Quote
Ash Darkvold wrote:Shin Chogan wrote:
Not quite ... The accounts in openfire are created when the person modifies their profile to set their openfire password ... the cron job only modifies their groups or removes the account from openfire.
The users themselves HAVE to go to *domain*/index.php?action=profile;area=tea;sa=jabber and pick a username and enter a password there is nothing to do this bit automatically.
That said you do have a problem. Your Cron job isn't right you are thinking the script is executable ... it isn't you have to run php with the script as a parameter ... if you create a script in /etc/cron.d you need to add something like :
0 */1 * * * XXXXX /usr/bin/php5 /home/sites/lawnalliance.org/forum/TEA/TEA_Jabber_Cron_Access.php
where XXXXX is the user that your forum folder is owned by.
That's unfortunate then since I don't have much else left to try. I wish i knew where to look for any sort of error log that would at least point me in the right direction. As it stands I simply don't know enough to troubleshoot blindly. I would say that it's pretty apparent that TEA/SMF is able to read the Openfire database but is unable to write to it. Is it a possible firewall issue? Some outdated php extension? I wonder if I don't need to just try a different Linux distro and hope for the best.
Just to correct something ... TEA/SMF doesn't write to the Openfire DB ... it hits the http address you set with a list of parameters.
Try hitting *domain*/plugins/userService/userservice?type=add&secret=XXXX&username=XXXX&password=XXXX&name=XXXX&email=XXXX&groups=XXXX
replace XXXX with appropriate values. secret is the User Service secret set in your openfire config (and should be set in the SMF config page)
If that doesn't add a user then you have a config problem with openfire.
Packet traces may be your friend here |
Ash Darkvold
Hephaestus LLC Gryphon League
0
|
Posted - 2013.08.14 03:34:00 -
[509] - Quote
Shin Chogan wrote: Just to correct something ... TEA/SMF doesn't write to the Openfire DB ... it hits the http address you set with a list of parameters.
Try hitting *domain*/plugins/userService/userservice?type=add&secret=XXXX&username=XXXX&password=XXXX&name=XXXX&email=XXXX&groups=XXXX
replace XXXX with appropriate values. secret is the User Service secret set in your openfire config (and should be set in the SMF config page)
If that doesn't add a user then you have a config problem with openfire.
Packet traces may be your friend here
Yeah, worked like a charm. Added the user to the Openfire group I had created for TEA and everything.
Oddly enough it only worked once I removed the IP addresses from the User Service whitelist. Unfortunately that did not have any effect on the forum functionality.
I'll do some research on packet traces tomorrow at work
|
Shin Chogan
Blueprint Haus Get Off My Lawn
14
|
Posted - 2013.08.14 03:50:00 -
[510] - Quote
reaaaaalllly stupid question but you do have "Enable Jabber for TEA Mod" ticked ? |
|
|
|
|
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19 20 .. 21 :: one page |
First page | Previous page | Next page | Last page |