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) |
StuofBeef
Proletariat Projects Inc SoulWing Alliance
0
|
Posted - 2013.01.04 20:51:00 -
[271] - Quote
Hey all, just found this page and got TEA 99% installed, works spot on for new registrations and rules work ok. Only issue i'm having is for existing members when go into Profile > temars eve api, you can enter the id and v-code but there is no submit button to look up the character, so when you hit the drop down no characters are listed. Trying to hit "Change profile" just brings up "[ERROR] Api must be of Type Character and show ALL toons :)"
I thought maybe it was an issue with my theme but it also happens on the default theme.
Here is a screenshot.
https://www.dropbox.com/s/49tlsqorkphug7k/no%20submit.jpg
Thanks. |
Troy Aihaken
L0s Zetas Zombie Ninja Space Bears
27
|
Posted - 2013.01.04 23:26:00 -
[272] - Quote
1.) Are you using my modified version? 2.)Was Temars EVE API the first mod installed on your forum? 3.) Was this done before or after you installed the theme? I like helping people with I.T in eve technology hit me up in game. You need a killboard, CMS or forums + plus other cool apps made by eve developers let me know we can work something out :) |
Shin Chogan
Blueprint Haus Get Off My Lawn
4
|
Posted - 2013.01.09 10:15:00 -
[273] - Quote
Can people using TEA 1.3 build 169 please check their {smf_prefix}tea_cache table ? Do you notice that very little is being cached ? Or is it just me ? |
Troy Aihaken
L0s Zetas Zombie Ninja Space Bears
27
|
Posted - 2013.01.09 16:06:00 -
[274] - Quote
I have 7 pages worth of cache pages in my database, so probably just you mate :) I like helping people with I.T in eve technology hit me up in game. You need a killboard, CMS or forums + plus other cool apps made by eve developers let me know we can work something out :) |
Shin Chogan
Blueprint Haus Get Off My Lawn
4
|
Posted - 2013.01.09 16:07:00 -
[275] - Quote
Anabaric wrote:Now if only it could integrate with mumble...
Use this to link to mumble :
http://gitorious.org/mumble-scripts/mumble-scripts/trees/master/Authenticators/SMF/2.0
It is a python script that uses the smf db as an ICE authenticator for mumble. NB ... Not my work just what I use :) |
Shin Chogan
Blueprint Haus Get Off My Lawn
4
|
Posted - 2013.01.09 16:26:00 -
[276] - Quote
Troy Aihaken wrote:I have 7 pages worth of cache pages in my database, so probably just you mate :)
hmmm ... interesting ... I tried reverting to the original r169 build on a dev board and still have the same issue. I put in some debug the problem was in get_xml in TEAC.php.
method_exists($this, 'set_cache') is returning false
I added in some get_class_methods ( $this ) in various places and found that things fell apart in function get_api_characters
it does this to work out which class to use : in class TEAC
$check = $this -> is_new($userid, $api); if($check) $class = $this -> newc; else $class = $this -> oldc;
and then calls
$class -> get_api_characters($userid, $api);
putting var_dump(get_class_methods ( $this )); just above this line gives an array of about 57 methods including get_cache and set_cache.
In most cases this then effectively calls TEACN::get_api_characters.
I put a get_class_methods($this) in TEACN::get_api_characters and low and behold there are only something like 17 methods not including the get and set_cache methods. These are defined in TEA which extends TEAC which is what I believe is the issue as the is_new function does this :
if(empty($this -> newc)) { $this -> newc = new TEACN; $this -> oldc = new TEACO; }
ie creates new TEACN and TEACO objects.
I hope that all makes sense ? |
Shin Chogan
Blueprint Haus Get Off My Lawn
4
|
Posted - 2013.01.09 16:46:00 -
[277] - Quote
StuofBeef wrote:Hey all, just found this page and got TEA 99% installed, works spot on for new registrations and rules work ok. Only issue i'm having is for existing members when go into Profile > temars eve api, you can enter the id and v-code but there is no submit button to look up the character, so when you hit the drop down no characters are listed. Trying to hit "Change profile" just brings up "[ERROR] Api must be of Type Character and show ALL toons :)" I thought maybe it was an issue with my theme but it also happens on the default theme. Here is a screenshot. https://www.dropbox.com/s/49tlsqorkphug7k/no%20submit.jpgThanks.
you shouldn't have a submit button ... you do just hit change profile ... once you've done that the dropdown is populated so you can pick a character and then hit change profile again. That error message is because the api you provide must have "Character" set to All and "Type" set to Character in CCP's api pages :) |
StuofBeef
Proletariat Projects Inc SoulWing Alliance
0
|
Posted - 2013.01.10 17:08:00 -
[278] - Quote
Shin Chogan wrote:StuofBeef wrote:Hey all, just found this page and got TEA 99% installed, works spot on for new registrations and rules work ok. Only issue i'm having is for existing members when go into Profile > temars eve api, you can enter the id and v-code but there is no submit button to look up the character, so when you hit the drop down no characters are listed. Trying to hit "Change profile" just brings up "[ERROR] Api must be of Type Character and show ALL toons :)" I thought maybe it was an issue with my theme but it also happens on the default theme. Here is a screenshot. https://www.dropbox.com/s/49tlsqorkphug7k/no%20submit.jpgThanks. you shouldn't have a submit button ... you do just hit change profile ... once you've done that the dropdown is populated so you can pick a character and then hit change profile again. That error message is because the api you provide must have "Character" set to All and "Type" set to Character in CCP's api pages :)
Sorry i though the forums would send me a reply when got a mail, it didn't lol. I'll give it a go in a bit, cheers. |
ShadowandLight
Black Aces Against ALL Anomalies
67
|
Posted - 2013.01.11 14:02:00 -
[279] - Quote
Hey all!
I am getting a running list of errors when doing full member checks
http://i.imgur.com/XCxBy.png
and user reg seems to 404 quite often
is it because the API server cant handle that many requests? or is there some coding error i can correct? |
Troy Aihaken
L0s Zetas Zombie Ninja Space Bears
27
|
Posted - 2013.01.11 15:44:00 -
[280] - Quote
Hmm, Do you have cURL installed on the server, also have you got my modified version or standard r169 I like helping people with I.T in eve technology hit me up in game. You need a killboard, CMS or forums + plus other cool apps made by eve developers let me know we can work something out :) |
|
Shin Chogan
Blueprint Haus Get Off My Lawn
4
|
Posted - 2013.01.11 16:07:00 -
[281] - Quote
Troy can you do me a favour stop your TEA_Cron.php cronjob and put
var_dump(method_exists($this, 'get_cache'));
After line 207 : $cache = FALSE; and before 208 : if($type != 'standings' && $type != 'alliances' && method_exists($this, 'get_cache'))
Then run TEA_Cron.php manually or even safer make a copy and use it to update a single member ... change the line : $tea -> update_api(FALSE); so that FALSE is replaced by a valid member id.
Are all the values printed to the screen "true" or are some "false" ? |
Troy Aihaken
L0s Zetas Zombie Ninja Space Bears
27
|
Posted - 2013.01.11 16:11:00 -
[282] - Quote
Yo man i have 11 lines in my TEA_Cron.php I like helping people with I.T in eve technology hit me up in game. You need a killboard, CMS or forums + plus other cool apps made by eve developers let me know we can work something out :) |
Shin Chogan
Blueprint Haus Get Off My Lawn
4
|
Posted - 2013.01.11 16:13:00 -
[283] - Quote
Doh I new I'd forgotten something ...
The line to add is in TEAC.php :) |
Troy Aihaken
L0s Zetas Zombie Ninja Space Bears
27
|
Posted - 2013.01.11 16:15:00 -
[284] - Quote
Ok can you rewrite what i need to do so i dont F anything up I like helping people with I.T in eve technology hit me up in game. You need a killboard, CMS or forums + plus other cool apps made by eve developers let me know we can work something out :) |
Shin Chogan
Blueprint Haus Get Off My Lawn
4
|
Posted - 2013.01.11 16:19:00 -
[285] - Quote
1/ Add : var_dump(method_exists($this, 'get_cache'));
After line 207 : $cache = FALSE; and before 208 : if($type != 'standings' && $type != 'alliances' && method_exists($this, 'get_cache'))
in the file TEAC.php
2/ Then run TEA_Cron.php manually
Optionally If you change the word FALSE to a number that is a valid Member ID on your forums in TEA_Cron.php it will only update a single account
I'm interested in the output :) |
Troy Aihaken
L0s Zetas Zombie Ninja Space Bears
27
|
Posted - 2013.01.11 16:32:00 -
[286] - Quote
bool(true) bool(true) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true)
LOL I like helping people with I.T in eve technology hit me up in game. You need a killboard, CMS or forums + plus other cool apps made by eve developers let me know we can work something out :) |
Shin Chogan
Blueprint Haus Get Off My Lawn
4
|
Posted - 2013.01.11 16:40:00 -
[287] - Quote
Troy Aihaken wrote:bool(true) bool(true) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true)
LOL
Cool ... so that confirms that for a significant number of calls the caching methods aren't in scope so it can't put into or fetch from the cache :)
That said you had a lot more trues than I did when I ran my tests but that could have been because I was looking at this when the api system was having a bad day recently and giving a load of runtime errors
You might want to remove that line from TEAC.php now or you are going to get a LOT of cron spam |
Troy Aihaken
L0s Zetas Zombie Ninja Space Bears
27
|
Posted - 2013.01.11 16:45:00 -
[288] - Quote
Shin Chogan wrote:Troy Aihaken wrote:bool(true) bool(true) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) bool(true) bool(true)
LOL Cool ... so that confirms that for a significant number of calls the caching methods aren't in scope so it can't put into or fetch from the cache :) That said you had a lot more trues than I did when I ran my tests but that could have been because I was looking at this when the api system was having a bad day recently and giving a load of runtime errors You might want to remove that line from TEAC.php now or you are going to get a LOT of cron spam
All ready have but it doesnt matter thats my test server :)
I like helping people with I.T in eve technology hit me up in game. You need a killboard, CMS or forums + plus other cool apps made by eve developers let me know we can work something out :) |
medoix
Unified Combatants Pwnasaurus.
1
|
Posted - 2013.01.13 03:18:00 -
[289] - Quote
I am using the latest modified version posted above ^ as i was getting the String to XML error, now on registration when the user clicks "Get Characters" the error pops up above it saying "Error no error code (no error message)" any ideas as to what may be wrong?
The only error is the apache logs indicates the error is also failing to get set...
Error: PHP Notice: Undefined index: error in /data/www/public_html/Sources/TEAC.php on line 230, referer: http://site.com/index.php?action=register
Code: $return = $this->get_site_sock($url, $post); line 230 -> if ($return['error']) { echo $return['errordesc'] . " Reason (" . $return['content'] . ")"; } |
Troy Aihaken
L0s Zetas Zombie Ninja Space Bears
27
|
Posted - 2013.01.13 09:50:00 -
[290] - Quote
Are you using a mysql database?
I like helping people with I.T in eve technology hit me up in game. You need a killboard, CMS or forums + plus other cool apps made by eve developers let me know we can work something out :) |
|
Impudent Dragon
DarkDeadMeat corp Dragon Soul Alliance
2
|
Posted - 2013.01.13 13:40:00 -
[291] - Quote
TDS1-6 Kaptur wrote:real spacer wrote:Which file do I need to set the cron job up to?
I set it up to TEA_Cron.php , but that doesn't seem to work. I've tested it by manually executing it and it still doesnt work.
Maybe my expectations are wrong? What I am expecting it to run a full member check to make sure all api's are still valid and if they arent to disable any accounts that don't have valid apis. Yes i need some help also, getting the cron job to work any help will be welcome I need this help too |
Shin Chogan
Blueprint Haus Get Off My Lawn
4
|
Posted - 2013.01.13 14:11:00 -
[292] - Quote
The way the system works is that the cron job will do as many accounts as it can in a period of time less than 1 minute. You then have the TEA_Cron.php script run every minute.
so in /etc/cron.d/smf I have :
* * * * * user /usr/bin/php5 path/TEA_Cron.php |
medoix
Unified Combatants Pwnasaurus.
1
|
Posted - 2013.01.14 10:00:00 -
[293] - Quote
Troy Aihaken wrote:Are you using a mysql database?
Using MySQL for EveBB but not for TS3... |
Troy Aihaken
L0s Zetas Zombie Ninja Space Bears
27
|
Posted - 2013.01.14 15:48:00 -
[294] - Quote
I recommend using a mysql for ts but i believe you can do it with the sqlite file!! I will look into it but if anyone can confirm this please do!! I like helping people with I.T in eve technology hit me up in game. You need a killboard, CMS or forums + plus other cool apps made by eve developers let me know we can work something out :) |
ShadowandLight
Black Aces Against ALL Anomalies
67
|
Posted - 2013.01.15 06:13:00 -
[295] - Quote
hey troy~
using your file i have 2 issues
1 - the get api is very slow on the forums, sometimes it times out. Clicking on the "eve api" button sometimes fixes it. When people reg they often get emails before the page tells them they are registered.
2 - i too am finding sometimes people are told they dont have the right API, even when I checked it myself.
Using a mysql DB btw. |
Shin Chogan
Blueprint Haus Get Off My Lawn
4
|
Posted - 2013.01.15 11:33:00 -
[296] - Quote
ShadowandLight wrote:hey troy~
using your file i have 2 issues
1 - the get api is very slow on the forums, sometimes it times out. Clicking on the "eve api" button sometimes fixes it. When people reg they often get emails before the page tells them they are registered.
There are 2 parts to this ... first up sometimes the api servers can be pretty slow but I also believe that there are some problems with the code that compound this as things are not being cached when they should be.
Quote: 2 - i too am finding sometimes people are told they dont have the right API, even when I checked it myself.
It is possible vital api calls are timing out which would result in it not having the info it needs. Also make sure it is an api key that lists ALL the characters on the account and not just one of them. |
ShadowandLight
Black Aces Against ALL Anomalies
67
|
Posted - 2013.01.15 13:59:00 -
[297] - Quote
I'm also getting this error
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/xxxxx/public_html/smf/Sources/TEAC.php:384 Stack trace: #0 /home/xxxxx/public_html/smf/Sources/TEAC.php(384): SimpleXMLElement->__construct('?? corp_info('98029188') #2 /home/xxxxx/public_html/smf/Sources/TEAC.php(66): TEACN->get_api_characters('29230', 'K51dLLCDYTbtz54...') #3 /home/xxxxx/public_html/smf/TEA/TEA_xmlhttp.php(7): TEAC->get_api_characters('29230', 'K51dLLCDYTbtz54...') #4 {main} thrown in /home/xxxxx/public_html/smf/Sources/TEAC.php on line 384 |
ShadowandLight
Black Aces Against ALL Anomalies
67
|
Posted - 2013.01.15 14:05:00 -
[298] - Quote
Shin Chogan wrote:ShadowandLight wrote:hey troy~
using your file i have 2 issues
1 - the get api is very slow on the forums, sometimes it times out. Clicking on the "eve api" button sometimes fixes it. When people reg they often get emails before the page tells them they are registered.
There are 2 parts to this ... first up sometimes the api servers can be pretty slow but I also believe that there are some problems with the code that compound this as things are not being cached when they should be. Quote: 2 - i too am finding sometimes people are told they dont have the right API, even when I checked it myself.
It is possible vital api calls are timing out which would result in it not having the info it needs. Also make sure it is an api key that lists ALL the characters on the account and not just one of them.
If there is any improvement to be had in the code it would help a ton, as this is a pretty annoying problem atm.
Also with all the API's i've used in testing i've made sure its "all characters" as the option.
|
Shin Chogan
Blueprint Haus Get Off My Lawn
5
|
Posted - 2013.01.15 15:19:00 -
[299] - Quote
ShadowandLight wrote: If there is any improvement to be had in the code it would help a ton, as this is a pretty annoying problem atm.
The errors you linked are symptomatic of when the CCP servers return an Application error rather than valid xml. I was writing a bit of test code and made a mistake and managed to cause this type of response which has given me a direction to look into in the TEA code to see if there is something it is doing to cause these responses or if it is just CCP's api servers sometimes have issues.
I've been working on some more changes that certainly appear to make it use the cache when it is supposed to, updating profiles certainly happen a lot quicker now (the more rules you have the worse it gets) ... and just running a "check all" through the forums and it is now checking about 20 at a time rather than about 5 :) I'm not sure if it is ready for primetime just yet though
Quote: Also with all the API's i've used in testing i've made sure its "all characters" as the option.
Hey it was worth checking ... You would be amazed at how many people miss that |
Nutbolt
Avalon Project Shadow Rock Alliance
70
|
Posted - 2013.01.17 11:11:00 -
[300] - Quote
I am also getting this error when I try and register a new user on the forums. They go through the registration page, enter in the correct API info, then Get Characters, select the right char, then click register, and this error occurs after about 3 minutes (also have the speed issues with api as mentioned above).
www.avalonproject.co.uk/forums
|
|
|
|
|
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 |