These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

TEA (v1.3.1) - Member Management Mod for SMF 2, TeamSpeak 3 and Jabber

Author
Dmitry Wizard
Hard Knocks Inc.
Hard Knocks Citizens
#181 - 2014-02-22 16:29:38 UTC
im having trouble with the rules section. people not in my alliance are able to sign up and see everything. people in my allliance are able to sign up and see onlly what i want them to see. i tried to set up a rule where neut/red/ no standing get put into a "spy" group where they cant see or do anything but it doesnt seem to be putting them into the group. any tips?

"Wormhole corps are like a bunch of homeschooled kids"

Shin Chogan
Federal Navy Academy
Gallente Federation
#182 - 2014-02-22 17:29:54 UTC
Dmitry Wizard wrote:
im having trouble with the rules section. people not in my alliance are able to sign up and see everything. people in my allliance are able to sign up and see onlly what i want them to see. i tried to set up a rule where neut/red/ no standing get put into a "spy" group where they cant see or do anything but it doesnt seem to be putting them into the group. any tips?


To be honest anyone who isn't in your alliance shouldn't be in any group ... then you just make sure your boards are set up right so that only the people in your alliance groups can view any boards.

also try looking a page or so back and see the fix for enabling require valid api to register ... that might help too.
Tomy LEE
Perkone
Caldari State
#183 - 2014-02-23 06:39:16 UTC
Tomy LEE wrote:
Please, what is your command line to set TEA CRON on cpanel ?


My settings in cpanel : php /home/..../Packages/TEA_1_3_1/TEA/TEA_Cron.php
644 for the file access right
755 for the folder

Error 500...

I have a very simple .htaccess file with "allow from all, satisfy any".

Have tried different access rights for the file tea cron, a test named for htaccess file... Don't have the solution at this time.

Thx for your help.
Shin Chogan
Federal Navy Academy
Gallente Federation
#184 - 2014-02-23 10:14:57 UTC
Tomy LEE wrote:
Tomy LEE wrote:
Please, what is your command line to set TEA CRON on cpanel ?


My settings in cpanel : php /home/..../Packages/TEA_1_3_1/TEA/TEA_Cron.php
644 for the file access right
755 for the folder

Error 500...

I have a very simple .htaccess file with "allow from all, satisfy any".

Have tried different access rights for the file tea cron, a test named for htaccess file... Don't have the solution at this time.

Thx for your help.



I'm afraid I know nothing about cpanel so don't know how to set that up ... I run this on a dedicated server with full shell access Big smile
Tomy LEE
Perkone
Caldari State
#185 - 2014-02-23 14:53:38 UTC
Cron is working with the good path... Big smile Thx !!
Do you accept donation on this toon ?
Tomy LEE
Perkone
Caldari State
#186 - 2014-02-23 22:29:01 UTC  |  Edited by: Tomy LEE
Ok, I don't have any groups available on TS Groups (TEA Teamspeak panel, for creating rule). I dont use UniqueID but online method ! Anyone please ?

My IP forum web host is in the query whit list.txt on the other server using TS.
Tomy LEE
Perkone
Caldari State
#187 - 2014-02-25 22:46:29 UTC
API call error while fetching toons: Error Code = 106 for key id = [ERROR] Connection timed out

Still have this error. I can't see any proposition on TS GROUP on TS rules panel ... Straight
Tomy LEE
Perkone
Caldari State
#188 - 2014-02-25 22:47:24 UTC
Tomy LEE wrote:
API call error while fetching toons: Error Code = 106 for key id = [ERROR] Connection timed out

Still have this error. I can't see any proposition on TS GROUP on TS rules panel ... Straight


Server to get API data is good : https://api.eveonline.com
Definate
Deep Core Mining Inc.
Caldari State
#189 - 2014-02-28 21:13:36 UTC
Sorry hope its not off topic, but do any of you offer your services in creating the actual website/forums/mumble/TEA ect.. Im looking hire somebody if possible?
lasterax
Republic Military School
Minmatar Republic
#190 - 2014-03-01 17:24:50 UTC
I know you hate the TS code but it's a big piece I'd like to get to work.

So, ignoring the tea_charid, tea_userid tea_api errors and I'm assuming the foreach($chars as $char) on line 1122 (I'm not a scripter but if I follow it right it's calling the previous strings) I get to the last three errors that show trying to finalize TS setting in admin.

These errors start at Line 174, there are two:

Undefined variable: gl
Invalid argument supplied for foreach() (a result of the prior I assume)

Then again at Line 251 there's another Undefined variable: gl

Any thoughts? I'm still debugging Jabber but that is successfully querying the server and pulling down groups and info so that I get to groups to check for access. The TS module never gets that far.

--Rax
Avok
Epsilon Lyr
#191 - 2014-03-02 00:45:59 UTC
Tea mod for board registration and cron is running great. Thx.

But.
When i click on the teamspeak admin panel, i have this error :
API call error while fetching toons: Error Code = 106 for key id = [ERROR] Connection timed out

Epsilon Lyr CEO www.epsilon-lyr.com

Bill Ramen
Perkone
Caldari State
#192 - 2014-03-07 02:08:24 UTC
I think the ts3 section of TEA 1.31.1 is calling the api too fast. I get this error when I work in the ts3 section, but don't know what to do to resolve it. Any assistance would be appreciated. Thanks!


Error message:
Quote:
API call error while fetching toons: Error Code = 106 for key id = [ERROR] connection failed, you are banned (you may retry in 557 seconds )
Shin Chogan
Federal Navy Academy
Gallente Federation
#193 - 2014-03-07 22:20:42 UTC  |  Edited by: Shin Chogan
Bill Ramen wrote:
I think the ts3 section of TEA 1.31.1 is calling the api too fast. I get this error when I work in the ts3 section, but don't know what to do to resolve it. Any assistance would be appreciated. Thanks!


Error message:
Quote:
API call error while fetching toons: Error Code = 106 for key id = [ERROR] connection failed, you are banned (you may retry in 557 seconds )



That looks very much like an error that is coming from TS rather than CCP's api server. Check your username and password settings ... also check your whitelist if the SMF server and TS Server are not the same box.
Shin Chogan
Federal Navy Academy
Gallente Federation
#194 - 2014-03-07 22:21:36 UTC  |  Edited by: Shin Chogan
Avok wrote:
Tea mod for board registration and cron is running great. Thx.

But.
When i click on the teamspeak admin panel, i have this error :
API call error while fetching toons: Error Code = 106 for key id = [ERROR] Connection timed out



Ah ha now that makes sense ... the connection timed out is coming from the connection to the TS Server not from CCP's API server. Check your TS server config in SMF.
Norian Lonark
Center for Advanced Studies
Gallente Federation
#195 - 2014-03-09 12:25:13 UTC
Hi all,

A very strange error has just started happening on my forums, the mod has been running successfully for months without any issues then since yesterday whenever I try to update someones tea profile setting i get a page not found error when I click the change profile button.

Also when trying to look at the settings page of the Tea mod I get the following error:

MySQL server has gone away
File: /Sources/TEA.php
Line: 1413

I have run a database tables check and repair through cpanel, checked the error logs of the forum (nothing found), uninstalled deleted the files and reinstalled the mod and contacted my host to ask them if anything has changed.

Now I am at a bit of a loss, as this has just started happening recently I just wondered if anyone had any ideas what I could do.

Thanks a lot for any tips help..... its a great mod.

Regards,

Nori.

Start wide, expand further, and never look back

Shin Chogan
Federal Navy Academy
Gallente Federation
#196 - 2014-03-09 13:13:52 UTC
Norian Lonark wrote:
Hi all,

A very strange error has just started happening on my forums, the mod has been running successfully for months without any issues then since yesterday whenever I try to update someones tea profile setting i get a page not found error when I click the change profile button.

Also when trying to look at the settings page of the Tea mod I get the following error:

MySQL server has gone away
File: /Sources/TEA.php
Line: 1413

I have run a database tables check and repair through cpanel, checked the error logs of the forum (nothing found), uninstalled deleted the files and reinstalled the mod and contacted my host to ask them if anything has changed.

Now I am at a bit of a loss, as this has just started happening recently I just wondered if anyone had any ideas what I could do.

Thanks a lot for any tips help..... its a great mod.

Regards,

Nori.



Hmmm very strange indeed ... that error could be caused by a timeout or maybe a limit on the number of open connections you can have to the DB being reached. It could also be that something else is closing the connection to the DB for some reason before you are able to make the call to the TEA cache table ... which is what is happening on the line you mention.
Norian Lonark
Center for Advanced Studies
Gallente Federation
#197 - 2014-03-10 10:11:56 UTC  |  Edited by: Norian Lonark
Shin Chogan wrote:
Norian Lonark wrote:
Hi all,

A very strange error has just started happening on my forums, the mod has been running successfully for months without any issues then since yesterday whenever I try to update someones tea profile setting i get a page not found error when I click the change profile button.

Also when trying to look at the settings page of the Tea mod I get the following error:

MySQL server has gone away
File: /Sources/TEA.php
Line: 1413

I have run a database tables check and repair through cpanel, checked the error logs of the forum (nothing found), uninstalled deleted the files and reinstalled the mod and contacted my host to ask them if anything has changed.

Now I am at a bit of a loss, as this has just started happening recently I just wondered if anyone had any ideas what I could do.

Thanks a lot for any tips help..... its a great mod.

Regards,

Nori.



Hmmm very strange indeed ... that error could be caused by a timeout or maybe a limit on the number of open connections you can have to the DB being reached. It could also be that something else is closing the connection to the DB for some reason before you are able to make the call to the TEA cache table ... which is what is happening on the line you mention.


I tried clearing out the smf_tea_cache table also contacted my host to restore the database and website, tried everthing I can think of. Contacted my hosting company again they said that something with the query is taking ages to execute at index.php?action=admin;area=tea;sa=settings; but just dont know what else I can try Cry

The only pages where I get the error are the settings page and running the actual checks :/ all the other pages load up fine. Could there be something in one of tables which the settings page calls up which is corrupt? What?or any weird permissions problem with the files.. I think all the files that should be 0644 are.

When I try to run the checks I get the following messages:

API System Screwed : bool(false)

and

MySQL server has gone away
File: /Sources/TEA.php
Line: 2408

Start wide, expand further, and never look back

Shin Chogan
Federal Navy Academy
Gallente Federation
#198 - 2014-03-10 10:55:49 UTC
Norian Lonark wrote:
Shin Chogan wrote:
Norian Lonark wrote:
Hi all,

A very strange error has just started happening on my forums, the mod has been running successfully for months without any issues then since yesterday whenever I try to update someones tea profile setting i get a page not found error when I click the change profile button.

Also when trying to look at the settings page of the Tea mod I get the following error:

MySQL server has gone away
File: /Sources/TEA.php
Line: 1413

I have run a database tables check and repair through cpanel, checked the error logs of the forum (nothing found), uninstalled deleted the files and reinstalled the mod and contacted my host to ask them if anything has changed.

Now I am at a bit of a loss, as this has just started happening recently I just wondered if anyone had any ideas what I could do.

Thanks a lot for any tips help..... its a great mod.

Regards,

Nori.



Hmmm very strange indeed ... that error could be caused by a timeout or maybe a limit on the number of open connections you can have to the DB being reached. It could also be that something else is closing the connection to the DB for some reason before you are able to make the call to the TEA cache table ... which is what is happening on the line you mention.


I tried clearing out the smf_tea_cache table also contacted my host to restore the database and website, tried everthing I can think of. Contacted my hosting company again they said that something with the query is taking ages to execute at index.php?action=admin;area=tea;sa=settings; but just dont know what else I can try Cry

The only pages where I get the error are the settings page and running the actual checks :/ all the other pages load up fine. Could there be something in one of tables which the settings page calls up which is corrupt? What?or any weird permissions problem with the files.. I think all the files that should be 0644 are.

When I try to run the checks I get the following messages:

API System Screwed : bool(false)

and

MySQL server has gone away
File: /Sources/TEA.php
Line: 2408


not sure about the line 2408 bit ... the code I'm looking at on that line isn't doing anything with the DB ... any chance you can paste what you have on that line incase it is a different version.

API System Screwed is because it is failing to do an api call and in that particular case it is just trying to verify that CCP's API servers are up so it just pulls a list of the available calls.
https://api.eveonline.com/api/calllist.xml.aspx
Norian Lonark
Center for Advanced Studies
Gallente Federation
#199 - 2014-03-11 09:06:10 UTC
Hi Shin,

just wanted to say thank you for your support. I got the hosting company to do another restore as I tried many different things and wanted a clean slate to where the problem started again and when they restored it problem vanished.

Got no idea what caused the issue or what fixed it, but its working.

Nori.

Start wide, expand further, and never look back

Magenta Flori
Royal Amarr Institute
Amarr Empire
#200 - 2014-03-14 16:49:08 UTC  |  Edited by: Magenta Flori
Shin,

That business with API's staying cached and not pulling new ones after the time expires is still occurring randomly. I have not been able to pinpoint it and at this point I just gave up and created a cronjob to just truncate that table every 48 hours in case one gets stuck. Just wanted to let you know.