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.
 

phpBB 3.x API Registration Mod v6+

Author
Dism0
Soul Takers
Nourv Gate Security Commission
#501 - 2012-10-30 03:29:30 UTC  |  Edited by: Dism0
i use LeetVoiceServers for my TS3 server and i for the life of me cannot get the TeamSpeak 3 serverquery to work. you make it look so easy in your youtube video. can anyone help?

here is the output in the error_log

Quote:
[30-Oct-2012 15:00:14] PHP Fatal error: Uncaught exception 'TeamSpeak3_Transport_Exception' with message 'Connection timed out' in /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/Transport/TCP.php:54
Stack trace:
#0 /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/Transport/TCP.php(108): TeamSpeak3_Transport_TCP->connect()
#1 /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/Adapter/ServerQuery.php(76): TeamSpeak3_Transport_TCP->readLine()
#2 /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn()
#3 /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/TeamSpeak3.php(310): TeamSpeak3_Adapter_Abstract->__construct(Array)
#4 /home3/violenc4/public_html/forums/eveapi_cron.php(209): TeamSpeak3::factory('serverquery://v...')
#5 {main}
thrown in /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/Transport/TCP.php on line 54


it seems its just timing out. wondering if anyone has any experience with leetvoiceservers and maybe if i can ask them to do something to help.
eidenjunior
Perkone
Caldari State
#502 - 2012-10-30 09:11:07 UTC
Zev Zala wrote:
Having a small issue when I change the Forum Style, the EVE API KeyID & EVE API Verification Code input boxes does not show up when trying to register for an account, or if they try to update there api info via User Control Panel>Profile>Edit account settings. May I have assistance please :)


what version are you running?

Have you run the template update process? Automod>EVE API MOD Details> "Available Changes"
ISuper
State War Academy
Caldari State
#503 - 2012-11-03 10:35:00 UTC
ISuper wrote:
Hi, every run eveapi_cron.php i have >= 5 users blocked with the reason `Invalid EVE API key.`
But they have a good API's, and then i need to activate them from User management.
Is there any fix for that problem? Thanx.


UP!!!!
Cyerus
University of Caille
Gallente Federation
#504 - 2012-11-03 22:56:38 UTC  |  Edited by: Cyerus
Dism0 wrote:
i use LeetVoiceServers for my TS3 server and i for the life of me cannot get the TeamSpeak 3 serverquery to work. you make it look so easy in your youtube video. can anyone help?

here is the output in the error_log

Quote:
[30-Oct-2012 15:00:14] PHP Fatal error: Uncaught exception 'TeamSpeak3_Transport_Exception' with message 'Connection timed out' in /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/Transport/TCP.php:54
Stack trace:
#0 /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/Transport/TCP.php(108): TeamSpeak3_Transport_TCP->connect()
#1 /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/Adapter/ServerQuery.php(76): TeamSpeak3_Transport_TCP->readLine()
#2 /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn()
#3 /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/TeamSpeak3.php(310): TeamSpeak3_Adapter_Abstract->__construct(Array)
#4 /home3/violenc4/public_html/forums/eveapi_cron.php(209): TeamSpeak3::factory('serverquery://v...')
#5 {main}
thrown in /home3/violenc4/public_html/forums/includes/eveapi/TeamSpeak3/Transport/TCP.php on line 54


it seems its just timing out. wondering if anyone has any experience with leetvoiceservers and maybe if i can ask them to do something to help.


I couldn't find anything on their website about allowing remote access to the TeamSpeak 3 console.
I've send them a very humble request about allowing access to the console; awaiting reply.
"Stay tuned".


Zev Zala wrote:
Having a small issue when I change the Forum Style, the EVE API KeyID & EVE API Verification Code input boxes does not show up when trying to register for an account, or if they try to update there api info via User Control Panel>Profile>Edit account settings. May I have assistance please :)


No offence, but I'm getting frustrated about the questions / problems people are having with custom templates, while a couple of posts above theirs the answer has been given. If you are having such problems, please read through the forum first (specially page 24-26), as it has already been discussed in detail.


ISuper wrote:
ISuper wrote:
Hi, every run eveapi_cron.php i have >= 5 users blocked with the reason `Invalid EVE API key.`
But they have a good API's, and then i need to activate them from User management.
Is there any fix for that problem? Thanx.


UP!!!!


Down boy! That's a good dog..!

I've had the time to read through the code, and decided to add some more feedback on errors encountered.
This doesn't solve the problem (since if something goes wrong with anything, the user will still get disabled), but it should at least allow us to see what is going wrong when the EVE API servers are giving ****** results.
Be sure to reply back to this topic with any (read: all) errors you are receiving when an user is disabled while he/she shouldn't.

Package can be downloaded here, instructions are inside.
http://www.eve-it.org/dl/Debug_package_for_6.1.0.rar
Aron Fox
Tranquillian Imperial Navy
#505 - 2012-11-04 18:35:31 UTC
Aron Fox wrote:
are you suppose to set up the cronjob file manually to your servers cronjobs or does that work on its own?

?
cellcore
From Our Cold Dead Hands
ORPHANS OF EVE
#506 - 2012-11-05 04:59:17 UTC
Everything is working great, except the character avatars. I'm not sure what is going on with them. I followed your youtube videos, this is a clean install of your 6.1.0 version.

I keep getting this response from Chrome:

The website encountered an error while retrieving http://xxxxx.xxxxxx.com/ucp.php?i=profile&mode=avatar. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

Any advice would be appreciated.
cellcore
Lovely Coconuts
BuBBleZ UP
#507 - 2012-11-05 05:29:15 UTC  |  Edited by: Lovely Coconuts
Cyerus,

Great mod, I have used with with several corps in the past and never had any issues. This time I am having an issue with registering characters or just simply adding api keys to the premade administrator account. I have came to the conclusion that it is because of my corporations name.... My current corporations name "The Space Traveller's Inn" and it contains an apostrophe with all the sql work going on from the mod I believe it is commenting out the following code on the line. I have tried cancelling it out by entering a second apostrophe and entered exact statements implying that my corp name was exactly as I wrote and I have not any much success. I now can get members registered with ugly error messages. I was curious if you had a fix or workaround for this?

*spelling correction
ISuper
State War Academy
Caldari State
#508 - 2012-11-05 09:20:18 UTC
Quote:


Down boy! That's a good dog..!

I've had the time to read through the code, and decided to add some more feedback on errors encountered.
This doesn't solve the problem (since if something goes wrong with anything, the user will still get disabled), but it should at least allow us to see what is going wrong when the EVE API servers are giving ****** results.
Be sure to reply back to this topic with any (read: all) errors you are receiving when an user is disabled while he/she shouldn't.

Package can be downloaded here, instructions are inside.
http://www.eve-it.org/dl/Debug_package_for_6.1.0.rar



Ok, i tested that script but it didn't help. When i run it from cron, there are still users with a valid API (blocked). When i rum it from browser to see the error, those users not blocked. Thank you for help anyway.
Cyerus
University of Caille
Gallente Federation
#509 - 2012-11-05 12:36:41 UTC
Aron Fox wrote:
Aron Fox wrote:
are you suppose to set up the cronjob file manually to your servers cronjobs or does that work on its own?

?


You have to manually add the script to the webhost's cronjob, in the form of "wget http://host.com/forum/eveapi_cron.php".


cellcore wrote:
Everything is working great, except the character avatars. I'm not sure what is going on with them. I followed your youtube videos, this is a clean install of your 6.1.0 version.

I keep getting this response from Chrome:

The website encountered an error while retrieving http://xxxxx.xxxxxx.com/ucp.php?i=profile&mode=avatar. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

Any advice would be appreciated.
cellcore


The EVE API servers were buggy the last couple of days, perhaps that was the reason it didn't work.
If not, retrace your steps or set up a test forum to see if you have done everything correctly.


Lovely Coconuts wrote:
Cyerus,

Great mod, I have used with with several corps in the past and never had any issues. This time I am having an issue with registering characters or just simply adding api keys to the premade administrator account. I have came to the conclusion that it is because of my corporations name.... My current corporations name "The Space Traveller's Inn" and it contains an apostrophe with all the sql work going on from the mod I believe it is commenting out the following code on the line. I have tried cancelling it out by entering a second apostrophe and entered exact statements implying that my corp name was exactly as I wrote and I have not any much success. I now can get members registered with ugly error messages. I was curious if you had a fix or workaround for this?

*spelling correction


Having special characters in entities should work without having any error messages.
Can you post the errors you are receiving?


ISuper wrote:
Ok, i tested that script but it didn't help. When i run it from cron, there are still users with a valid API (blocked). When i rum it from browser to see the error, those users not blocked. Thank you for help anyway.


Keep manually running the cronjob script until you see something going wrong.
There's not much else I can do, since I have no idea what errors you are receiving.
Could it perhaps be that you are running the cronjob script during EVE downtime?
ISuper
State War Academy
Caldari State
#510 - 2012-11-05 14:12:42 UTC  |  Edited by: ISuper
Cyerus wrote:


Keep manually running the cronjob script until you see something going wrong.
There's not much else I can do, since I have no idea what errors you are receiving.
Could it perhaps be that you are running the cronjob script during EVE downtime?


Ok i will check it. I am not running it during downtime lol)
Lovely Coconuts
BuBBleZ UP
#511 - 2012-11-05 15:51:35 UTC
Cyerus wrote:

Having special characters in entities should work without having any error messages.
Can you post the errors you are receiving?

After reviewing your message I wanted to make sure I did some thorough testing before I posted again.... After testing I noticed that the error only occurs when avatars are turned on(While registering) or when trying to download avatar with the user control panel(After they are registered).

To recreate

Turn on
EVE Portraits:
Allow EVE Portraits to be used as Avatars.
When in the User Control Panel and I check the box for the folowing
Use your ingame Portrait as forum Avatar!
I receive this error meassage. I am able to manually upload avatars myself as well. Downloading the avatar fails everytime.
Error message also occurs when registering.

Server error
The website encountered an error while retrieving http://ldomainname/forum/ucp.php?i=profile&mode=avatar. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
Cyerus
University of Caille
Gallente Federation
#512 - 2012-11-05 17:12:06 UTC
Lovely Coconuts wrote:
Cyerus wrote:

Having special characters in entities should work without having any error messages.
Can you post the errors you are receiving?

After reviewing your message I wanted to make sure I did some thorough testing before I posted again.... After testing I noticed that the error only occurs when avatars are turned on(While registering) or when trying to download avatar with the user control panel(After they are registered).

To recreate

Turn on
EVE Portraits:
Allow EVE Portraits to be used as Avatars.
When in the User Control Panel and I check the box for the folowing
Use your ingame Portrait as forum Avatar!
I receive this error meassage. I am able to manually upload avatars myself as well. Downloading the avatar fails everytime.
Error message also occurs when registering.

Server error
The website encountered an error while retrieving http://ldomainname/forum/ucp.php?i=profile&mode=avatar. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.


I assume you have tested this with the default template? And 'cleared cache' just to be safe?

If so, does your webhost have the PHP extension cURL enabled?
Sounds like the HTTP 500 call is generated by an undefined function.
cellcore
From Our Cold Dead Hands
ORPHANS OF EVE
#513 - 2012-11-05 17:20:30 UTC
Cyerus wrote:

I assume you have tested this with the default template? And 'cleared cache' just to be safe?

If so, does your webhost have the PHP extension cURL enabled?
Sounds like the HTTP 500 call is generated by an undefined function.



That was it for me, Thanks for the tip on that one.
Lovely Coconuts
BuBBleZ UP
#514 - 2012-11-06 05:02:59 UTC
Cyerus wrote:

I assume you have tested this with the default template? And 'cleared cache' just to be safe?

If so, does your webhost have the PHP extension cURL enabled?
Sounds like the HTTP 500 call is generated by an undefined function.


W00t, that worked indeed. Maybe I didn't have this problem before because my previous installations were on windows. Thanks for your assistance!
eidenjunior
Perkone
Caldari State
#515 - 2012-11-06 09:26:06 UTC
Eve fittings seems to be unable to recognized MWDS.

http://i1240.photobucket.com/albums/gg485/torsteine/EvefittingMWDs.jpg

Can someone confirm this?
Cyerus
University of Caille
Gallente Federation
#516 - 2012-11-06 12:55:57 UTC
eidenjunior wrote:
Eve fittings seems to be unable to recognized MWDS.

http://i1240.photobucket.com/albums/gg485/torsteine/EvefittingMWDs.jpg

Can someone confirm this?


MicroWarpdrive is suppose to be written as Microwarpdrive (not the lowercase W).
eidenjunior
Perkone
Caldari State
#517 - 2012-11-06 13:06:59 UTC
Cyerus wrote:
eidenjunior wrote:
Eve fittings seems to be unable to recognized MWDS.

http://i1240.photobucket.com/albums/gg485/torsteine/EvefittingMWDs.jpg

Can someone confirm this?


MicroWarpdrive is suppose to be written as Microwarpdrive (not the lowercase W).


It work with lowercase.

It was copy paste from EFT and that wittes with Uppercase W. can it be add so the text is not case sensitive?
Cyerus
University of Caille
Gallente Federation
#518 - 2012-11-06 13:54:37 UTC
eidenjunior wrote:
Cyerus wrote:
eidenjunior wrote:
Eve fittings seems to be unable to recognized MWDS.

http://i1240.photobucket.com/albums/gg485/torsteine/EvefittingMWDs.jpg

Can someone confirm this?


MicroWarpdrive is suppose to be written as Microwarpdrive (not the lowercase W).


It work with lowercase.

It was copy paste from EFT and that wittes with Uppercase W. can it be add so the text is not case sensitive?


I'll see what I can do.

In this case EFT is wrong; CCP changed it to lowercase a while back.
I've reported the issue to EFT's thread.
De'Veldrin
Republic University
Minmatar Republic
#519 - 2012-11-07 00:56:55 UTC
Ok, first time user here. I installed Automod, installed the Eve API mod, cleared the mod, and I can't find the Eve API settings panel. So either I did something wrong, or I'm just blind.

Anyone got any advice?

De'Veldrin's Corollary (to Malcanis' Law): Any idea that seeks to limit the ability of a large nullsec bloc to do something in the name of allowing more small groups into sov null will inevitably make it that much harder for small groups to enter sov null.

Cyerus
University of Caille
Gallente Federation
#520 - 2012-11-07 01:04:55 UTC
De'Veldrin wrote:
Ok, first time user here. I installed Automod, installed the Eve API mod, cleared the mod, and I can't find the Eve API settings panel. So either I did something wrong, or I'm just blind.

Anyone got any advice?


Advice: Watch the videos.
http://www.youtube.com/playlist?list=PLKWZBmvnMlzEtdIRPGl4O5t_FKx_8NgMm