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
Aron Fox
Tranquillian Imperial Navy
#461 - 2012-10-18 20:51:28 UTC
I got some more progrese since i Used your youtube turtorial but now I have these problems

when a user attempts to register they get this message:

Quote:
API Date could not be read / parsed, original exception: String could not be parsed as XML
Character and API settings do not match ->


and I am also having this issue:

http://s15.postimage.org/yzzuflh5n/eve_phpbb_mof_bug.png
Cyerus
University of Caille
Gallente Federation
#462 - 2012-10-18 21:11:38 UTC  |  Edited by: Cyerus
Aron Fox wrote:
I got some more progrese since i Used your youtube turtorial but now I have these problems

when a user attempts to register they get this message:

Quote:
API Date could not be read / parsed, original exception: String could not be parsed as XML
Character and API settings do not match ->


and I am also having this issue:

http://s15.postimage.org/yzzuflh5n/eve_phpbb_mof_bug.png


Your first problem comes from the EVE API servers now being SSL only, meaning you'll have to upload some files in order for users to register / cronjob to work again.
This post can help you with that; https://forums.eveonline.com/default.aspx?g=posts&m=2059837#post2059837


Your second problem comes from using a different template. You'll have to manually change some of the files in order to make that template work with the EVE API mod.
A guide on how to let AutoMOD install the changes for you can be found here;
http://phpbbandbbcodes.com/viewtopic.php?f=7&t=945

If you want to do it manually, follow these steps instead.
First you need to unpackage the EVE API AutoMOD zipfile and open the install.xml in a browser.
Scroll down to the files containing changes inside the styles-folder, and manually add them into your template.
ISuper
State War Academy
Caldari State
#463 - 2012-10-18 21:38:28 UTC  |  Edited by: ISuper
Ok i updated sucessfully but when i run eveapi_cron.php i get:
Quote:
Call to undefined function cronlog() in .../forum/eveapi_cron.php on line 43

line43:
Quote:
cronlog("Starting");



Also seens that eveapi modules disabled. I enabled it in admin control panel but no effect
Cyerus
University of Caille
Gallente Federation
#464 - 2012-10-18 22:24:32 UTC
ISuper wrote:
Ok i updated sucessfully but when i run eveapi_cron.php i get:
Quote:
Call to undefined function cronlog() in .../forum/eveapi_cron.php on line 43

line43:
Quote:
cronlog("Starting");



Also seens that eveapi modules disabled. I enabled it in admin control panel but no effect


Meaning you are using wrong configuration on your forum.

Watch these videos to learn on how to correctly setup your forum for use with the EVE API MOD.
http://www.youtube.com/playlist?list=PLKWZBmvnMlzEtdIRPGl4O5t_FKx_8NgMm
ISuper
State War Academy
Caldari State
#465 - 2012-10-18 22:34:34 UTC  |  Edited by: ISuper
Cyerus wrote:
ISuper wrote:
Ok i updated sucessfully but when i run eveapi_cron.php i get:
Quote:
Call to undefined function cronlog() in .../forum/eveapi_cron.php on line 43

line43:
Quote:
cronlog("Starting");



Also seens that eveapi modules disabled. I enabled it in admin control panel but no effect


Meaning you are using wrong configuration on your forum.

Watch these videos to learn on how to correctly setup your forum for use with the EVE API MOD.
http://www.youtube.com/playlist?list=PLKWZBmvnMlzEtdIRPGl4O5t_FKx_8NgMm


I used my previous settings, and i have it on tabs General/Corporations/Alliances/TeamSpeak etc. But in user management and registration there are no eveapi lines

ps i did an update from 5.3 working service
Cyerus
University of Caille
Gallente Federation
#466 - 2012-10-18 23:26:39 UTC  |  Edited by: Cyerus
ISuper wrote:
Cyerus wrote:
ISuper wrote:
Ok i updated sucessfully but when i run eveapi_cron.php i get:
Quote:
Call to undefined function cronlog() in .../forum/eveapi_cron.php on line 43

line43:
Quote:
cronlog("Starting");



Also seens that eveapi modules disabled. I enabled it in admin control panel but no effect


Meaning you are using wrong configuration on your forum.

Watch these videos to learn on how to correctly setup your forum for use with the EVE API MOD.
http://www.youtube.com/playlist?list=PLKWZBmvnMlzEtdIRPGl4O5t_FKx_8NgMm


I use my previous settings, and i have it on tabs General/Corporations/Alliances/TeamSpeak etc. But in user management and registration there are no eveapi lines

ps i did an update from 5.3 working service


The configuration of 5.3 is different compared to 6.x
I'm giving you the link to the videos, which in itself is a must-see, so that you can see how correct configuration is suppose to look like.

Many things could be causing the problems you are having, and instead of waiting for me to reply with a possible solution, you should check the videos and determine which steps you did differently, or didn't do at all.

So once again; Hereby the link to the videos.
http://www.youtube.com/playlist?list=PLKWZBmvnMlzEtdIRPGl4O5t_FKx_8NgMm
RatKnight1
KarmaFleet
Goonswarm Federation
#467 - 2012-10-19 01:18:18 UTC
Well, I am giving up on the TS3 thing for now (why keep pounding my head against a wall? lol).

On another note, I am running the cron job to look for api changes every half an hour.

Randomly the eveapi_cron.php will deactivate all of the API registered users on the board. Thereby removing them from all groups, etc. It says that they are not members of the corp/alliance.

Thoughts?

I initially thought maybe I was hitting the API server too often, but the interval doesn't seem to matter.
4nouke
Shadow State
Goonswarm Federation
#468 - 2012-10-19 02:18:03 UTC  |  Edited by: 4nouke
RatKnight1 wrote:
Well, I am giving up on the TS3 thing for now (why keep pounding my head against a wall? lol).

On another note, I am running the cron job to look for api changes every half an hour.

Randomly the eveapi_cron.php will deactivate all of the API registered users on the board. Thereby removing them from all groups, etc. It says that they are not members of the corp/alliance.

Thoughts?

I initially thought maybe I was hitting the API server too often, but the interval doesn't seem to matter.


Check this thread if you haven't adjusted for the changes in API pull as it may not be seeing data to pull
https://forums.eveonline.com/default.aspx?g=posts&m=2059837#post2059837
RatKnight1
KarmaFleet
Goonswarm Federation
#469 - 2012-10-19 02:24:01 UTC
I have adjusted for that. This is a random issue. It seems to hit about every 3rd or 4th time the cron job runs.

It just reads that the peeps are not in the assigned corp/alliance.
ISuper
State War Academy
Caldari State
#470 - 2012-10-19 05:52:34 UTC
Quote:
The configuration of 5.3 is different compared to 6.x
I'm giving you the link to the videos, which in itself is a must-see, so that you can see how correct configuration is suppose to look like.

Many things could be causing the problems you are having, and instead of waiting for me to reply with a possible solution, you should check the videos and determine which steps you did differently, or didn't do at all.

So once again; Hereby the link to the videos.
http://www.youtube.com/playlist?list=PLKWZBmvnMlzEtdIRPGl4O5t_FKx_8NgMm



Ok i watched the videos, but it didn't help. I am planning to downgrade to backups and try again.
eidenjunior
Perkone
Caldari State
#471 - 2012-10-19 08:41:46 UTC
Cyerus wrote:
Aron Fox wrote:
I got some more progrese since i Used your youtube turtorial but now I have these problems

when a user attempts to register they get this message:

Quote:
API Date could not be read / parsed, original exception: String could not be parsed as XML
Character and API settings do not match ->


and I am also having this issue:

http://s15.postimage.org/yzzuflh5n/eve_phpbb_mof_bug.png


Your first problem comes from the EVE APIs ervers now being SSl only, meaning you'll have to upload some files in order for users to register / cronjob to work again.
This post can help you with that; https://forums.eveonline.com/default.aspx?g=posts&m=2059837#post2059837


Your second problem comes from using a different template. You'll have to manually change some of the files in order to make that template work with the EVE API mod.
A guide on how to let AutoMOD install the changes for you can be found here;
http://phpbbandbbcodes.com/viewtopic.php?f=7&t=945

If you want to do it manually, follow these steps instead.
First you need to unpackage the EVE API AutoMOD zipfile and open the install.xml in a browser.
Scroll down to the files containing changes inside the styles-folder, and manually add them into your template.


Works for API functions, not the eve fitting.
ISuper
State War Academy
Caldari State
#472 - 2012-10-19 09:38:07 UTC  |  Edited by: ISuper
I followed again this post https://forums.eveonline.com/default.aspx?g=posts&m=1555109#post1555109
and updated sucesfully w/o any error. But now i have the same problem:

I see all eveapi settings, it enabled but in user profile and in registration there are no lines like API, TS uid etc.

Any ideas?

ps1: Let's say user database also fine, there are data in mysql about eve api and TS uid.
ps2: I use phpBB 3.0.10


Some screenshots:
http://imageshack.us/f/155/modman.jpg/
http://imageshack.us/photo/my-images/822/apiset.jpg/
http://imageshack.us/f/208/regib.jpg/
http://imageshack.us/photo/my-images/201/automod.jpg/
Cyerus
University of Caille
Gallente Federation
#473 - 2012-10-19 11:58:29 UTC  |  Edited by: Cyerus
RatKnight1 wrote:
I have adjusted for that. This is a random issue. It seems to hit about every 3rd or 4th time the cron job runs.

It just reads that the peeps are not in the assigned corp/alliance.


Reason that happens is the instability of the EVE API servers.
If something goes wrong in the process (like connection lost of wrong data), the script returns false, and false is interpreted as wrong API permissions, hence disabling the account.

I'll be changing the mechanic of that in 6.1.1, if I can come up with an acceptable solution.
If you keep having problems with it, just disable the cronjob and manually run the cronjob script once a day, so you can manually reactivated accounts if it screws up again.


eidenjunior wrote:
Works for API functions, not the eve fitting.


I forget to mention that you need to also upload the new files to your theme.
Open the EVE API package, and upload the files from the Upload->Styles-> Prosilver directory to the folder of the style you are using.
Don't forget to clear cache afterwards, and then it should work.


ISuper wrote:
I followed again this post https://forums.eveonline.com/default.aspx?g=posts&m=1555109#post1555109
and updated sucesfully w/o any error. But now i have the same problem:

I see all eveapi settings, they are enabled but in user profile and in registration there are no lines like API, TS uid etc.

Any ideas?

ps1: Let's say user database also fine, there are data in mysql about eve api and TS uid.
ps2: I use phpBB 3.0.10


Some screenshots:
http://imageshack.us/f/155/modman.jpg/
http://imageshack.us/photo/my-images/822/apiset.jpg/
http://imageshack.us/f/208/regib.jpg/
http://imageshack.us/photo/my-images/201/automod.jpg/


I'm not sure, but on your 3rd screenshot it seems to show that you are using a different template.
In case you are, you'll need to perform extra steps to make that template work.

Read step 2 of this post;
https://forums.eveonline.com/default.aspx?g=posts&m=2064391#post2064391

And check the reply above about also uploading the new files.


Regardless, please set your boards theme to Prosilver (the default template) and clear your forums cache to see if the fields show up using that theme. If they don't, it means something went wrong with the installation process, probably AutoMOD not having the right permissions to change the files itself. To fix that, you need to change the AutoMOD Configuration to use a different method (either FTP or Compressed File) in other to apply the changes to your forum.
Cyerus
University of Caille
Gallente Federation
#474 - 2012-10-19 12:40:21 UTC
Hereby I'm releasing version 6.1.0


  • Support for phpBB 3.0.11
  • eveapi_update.php will now correctly save the now API information
  • EVE based BBcodes should now correctly work if the mod is installed but the masterswitch have been disabled
  • Switched to SSL for https://api.eveonline.com



A video explaining the update process in detail can be found in the second post of this topic.

Download can be found in the first post of this topic as usual.
Let me know if you come across any other issues.
ISuper
State War Academy
Caldari State
#475 - 2012-10-19 13:49:52 UTC  |  Edited by: ISuper
Ok i switched to the default template and updated to 3.11 + 6.1.0. All went fine, w/o errors.
My problem is still persist.
I followed to your video by 110%

ps Thank you very much for detailed videos

http://imageshack.us/photo/my-images/42/21880303.jpg/
http://imageshack.us/photo/my-images/534/46391230.jpg/
http://imageshack.us/photo/my-images/202/52454495.jpg/
and database still contain all the info:
http://imageshack.us/photo/my-images/12/444nl.jpg/
Cyerus
University of Caille
Gallente Federation
#476 - 2012-10-19 14:16:07 UTC
ISuper wrote:
Ok i switched to the default template and updated to 3.11 + 6.1.0. All went fine, w/o errors.
My problem is still persist.
I followed to your video by 110%

ps Thank you very much for detailed videos

http://imageshack.us/photo/my-images/42/21880303.jpg/
http://imageshack.us/photo/my-images/534/46391230.jpg/
http://imageshack.us/photo/my-images/202/52454495.jpg/
and database still contain all the info:
http://imageshack.us/photo/my-images/12/444nl.jpg/


That would probably indicate that AutoMOD was not able to make the changes to the exiting files, even though AutoMOD said it has been installed successfully.

Try to the following steps, to see if they fix your problem;

  • Uninstall EVE API AutoMOD module. (Only the AutoMOD module of EVE API).
  • Create another backup!
  • Change the AutoMOD configuration to FTP
  • In the same configuration screen enter your FTP details and the correct path to where your forum can be found on the FTP.
  • Save the settings
  • Install the EVE API AutoMOD module
  • Once installed, clear your forums cache and see if the fields now show up
  • If they do, don't forget to remove the FTP settings again because they pose a potential security risk.
Andy Tibs
Ministry of War
#477 - 2012-10-19 14:50:26 UTC
Thanks for the video detailing the update process... it was very helpful.

I have updated my phpbb install and my eveapi and I have tested a new member registering which goes fine with adding the member to a group, and entering their API information to their profile.

It doesn't seem to let me update the API information though if I use the eveapi_update.php page or if I log into the admin area and try to change it there. Here is the error it gives me when I try to do it from the admin area:

Quote:
API Date could not be read / parsed, original exception: error setting certificate verify locations: CAfile: /home/acct/website/forums/adm/includes/eveapi/Certificates/GeoTrustGlobalCA.crt CApath: /etc/ssl/certs
Character and API settings do not match -> Character Name


Before the update I was able to update APIs from the admin area. Any ideas?
ISuper
State War Academy
Caldari State
#478 - 2012-10-19 15:02:42 UTC
Cyerus wrote:
ISuper wrote:
Ok i switched to the default template and updated to 3.11 + 6.1.0. All went fine, w/o errors.
My problem is still persist.
I followed to your video by 110%

ps Thank you very much for detailed videos

http://imageshack.us/photo/my-images/42/21880303.jpg/
http://imageshack.us/photo/my-images/534/46391230.jpg/
http://imageshack.us/photo/my-images/202/52454495.jpg/
and database still contain all the info:
http://imageshack.us/photo/my-images/12/444nl.jpg/


That would probably indicate that AutoMOD was not able to make the changes to the exiting files, even though AutoMOD said it has been installed successfully.

Try to the following steps, to see if they fix your problem;

  • Uninstall EVE API AutoMOD module. (Only the AutoMOD module of EVE API).
  • Create another backup!
  • Change the AutoMOD configuration to FTP
  • In the same configuration screen enter your FTP details and the correct path to where your forum can be found on the FTP.
  • Save the settings
  • Install the EVE API AutoMOD module
  • Once installed, clear your forums cache and see if the fields now show up
  • If they do, don't forget to remove the FTP settings again because they pose a potential security risk.



Oh god, now it's working, thank you!
But i have the same issue:
Quote:
API Date could not be read / parsed, original exception: error setting certificate verify locations: CAfile: .../forum/adm/includes/eveapi/Certificates/GeoTrustGlobalCA.crt CApath: none
ISuper
State War Academy
Caldari State
#479 - 2012-10-19 15:03:58 UTC  |  Edited by: ISuper
.del double post
Cyerus
University of Caille
Gallente Federation
#480 - 2012-10-19 15:30:26 UTC
I forgot to include the correct includes->eveapi->Pheal->Pheal.php file into the EVE API 6.1.0 package you've downloaded.

I've just updated the package with the right version of the file, so the people downloading that package now should not run into the problem described above.

To fix the problem described above, follow the steps in the post linked below;
https://forums.eveonline.com/default.aspx?g=posts&m=2059837#post2059837