Pages: 1 2 3 4 :: [one page] |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
6
|
Posted - 2017.03.11 23:36:53 -
[1] - Quote
Hi all,
This is a first alpha version of a phpBB extension that enables Single sign on for registration and login to the phpBB forum software: Downloads
Current features:
- phpBB auth provider (replaces regular login completely)
- Login / Registration using EVE accounts
- Group management based on corp / alliance (using ESI to fetch)
- Teamspeak serverGroup management based on corp / alliance
Installation and setup:
This extension is under development, if you install it on anything but a fresh and empty board, backup your database and files now.
- Upload the contents of the zip to your forum root (the zip should already contain the directory structure /ext/snitch/authevesso)
- Go to the ACP
- Enable the extension under 'Customise', if it doesnt show up check the directory structure.
- Go to developers.eveonline.com and create an App, select API access the scope esi-corporations.read_corporation_membership.v1, set the callback url to server/forumurl/authevesso/login
- Go to you forum ACP: General - Client communication - Authentication
- Enter your app id and secret you got in the above step, as well as the Admin character name (Important: This has to be an eve character you will use from now on to log in as admin. If this char already exists as a board user, make him a founder and grant all permissions now.)
- Save Settings
- Change authentication method to Evesso and save.
- Log in with the admin EVE char and purge the forum cache in the ACP.
- Start adding Groups / Teamspeak groups under 'Extensions'
if something goes wrong and you locked yourself out, access your database and find the key auth_method in your phpbb_config table and change it from 'evesso' to 'db'.
To do:
- Implement logging
- Testing
- Better session management (when logging in from multiple devices)
- ???
A few notes how its working:
This extension automatically creates a forum user account for evey user that logs in with his eve account. It only handles the groups configured in the extensions ACP menu, it will not add OR REMOVE from any of the groups / teamspeak groups not entered there. phpBB3.1+ has a new cron system. if you wish to run the cron jobs manually, the command to do so is: php _install_dir_/bin/phpbbcli.php cron:run (set to run e.g. once in 15 minutes, dont worry, the actual jobs run at different intervals) In that case, go to your boards server settings and set 'run periodic tasks from system...' to 'yes'.
Credits:
Inspired by phpBB 3.1 Authentication Provider for Shibboleth Using the Teamspeak PHP framework ESI client generated using swagger codegen
Happy testing,
Report any bugs you ancounter here or to [email protected] If you wanna support this project, feel free to throw some ISK at Snitch Ashor
o7, Snitch |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
6
|
Posted - 2017.03.12 07:16:14 -
[2] - Quote
Reserved. |
Norio Nori
Ecoas Heavy Industries SAMURAI SOUL'd OUT
7
|
Posted - 2017.03.15 14:39:43 -
[3] - Quote
It is amazing! |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
154
|
Posted - 2017.03.17 16:34:23 -
[4] - Quote
Super happy to see this again, but seeing this when I try to log into my fresh forum after setting up:
SQL ERROR [ mysqli ]
Unknown column 'session_authstate' in 'field list' [1054]
Don't have access to my database from work, so will reset the auth method and have a closer look when I get home in a few hours, but if there's any quick fixes to this that'd be excellent. |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
8
|
Posted - 2017.03.17 21:04:44 -
[5] - Quote
Milo Caman wrote:Super happy to see this again, but seeing this when I try to log into my fresh forum after setting up: SQL ERROR [ mysqli ]
Unknown column 'session_authstate' in 'field list' [1054]
Don't have access to my database from work, so will reset the auth method and have a closer look when I get home in a few hours, but if there's any quick fixes to this that'd be excellent.
Hmmm weird, that column should have been installed with the mod. Will try it myself on a fresh install. |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
154
|
Posted - 2017.03.17 21:46:08 -
[6] - Quote
I've reset the auth_method key and managed to get back in, no problems. For anyone who's new to MySQL something like this should work fine.
UPDATE phpbb_config SET config_value = 'db' WHERE config_name = 'auth_method' LIMIT 1;
You'll need to clear the cache folder afterwards.
Interestingly if the extension is enabled, using the extensions tab in the ACP returns the following:
General Error SQL ERROR [ mysqli ]
Table 'phpbb.phpbb_authevesso_groups' doesn't exist [1146]
SQL
SELECT * FROM phpbb_authevesso_groups
BACKTRACE
FILE: (not given by php) LINE: (not given by php) CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php LINE: 999 CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php LINE: 193 CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php LINE: 329 CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/ext/snitch/authevesso/acp/main_module.php LINE: 91 CALL: phpbb\db\driver\factory->sql_query()
FILE: [ROOT]/includes/functions_module.php LINE: 676 CALL: snitch\authevesso\acp\main_module->main()
FILE: [ROOT]/adm/index.php LINE: 82 CALL: p_master->load_active()
I'm not sure if this is useful? I may have done something wrong. |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
8
|
Posted - 2017.03.17 21:57:25 -
[7] - Quote
That is related to the first I guess, looks like the migration that installs database tables and columns is not executed at all in your case, will try to figure out what went wrong. If you want to retry you have to deinstall the mod and delte all data of the mod in the customization tab |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
154
|
Posted - 2017.03.17 22:13:25 -
[8] - Quote
Snitch Ashor wrote:That is related to the first I guess, looks like the migration that installs database tables and columns is not executed at all in your case, will try to figure out what went wrong. If you want to retry you have to deinstall the mod and delte all data of the mod in the customization tab
Is it possible to trigger the migration script manually? Not had any luck reinstalling this so far. |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.18 00:19:35 -
[9] - Quote
Thanks for reporting back, could you do one more quick check just look if the file
_phpBBinstall_/phpbb/db/migration/migration.php is present and tell me what php version you are running please?
Thanks.
Btw since all migrations require that class, the one that creates the profile field to enter the teamspeakID might be missing as well. You can just create it under users-> custom profile fields:
Identifier: authevesso_tsid Type: single text field.
Publicly display profile field: NO and the only options that should be ticked are: Display in user control panel Hide profile field |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
154
|
Posted - 2017.03.18 00:30:07 -
[10] - Quote
migration.php is present. I'm using PHP 7.0.15-0ubuntu0.16.04.4.
Everything appears to be working smoothly now.
Just a thought, but you might want to set something that toggles the 'register' button on the forum when SSO is active, as it allows users to make redundant accounts they can't log into. It's not really a big issue, but might cause some confusion if the 'Disable registration' option isn't selected in the ACP. |
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.18 06:47:01 -
[11] - Quote
Yeah you are right. You can disable board registration yourself for now in the ACP. I will either disable the button or just forward registration to the sso as well. |
Paic Aishai
Alphahydrae
0
|
Posted - 2017.03.18 11:01:38 -
[12] - Quote
Thanks man. Cool project you're working on here !
I also tried to install this and ran into the same problems as Milo. After following your instructions, the extension page is now accesible and database schemas seems ok, but when I try to login, I get an "Invalid auth state." error.
The auth state seems to be passed along correctly during the OAuth process, it is even set correctly in the databse (phpbb_sessions.session_authstate)
Any ideas ?
|
Felicity Stihl
Bittervet's retirement home
1
|
Posted - 2017.03.18 18:54:16 -
[13] - Quote
Cool project
I installed it without a hitch, but when I enable authentication, I will get a 404 error when trying to hit the login button.
The 404 is for forums.domain.tld/authevesso/login (my phpbb install is not in a subdirectory)
Any ideas on this one ? |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.18 19:03:12 -
[14] - Quote
Paic Aishai wrote:Thanks man. Cool project you're working on here !
I also tried to install this and ran into the same problems as Milo. After following your instructions, the extension page is now accesible and database schemas seems ok, but when I try to login, I get an "Invalid auth state." error.
The auth state seems to be passed along correctly during the OAuth process, it is even set correctly in the database (phpbb_sessions.session_authstate)
Any ideas ?
So basically what is supposed to happen is the auth state, which is just a random number is stored in the session sb before sending the user to the sso page and the response is compared afterwards. Not sure what goes wrong there. Could you post or pm me your forum address? |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.18 19:07:03 -
[15] - Quote
Felicity Stihl wrote:Cool project
I installed it without a hitch, but when I enable authentication, I will get a 404 error when trying to hit the login button.
The 404 is for forums.domain.tld/authevesso/login (my phpbb install is not in a subdirectory)
Any ideas on this one ?
Will have to try and reproduce it. If you feel like trying it on a subfolder, let me know if it works. |
Felicity Stihl
Bittervet's retirement home
1
|
Posted - 2017.03.18 19:12:03 -
[16] - Quote
Snitch Ashor wrote:Felicity Stihl wrote:Cool project
I installed it without a hitch, but when I enable authentication, I will get a 404 error when trying to hit the login button.
The 404 is for forums.domain.tld/authevesso/login (my phpbb install is not in a subdirectory)
Any ideas on this one ? Will have to try and reproduce it. If you feel like trying it on a subfolder, let me know if it works.
Same error, it also complains about /adm/authevesso
the apache log shows this when I hit the login button (after i changed the forum url, and moved files so that the new path is: https://forums.domain.tld/forums) xx.xx.xx.xx - - [18/Mar/2017:19:12:44 +0000] "GET /forums/authevesso/login?target=https%3A%2F%2Fforums.domain.tld%2Fforums%2Findex.php HTTP/1.1" 404 578 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
I cannot access the callback url manually either... |
Felicity Stihl
Bittervet's retirement home
1
|
Posted - 2017.03.19 10:42:02 -
[17] - Quote
Quick update:
Made a new VM to test this on, completley vanilla ubuntu 16.10 , just installed mod_php, apache2, phpmyadmin, and mysql. installed a fresh version of phpbb 3.2 and added your plugin, so far so good..
after installing, and activating the plugin, I cannot access the /authevesso/login url (http://172.16.32.149/phpbb/authevesso/login?target=http%3A%2F%2F172.16.32.149%2Fphpbb%2Findex.php)
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.19 13:20:47 -
[18] - Quote
Felicity Stihl wrote:Quick update:
Made a new VM to test this on, completley vanilla ubuntu 16.10 , just installed mod_php, apache2, phpmyadmin, and mysql. installed a fresh version of phpbb 3.2 and added your plugin, so far so good..
after installing, and activating the plugin, I cannot access the /authevesso/login url (http://172.16.32.149/phpbb/authevesso/login?target=http%3A%2F%2F172.16.32.149%2Fphpbb%2Findex.php)
Thanks for testing, will do the same, the only difference to my test enviroment is ubuntu16.10 and prly the mysql version. Will let you know if i can figure out what it is. |
Felicity Stihl
Bittervet's retirement home
1
|
Posted - 2017.03.19 13:52:14 -
[19] - Quote
Snitch Ashor wrote:Felicity Stihl wrote:Quick update:
Made a new VM to test this on, completley vanilla ubuntu 16.10 , just installed mod_php, apache2, phpmyadmin, and mysql. installed a fresh version of phpbb 3.2 and added your plugin, so far so good..
after installing, and activating the plugin, I cannot access the /authevesso/login url (http://172.16.32.149/phpbb/authevesso/login?target=http%3A%2F%2F172.16.32.149%2Fphpbb%2Findex.php)
Thanks for testing, will do the same, the only difference to my test enviroment is ubuntu16.10 and prly the mysql version. Will let you know if i can figure out what it is.
The mysql version is probably not the issue, the default apache configuration may be. As I stated, I'm running a unmodified apache conf except for enabling mod_rewrite. |
Felicity Stihl
Bittervet's retirement home
1
|
Posted - 2017.03.19 15:16:13 -
[20] - Quote
Felicity Stihl wrote:Snitch Ashor wrote:Felicity Stihl wrote:Quick update:
Made a new VM to test this on, completley vanilla ubuntu 16.10 , just installed mod_php, apache2, phpmyadmin, and mysql. installed a fresh version of phpbb 3.2 and added your plugin, so far so good..
after installing, and activating the plugin, I cannot access the /authevesso/login url (http://172.16.32.149/phpbb/authevesso/login?target=http%3A%2F%2F172.16.32.149%2Fphpbb%2Findex.php)
Thanks for testing, will do the same, the only difference to my test enviroment is ubuntu16.10 and prly the mysql version. Will let you know if i can figure out what it is. The mysql version is probably not the issue, the default apache configuration may be. As I stated, I'm running a unmodified apache conf except for enabling mod_rewrite.
To anwser my own post: Found two issues, 1. had to explictly set the php variable "register_globals" to off 2. had to install php-curl (which is not mentioned as a requirement anywhere)
Seems to work now |
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.19 19:51:15 -
[21] - Quote
Felicity Stihl wrote: To anwser my own post: Found two issues, 1. had to explictly set the php variable "register_globals" to off 2. had to install php-curl (which is not mentioned as a requirement anywhere)
Seems to work now, except for the fact that when I log in, I get a error complaning about "INSECURE_REDIRECT".. (things still work if I refresh)
Thanks a lot.
Indeed php5.5+ with curl is a requirement for the API client library, added that to the opening post and readme. I'm abit confused about the other part since register_globals = OFF should be default since php 4.x and phpBB itself should complain if its on...
The INSECURE_REDIRECT, is that a phpBB error message and when does it appear?
I uploaded a version 1.0.1 (Download Link in the opening post) which should fix the problem about databases not being created on install.
@Felicity Stihl could you try this commit that should fix your insecure redirect warnings. |
Felicity Stihl
Bittervet's retirement home
1
|
Posted - 2017.03.20 18:18:42 -
[22] - Quote
Snitch Ashor wrote:Felicity Stihl wrote: To anwser my own post: Found two issues, 1. had to explictly set the php variable "register_globals" to off 2. had to install php-curl (which is not mentioned as a requirement anywhere)
Seems to work now, except for the fact that when I log in, I get a error complaning about "INSECURE_REDIRECT".. (things still work if I refresh)
Thanks a lot. Indeed php5.5+ with curl is a requirement for the API client library, added that to the opening post and readme. I'm abit confused about the other part since register_globals = OFF should be default since php 4.x and phpBB itself should complain if its on... The INSECURE_REDIRECT, is that a phpBB error message and when does it appear? I uploaded a version 1.0.1 (Download Link in the opening post) which should fix the problem about databases not being created on install. @Felicity Stihl could you try this commit that should fix your insecure redirect warnings.
It's a PHPbb error, and it occures right after you select your character on ccp:s site and hits submit.
Your newest commit seemes to have fixed that issue.
I did however notice an odd thing with the original build, I have phpbb's timeouts set to several days, but the user session will time out within less than an hour, and require relogging, is that by design, and/or can I change the timeouts somewhere , or is this something that the new commit may have fixed ? (Just applied it, so I'll know within a few hours) |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.20 23:04:22 -
[23] - Quote
Yeah I know about the persistent login problem, its on the todo list. Right now I try to use phpbbs builtin remember me function, but it still fails most of the time, need to do some diggin there. |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
154
|
Posted - 2017.03.21 16:42:34 -
[24] - Quote
Run into a new issue: I'm trying to enable another extension (specifically the phpbb google analytics package) and when I have Auth EVE SSO enabled, my session is cleared and I'm booted back to the forum index with the following message:
Access to the Administration Control Panel is not allowed as you do not have administrative permissions.
I can happily log back in and use the rest of the ACP after this. The issue only seems to occur on the 'Customise' tab when enabling new ones. Any ideas?
EDIT: It also appears to do the same when I hit 'Details' on each extension. |
Paic Aishai
Alphahydrae
0
|
Posted - 2017.03.22 22:32:05 -
[25] - Quote
Small issue here too : it seems that when the EveSSO auth method is selected, some part of the boad (home page, like "who is online, statistics ; few strings in UCP/ACP ; ...) are not in the default board language. When I switched back to Db auth method everything was ok.
I also tried to reinstall the language but it did not change anything. Can it may come from the extension ? |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.23 13:10:18 -
[26] - Quote
Paic Aishai wrote:Small issue here too : it seems that when the EveSSO auth method is selected, some part of the board (home page, like "who is online" , statistics ; few strings in UCP/ACP ; ...) are not in the default board language. When I switched back to Db auth method everything was ok.
I also tried to reinstall the language but it did not change anything. Can it may come from the extension ?
Definetly a bug of the extension thanks, should be fixed in v1.0.2.
Btw. the mod is not yet translated but programmed in a way so it should be easy to translate. If someone is in the mood to do a translation, let me know, its only about 30 lines of text, mostly related to the ACP. In phpBB, mods will always fallback to english if the right translation is not available, but this only works if english is not deinstalled.
Bests, Snitch |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.23 13:15:45 -
[27] - Quote
Felicity Stihl wrote:I did however notice an odd thing with the original build, I have phpbb's timeouts set to several days, but the user session will time out within less than an hour, and require relogging, is that by design, and/or can I change the timeouts somewhere , or is this something that the new commit may have fixed ? (Just applied it, so I'll know within a few hours) EDIT: Seems like the timeout issues are fixed, my sessions even persisted between reboots... EDIT2: Scratch that, times out after an hour..
I tried a lot of things regarding this but I'm still not entirely sure why logouts sometimes occur after an hour and most of the time (at least for me) not in days. I posted some more details here:
https://bitbucket.org/snitchashor/php-ext-authevesso/issues/1/user-sessions-timing-out-inconsistently
|
Paic Aishai
Alphahydrae
0
|
Posted - 2017.03.23 18:09:25 -
[28] - Quote
Snitch Ashor wrote:Paic Aishai wrote:Small issue here too : it seems that when the EveSSO auth method is selected, some part of the board (home page, like "who is online" , statistics ; few strings in UCP/ACP ; ...) are not in the default board language. When I switched back to Db auth method everything was ok.
I also tried to reinstall the language but it did not change anything. Can it may come from the extension ? Definetly a bug of the extension thanks, should be fixed in v1.0.2. Btw. the mod is not yet translated but programmed in a way so it should be easy to translate. If someone is in the mood to do a translation, let me know, its only about 30 lines of text, mostly related to the ACP. In phpBB, mods will always fallback to english if the right translation is not available, but this only works if english is not deinstalled. Bests, Snitch
Updated to v1.0.2a, all good. Thanks for the quick fix man ! |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.24 13:41:40 -
[29] - Quote
Paic Aishai wrote: Updated to v1.0.2a, all good. Thanks for the quick fix man !
Thats also what I thought but 1.0.2 breaks a part of the ACP, fixed here: 1.0.3a In this one language and ACP should be working.
Also anyone running 1.0.0 and having issues with logouts occuring very often, please update and let me know if it got better. |
Pohwaran
SMTOWN. The Jove Empire
0
|
Posted - 2017.03.24 21:12:44 -
[30] - Quote
Hey,
I installed everything like said, had a few problems with the callback url but got that sorted. Now I'm stuck at "Error: Invalid auth state." The DB is set to evesso, I made sure of that. Any help would be appreciated. Thanks. |
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.25 15:45:45 -
[31] - Quote
Pohwaran wrote:Hey,
I installed everything like said, had a few problems with the callback url but got that sorted. Now I'm stuck at "Error: Invalid auth state." The DB is set to evesso, I made sure of that. Any help would be appreciated. Thanks.
Edit - I fixed it turns out it was something to do with the way the database was set up. I was using MySQL with the extension, when my web host didn't use the extenion, change the database type, reinstalled the forum + the EVE SSO and it works like a charm
Glad it works now. Could you tell me what you changed to get around the database issue? |
Pohwaran
SMTOWN. The Jove Empire
0
|
Posted - 2017.03.25 19:09:17 -
[32] - Quote
Snitch Ashor wrote:Pohwaran wrote:Hey,
I installed everything like said, had a few problems with the callback url but got that sorted. Now I'm stuck at "Error: Invalid auth state." The DB is set to evesso, I made sure of that. Any help would be appreciated. Thanks.
Edit - I fixed it turns out it was something to do with the way the database was set up. I was using MySQL with the extension, when my web host didn't use the extenion, change the database type, reinstalled the forum + the EVE SSO and it works like a charm Glad it works now. Could you tell me what you changed to get around the database issue?
It goes back all the way back to the core installation of the forum itself, on the second page after setting up an admin user it asks for the database, I was installing the forum with MySQL with MySQLi Extension as the database type, using this type of database the Evesso would spit the error of invalid auth state. I then went and reinstalled the whole forum under the normal MySQL database, installed the plugin again and it worked like it should, and has been working fine since I fixed the database type.
Overall it's a great plugin, can't wait to see what else you add to it. |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.26 20:43:00 -
[33] - Quote
Pohwaran wrote: It goes back all the way back to the core installation of the forum itself, on the second page after setting up an admin user it asks for the database, I was installing the forum with MySQL with MySQLi Extension as the database type, using this type of database the Evesso would spit the error of invalid auth state. I then went and reinstalled the whole forum under the normal MySQL database, installed the plugin again and it worked like it should, and has been working fine since I fixed the database type.
Overall it's a great plugin, can't wait to see what else you add to it.
I have to admit this should not be the case and Mysqli should be used. I will try to reproduce that error. As for features, somebody already requested to see corp and alliance next to peoples names, I think thats a nice gimmick.
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
9
|
Posted - 2017.03.30 10:07:48 -
[34] - Quote
Updated version (1.0.6a). Lots of changes and a russian translation (thanks to Jintaro Keo). Disable the mod during the update and purge cache afterwards. I also added the general update procedure to the opening post. |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
154
|
Posted - 2017.03.31 10:04:19 -
[35] - Quote
When attempting to update, I'm getting the following message when trying to re-enable the extension:
General Error SQL ERROR [ mysqli ]
Duplicate column name 'user_refreshToken' [1060]
SQL
ALTER TABLE `phpbb_users` ADD COLUMN `user_refreshToken` varchar(255) NULL
BACKTRACE
FILE: (not given by php) LINE: (not given by php) CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php LINE: 999 CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php LINE: 193 CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/tools/tools.php LINE: 1061 CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/db/tools/tools.php LINE: 1269 CALL: phpbb\db\tools\tools->_sql_run_sql()
FILE: [ROOT]/phpbb/db/tools/tools.php LINE: 549 CALL: phpbb\db\tools\tools->sql_column_add()
FILE: (not given by php) LINE: (not given by php) CALL: phpbb\db\tools\tools->perform_schema_changes()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 711 CALL: call_user_func_array()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 658 CALL: phpbb\db\migrator->run_step()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 400 CALL: phpbb\db\migrator->process_data_step()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 288 CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 241 CALL: phpbb\db\migrator->update_do()
FILE: [ROOT]/phpbb/extension/base.php LINE: 78 CALL: phpbb\db\migrator->update()
FILE: [ROOT]/phpbb/extension/manager.php LINE: 185 CALL: phpbb\extension\base->enable_step()
FILE: [ROOT]/includes/acp/acp_extensions.php LINE: 197 CALL: phpbb\extension\manager->enable_step()
FILE: [ROOT]/includes/functions_module.php LINE: 676 CALL: acp_extensions->main()
FILE: [ROOT]/adm/index.php LINE: 82 CALL: p_master->load_active()
Any ideas? |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
10
|
Posted - 2017.03.31 19:24:01 -
[36] - Quote
Milo Caman wrote:When attempting to update, I'm getting the following message when trying to re-enable the extension: General Error SQL ERROR [ mysqli ]
Duplicate column name 'user_refreshToken' [1060]
SQL
ALTER TABLE `phpbb_users` ADD COLUMN `user_refreshToken` varchar(255) NULL
BACKTRACE
FILE: (not given by php) LINE: (not given by php) CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php LINE: 999 CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php LINE: 193 CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/tools/tools.php LINE: 1061 CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/db/tools/tools.php LINE: 1269 CALL: phpbb\db\tools\tools->_sql_run_sql()
FILE: [ROOT]/phpbb/db/tools/tools.php LINE: 549 CALL: phpbb\db\tools\tools->sql_column_add()
FILE: (not given by php) LINE: (not given by php) CALL: phpbb\db\tools\tools->perform_schema_changes()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 711 CALL: call_user_func_array()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 658 CALL: phpbb\db\migrator->run_step()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 400 CALL: phpbb\db\migrator->process_data_step()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 288 CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 241 CALL: phpbb\db\migrator->update_do()
FILE: [ROOT]/phpbb/extension/base.php LINE: 78 CALL: phpbb\db\migrator->update()
FILE: [ROOT]/phpbb/extension/manager.php LINE: 185 CALL: phpbb\extension\base->enable_step()
FILE: [ROOT]/includes/acp/acp_extensions.php LINE: 197 CALL: phpbb\extension\manager->enable_step()
FILE: [ROOT]/includes/functions_module.php LINE: 676 CALL: acp_extensions->main()
FILE: [ROOT]/adm/index.php LINE: 82 CALL: p_master->load_active()
Any ideas? EDIT: Attempts to install the latest version on a completely fresh install of phpbb yields the following when trying to enable the extension: General Error SQL ERROR [ mysqli ]
All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead [1171]
SQL
CREATE TABLE phpbb_authevesso_membership ( characterID bigint(20) NULL, corporationID bigint(20) NULL, corporationName varchar(100) NULL, allianceID bigint(20) NULL, allianceName varchar(100) NULL, PRIMARY KEY (characterID) ) CHARACTER SET `utf8` COLLATE `utf8_bin`;
BACKTRACE
FILE: (not given by php) LINE: (not given by php) CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php LINE: 999 CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php LINE: 193 CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/tools/tools.php LINE: 1061 CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/db/tools/tools.php LINE: 444 CALL: phpbb\db\tools\tools->_sql_run_sql()
FILE: [ROOT]/phpbb/db/tools/tools.php LINE: 489 CALL: phpbb\db\tools\tools->sql_create_table()
FILE: (not given by php) LINE: (not given by php) CALL: phpbb\db\tools\tools->perform_schema_changes()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 711 CALL: call_user_func_array()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 658 CALL: phpbb\db\migrator->run_step()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 400 CALL: phpbb\db\migrator->process_data_step()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 288 CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php LINE: 241 CALL: phpbb\db\migrator->update_do()
FILE: [ROOT]/phpbb/extension/base.php LINE: 78 CALL: phpbb\db\migrator->update()
FILE: [ROOT]/phpbb/extension/manager.php LINE: 185 CALL: phpbb\extension\base->enable_step()
FILE: [ROOT]/includes/acp/acp_extensions.php LINE: 197 CALL: phpbb\extension\manager->enable_step()
FILE: [ROOT]/includes/functions_module.php LINE: 676 CALL: acp_extensions->main()
FILE: [ROOT]/adm/index.php LINE: 82 CALL: p_master->load_active()
Should be fixed in this one: https://bitbucket.org/snitchashor/php-ext-authevesso/get/42c27894557b.zip
Any chance you can tell me your mysql version?
|
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
154
|
Posted - 2017.03.31 19:48:12 -
[37] - Quote
It's now throwing the error about the duplicate column again.
I'm running on mysql Ver 14.14 Distrib 5.7.17, for Linux (x86_64). Hope this helps? |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
10
|
Posted - 2017.03.31 20:02:29 -
[38] - Quote
Milo Caman wrote:It's now throwing the error about the duplicate column again.
I'm running on mysql Ver 14.14 Distrib 5.7.17, for Linux (x86_64). Hope this helps?
Can you delete the columns? I think i got the migrations right now, but with previous versions this might be an issue. Also clearing the extensions data should remove the columns |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
154
|
Posted - 2017.03.31 20:08:12 -
[39] - Quote
Attempting to delete the data (which resulted in a timeout) got me back to the 'duplicate column name' error. Going to try restoring a backup and going from there. |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
10
|
Posted - 2017.03.31 20:14:03 -
[40] - Quote
https://bitbucket.org/snitchashor/php-ext-authevesso/get/44c15b1fc830.zip should fix it...
This fix should only be required for mysql >= 5.6 for all others v1.0.6a should be fine |
|
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
154
|
Posted - 2017.03.31 20:31:20 -
[41] - Quote
The extension now enables fine, but when attempting to log in, I now get
{"error":"invalid_request","error_description":"The callback URI doesn't match the value stored for this client"}
Resetting the auth method to db via mysql doesn't appear to circumvent this, so I'm a bit stuck. |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
10
|
Posted - 2017.03.31 20:40:38 -
[42] - Quote
This is due to a fix I added for people without mod rewrite. The mod nowbtells in the authentication settings what the callback should be. In your case, since you obviously have mod rewrite, go to acp -> general -> server config -> server and domain and enable url rewriting, clear the cache and it should be working. |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
154
|
Posted - 2017.03.31 20:43:09 -
[43] - Quote
Snitch Ashor wrote:This is due to a fix I added for people without mod rewrite. The mod nowbtells in the authentication settings what the callback should be. In your case, since you obviously have mod rewrite, go to acp -> general -> server config -> server and domain and enable url rewriting, clear the cache and it should be working.
Is there any way to do this via mysql (specifically mod_rewrite), as I'm currently locked out of my own forum |
Syenna Celeste
Anshar Incorporated Monyusaiya Industry Trade Group
52
|
Posted - 2017.03.31 23:05:27 -
[44] - Quote
Milo Caman wrote:[ EDIT 3: Changing the URL by removing '%2Fapp.php' manually allows me to login with SSO enabled. This suggests that mod_rewrite might not be working properly? Also the 'Extensions' tab seems to be missing once I get back into ACP with everything enabled.
Fixed (we think).
Line 115 login.php.
Old: $url = $authurl."?response_type=code&redirect_uri=".rawurlencode(append_sid(generate_board_url().'/app.php/authevesso/login'))."&client_id=".$this->settings['clientid']."&scope=".im plode(' ',$scopes)."&state=".$state;
New: $url = $authurl."?response_type=code&redirect_uri=".rawurlencode(append_sid(generate_board_url().'/authevesso/login'))."&client_id=".$this->settings['clientid']."&scope=".im plode(' ',$scopes)."&state=".$state;
Put your hands around my heart and squeeze me until I'm dry.
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
10
|
Posted - 2017.04.01 05:47:18 -
[45] - Quote
Syenna Celeste wrote:Milo Caman wrote:[ EDIT 3: Changing the URL by removing '%2Fapp.php' manually allows me to login with SSO enabled. This suggests that mod_rewrite might not be working properly? Also the 'Extensions' tab seems to be missing once I get back into ACP with everything enabled. Fixed (we think). Line 115 login.php. Old: $url = $authurl."?response_type=code&redirect_uri=".rawurlencode(append_sid(generate_board_url().' /app.php/authevesso/login'))."&client_id=".$this->settings['clientid']."&scope=".im plode(' ',$scopes)."&state=".$state; New: $url = $authurl."?response_type=code&redirect_uri=".rawurlencode(append_sid(generate_board_url().'/authevesso/login'))."&client_id=".$this->settings['clientid']."&scope=".im plode(' ',$scopes)."&state=".$state;
Thanks, did overlook that. So you can use that change for now, or change the callback at the eve dev page. |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
154
|
Posted - 2017.04.01 09:23:59 -
[46] - Quote
Installed 1.0.7a just fine and logins seem to be working perfectly again, thanks
Still not seeing the extensions tab though. Were some functions moved elsewhere? |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
11
|
Posted - 2017.04.03 21:54:11 -
[47] - Quote
Milo Caman wrote:Installed 1.0.7a just fine and logins seem to be working perfectly again, thanks Still not seeing the extensions tab though. Were some functions moved elsewhere?
I'm afraid no. This means the migrations again didnt install properly for you. Will have a look but unfortunately its something I cannot reproduce. |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
157
|
Posted - 2017.04.04 12:58:41 -
[48] - Quote
Snitch Ashor wrote:Milo Caman wrote:Installed 1.0.7a just fine and logins seem to be working perfectly again, thanks Still not seeing the extensions tab though. Were some functions moved elsewhere? I'm afraid no. This means the migrations again didnt install properly for you. Will have a look but unfortunately its something I cannot reproduce.
Hrm.
Would running the query from before fix this? Is it even possible to do the migrations manually via the cli or mysql? |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
11
|
Posted - 2017.04.04 19:34:10 -
[49] - Quote
Milo Caman wrote:Snitch Ashor wrote:Milo Caman wrote:Installed 1.0.7a just fine and logins seem to be working perfectly again, thanks Still not seeing the extensions tab though. Were some functions moved elsewhere? I'm afraid no. This means the migrations again didnt install properly for you. Will have a look but unfortunately its something I cannot reproduce. Hrm. Would running the query from before fix this? Is it even possible to do the migrations manually via the cli or mysql?
Sorry no. There are three migrations, one does database stuff, one installs the acp module and one inserts the teamspeak profile field. Can you check if the last one is there? |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
158
|
Posted - 2017.04.05 12:42:49 -
[50] - Quote
Installed migrations listed as per CLI output are:
* \snitch\authevesso\migrations\add_table_100 * \snitch\authevesso\migrations\version_104 * \snitch\authevesso\migrations\version_101 * \snitch\authevesso\migrations\profilefield_tsid_100 * \snitch\authevesso\migrations\add_module_100
The output from the query is as follows:
Database changed mysql> SELECT * FROM `phpbb_migrations` WHERE `migration_name` LIKE '%snitch%'; +-----------------------------------------------------+----------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------+-- ---------------------+---------------------+----------------------+----------------------+--------------------+ | migration_name | migration_depends_on | m igration_schema_done | migration_data_done | migration_data_state | migration_start_time | migration_end_time | +-----------------------------------------------------+----------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------+-- ---------------------+---------------------+----------------------+----------------------+--------------------+ | \snitch\authevesso\migrations\add_module_100 | a:1:{i:0;s:34:"\phpbb\db\migration\data\v31x\v314";} | 1 | 1 | | 1490953922 | 1490953923 | | \snitch\authevesso\migrations\add_table | a:1:{i:0;s:34:"\phpbb\db\migration\data\v31x\v314";} | 1 | 1 | | 0 | 0 | | \snitch\authevesso\migrations\add_table_100 | a:1:{i:0;s:44:"\snitch\authevesso\migrations\add_module_100";} | 1 | 1 | | 1490953923 | 1490966569 | | \snitch\authevesso\migrations\profilefield_tsid | a:1:{i:0;s:48:"\phpbb\db\migration\data\v310\profilefield_types" ;} | 1 | 1 | | 1489791031 | 1489791031 | | \snitch\authevesso\migrations\profilefield_tsid_100 | a:1:{i:0;s:48:"\phpbb\db\migration\data\v310\profilefield_types" ;} | 1 | 1 | | 0 | 0 | | \snitch\authevesso\migrations\version_101 | a:3:{i:0;s:44:"\snitch\authevesso\migrations\add_module_100";i:1 ;s:43:"\snitch\authevesso\migrations\add_table_100";i:2;s:51:"\snitch\authevesso\migrations\profilefield_tsid_100";} | 1 | 1 | &n...
|
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
11
|
Posted - 2017.04.05 22:06:43 -
[51] - Quote
Milo Caman wrote:Installed migrations listed as per CLI output are: * \snitch\authevesso\migrations\add_table_100 * \snitch\authevesso\migrations\version_104 * \snitch\authevesso\migrations\version_101 * \snitch\authevesso\migrations\profilefield_tsid_100 * \snitch\authevesso\migrations\add_module_100
The output from the query is as follows: Database changed mysql> SELECT * FROM `phpbb_migrations` WHERE `migration_name` LIKE '%snitch%'; +-----------------------------------------------------+----------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------+-- ---------------------+---------------------+----------------------+----------------------+--------------------+ | migration_name | migration_depends_on | m igration_schema_done | migration_data_done | migration_data_state | migration_start_time | migration_end_time | +-----------------------------------------------------+----------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------+-- ---------------------+---------------------+----------------------+----------------------+--------------------+ | \snitch\authevesso\migrations\add_module_100 | a:1:{i:0;s:34:"\phpbb\db\migration\data\v31x\v314";} | 1 | 1 | | 1490953922 | 1490953923 | | \snitch\authevesso\migrations\add_table | a:1:{i:0;s:34:"\phpbb\db\migration\data\v31x\v314";} | 1 | 1 | | 0 | 0 | | \snitch\authevesso\migrations\add_table_100 | a:1:{i:0;s:44:"\snitch\authevesso\migrations\add_module_100";} | 1 | 1 | | 1490953923 | 1490966569 | | \snitch\authevesso\migrations\profilefield_tsid | a:1:{i:0;s:48:"\phpbb\db\migration\data\v310\profilefield_types" ;} | 1 | 1 | | 1489791031 | 1489791031 | | \snitch\authevesso\migrations\profilefield_tsid_100 | a:1:{i:0;s:48:"\phpbb\db\migration\data\v310\profilefield_types" ;} | 1 | 1 | | 0 | 0 | | \snitch\authevesso\migrations\version_101 | a:3:{i:0;s:44:"\snitch\authevesso\migrations\add_module_100";i:1 ;s:43:"\snitch\authevesso\migrations\add_table_100";i:2;s:51:"\snitch\authevesso\migrations\profilefield_tsid_100";} | 1 | ...
|
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
158
|
Posted - 2017.04.05 23:04:32 -
[52] - Quote
Doesn't look like it's a permissions issue, a regular admin doesn't see the extensions tab either.
How would I go about removing the add_module_100 migrations row? With the mod disabled db:list no longer shows the migrations as installed or available. Would it be worth deleting the extension's data again or might this just cause further problems? |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
11
|
Posted - 2017.04.05 23:14:13 -
[53] - Quote
Milo Caman wrote:Doesn't look like it's a permissions issue, a regular admin doesn't see the extensions tab either.
How would I go about removing the add_module_100 migrations row? With the mod disabled db:list no longer shows the migrations as installed or available. Would it be worth deleting the extension's data again or might this just cause further problems?
That might work as well but i would just delete the table row first, e.g. using phpmyadmin if you have, if not, its
DELETE FROM `phpbb_migrations` WHERE `phpbb_migrations`.`migration_name` = \'\\\\snitch\\\\authevesso\\\\migrations\\\\add_module_100\' |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
158
|
Posted - 2017.04.05 23:21:26 -
[54] - Quote
mysql does not like this query at all and makes a big fuss about the backslash characters, should it just be something like:
DELETE FROM `phpbb_migrations` WHERE `phpbb_migrations`.`migration_name` = '\snitch\authevesso\migrations\add_module_100';
instead?
EDIT: The exact output is:
mysql> DELETE FROM `phpbb_migrations` WHERE `phpbb_migrations`.`migration_name` = \'\\\\snitch\\\\authevesso\\\\migrations\\\\add_module_100\' ERROR: Unknown command '\''. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\''. -> ; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\'\\\\snitch\\\\authevesso\\\\migrations\\\\add_module_100\'' at line 1 |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
11
|
Posted - 2017.04.05 23:47:01 -
[55] - Quote
Milo Caman wrote:mysql does not like this query at all and makes a big fuss about the backslash characters, should it just be something like: DELETE FROM `phpbb_migrations` WHERE `phpbb_migrations`.`migration_name` = '\snitch\authevesso\migrations\add_module_100'; instead? EDIT: The exact output is: mysql> DELETE FROM `phpbb_migrations` WHERE `phpbb_migrations`.`migration_name` = \'\\\\snitch\\\\authevesso\\\\migrations\\\\add_module_100\' ERROR: Unknown command '\''. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\\'. ERROR: Unknown command '\''. -> ; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\'\\\\snitch\\\\authevesso\\\\migrations\\\\add_module_100\'' at line 1
DELETE FROM phpbb_migrations WHERE migration_name = '\snitch\authevesso\migrations\add_module_100'; should do.
|
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
158
|
Posted - 2017.04.06 08:35:17 -
[56] - Quote
Snitch Ashor wrote: Edit: If you havent done this yet can you check in the acp-system-module management-acp, in the very bottom there should be a dropdown and one of the entries should be something like snitch/authevesso/main module.
Enabling the snitch/authevesso/main settings module fixed everything! Seems like new users can create accounts now, and I have full access to the settings module.
Thanks so much for all your help with this! |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
158
|
Posted - 2017.04.07 14:21:38 -
[57] - Quote
New day, new problem!
Looks like the groups_check.php cronjob isn't being run by the system. I don't seem to be able to run it manually either as it returns the below:
Class 'phpbb\cron\task\base' not found in /var/www/html/forum/ext/snitch/authevesso/cron/groups_check.php on line 20
I'm going to go out on a limb and assume that this is migration-related, but I'm not really sure how phpbb handles it's internal crons. I had a poke around, but I'm feeling a bit lost in it all. Any ideas? |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
17
|
Posted - 2017.04.08 19:45:24 -
[58] - Quote
Milo Caman wrote:New day, new problem! Looks like the groups_check.php cronjob isn't being run by the system. I don't seem to be able to run it manually either as it returns the below: Class 'phpbb\cron\task\base' not found in /var/www/html/forum/ext/snitch/authevesso/cron/groups_check.php on line 20 I'm going to go out on a limb and assume that this is migration-related, but I'm not really sure how phpbb handles it's internal crons. I had a poke around, but I'm feeling a bit lost in it all. Any ideas?
No for once this has nothing to do with the migrations. Looks like its unable to find the cron base class which is part of phpbb. How did you try to run the cron job manually? It requires the phpbb enviroment so if you want to run it manually, try php path_to_forum/bin/phpbbcli.php cron:run task.groups_check and let me know if that works. |
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
158
|
Posted - 2017.04.09 10:03:51 -
[59] - Quote
When I tried to run it manually, I just navigated to /ext/snitch/authevesso/cron and ran the script with php.
Trying to run the task from cli gives me the following:
php bin/phpbbcli.php cron:run cron.task.groups_check
[RuntimeException] Could not find cron task GÇ£cron.task.groups_checkGÇ¥.
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
17
|
Posted - 2017.04.09 13:27:53 -
[60] - Quote
Milo Caman wrote:When I tried to run it manually, I just navigated to /ext/snitch/authevesso/cron and ran the script with php. Trying to run the task from cli gives me the following: php bin/phpbbcli.php cron:run cron.task.groups_check
[RuntimeException] Could not find cron task GÇ£cron.task.groups_checkGÇ¥.
Can you please post the output of php bin/phpbbcli.php cron:list
If groups_check shows up as ready to be run please run
php bin/phpbbcli.php cron:run
Which runs all crons and then list again to check if groups moved to the not ready Section. |
|
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
158
|
Posted - 2017.04.11 10:03:16 -
[61] - Quote
The output of cron:list is:
Ready tasks: ============
* cron.task.core.tidy_cache * cron.task.core.tidy_search * cron.task.core.tidy_sessions * cron.task.core.tidy_warnings
Not ready tasks: ================
* cron.task.core.prune_all_forums * cron.task.core.prune_forum * cron.task.core.prune_shadow_topics * cron.task.core.prune_notifications * cron.task.core.queue * cron.task.core.tidy_database * cron.task.core.tidy_plupload * cron.task.text_reparser.pm_text * cron.task.text_reparser.poll_option * cron.task.text_reparser.poll_title * cron.task.text_reparser.post_text * cron.task.text_reparser.user_signature
After running cron:run, everything is moved to the 'Not ready' section. I assume that the groups.check task should be included in this list? |
Morg Yard
Russian ICE Bears Goonswarm Federation
0
|
Posted - 2017.04.13 19:06:41 -
[62] - Quote
Perfect! |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
22
|
Posted - 2017.04.13 20:45:02 -
[63] - Quote
Milo Caman wrote:The output of cron:list is: Ready tasks: ============
* cron.task.core.tidy_cache * cron.task.core.tidy_search * cron.task.core.tidy_sessions * cron.task.core.tidy_warnings
Not ready tasks: ================
* cron.task.core.prune_all_forums * cron.task.core.prune_forum * cron.task.core.prune_shadow_topics * cron.task.core.prune_notifications * cron.task.core.queue * cron.task.core.tidy_database * cron.task.core.tidy_plupload * cron.task.text_reparser.pm_text * cron.task.text_reparser.poll_option * cron.task.text_reparser.poll_title * cron.task.text_reparser.post_text * cron.task.text_reparser.user_signature
After running cron:run, everything is moved to the 'Not ready' section. I assume that the groups.check task should be included in this list?
Hmmm the cron job is missing completely. I'm kinda lost here. May I ask you to do a clean phpbb3.2 install in parralel and try the latest version? You still have some leftovers of the first version which may or may not be the issue |
Morg Yard
Russian ICE Bears Goonswarm Federation
0
|
Posted - 2017.04.14 07:34:03 -
[64] - Quote
All works fine, but we have multiple forum founders, and one of them cant login to forum with following error:
Quote:Username already exists but is not linked to an EVE account
Character linking with already created account is enabled in ACP->Extention config
Please help us to resolve this issue.
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
22
|
Posted - 2017.04.14 10:35:37 -
[65] - Quote
Morg Yard wrote:All works fine, but we have multiple forum founders, and one of them cant login to forum with following error: Quote:Username already exists but is not linked to an EVE account Character linking with already created account is enabled in ACP->Extention config Please help us to resolve this issue.
This is a security feature, linking existing accounts that have extended permissions (like admin or founder) is not working, because people might have user accounts like admin or administrator and there are actually eve characters named like this. The one exception is the admin user that you explicitly specify, so here's what you can do:
Change the admin user in the authentication settings to the one you want to link, heave him log in, repeat with the next founder.
Sorry I'm not gonna change this behaviour as this would introduce a huge security hole.
Bests, Snitch |
Norian Lonark
Black Thorne Corporation Black Thorne Alliance
184
|
Posted - 2017.04.25 21:35:11 -
[66] - Quote
Snitch Ashor wrote:Syenna Celeste wrote:Milo Caman wrote:[ EDIT 3: Changing the URL by removing '%2Fapp.php' manually allows me to login with SSO enabled. This suggests that mod_rewrite might not be working properly? Also the 'Extensions' tab seems to be missing once I get back into ACP with everything enabled. Fixed (we think). Line 115 login.php. Old: $url = $authurl."?response_type=code&redirect_uri=".rawurlencode(append_sid(generate_board_url().' /app.php/authevesso/login'))."&client_id=".$this->settings['clientid']."&scope=".im plode(' ',$scopes)."&state=".$state; New: $url = $authurl."?response_type=code&redirect_uri=".rawurlencode(append_sid(generate_board_url().'/authevesso/login'))."&client_id=".$this->settings['clientid']."&scope=".im plode(' ',$scopes)."&state=".$state; Thanks, did overlook that. So you can use that change for now, or change the callback at the eve dev page. EDIT: Just pushed a fix here: https://bitbucket.org/snitchashor/php-ext-authevesso/downloads/php-ext-authevesso-v1.0.7a.zip In order not to get locked out. If you had used version <= 1.0.5 and it worked, got to ACP -> General -> Server Confg. -> Server and domain and enable url rewriting. After that continue normal: disable the extension, update files, clear chache, reenable
Firstly thank you very much for working on this great mod. I just wanted to check with you but I downloaded the latest version but still have this issue of the rewrite not looking like its working. I corrected it by manually changing the callback on the development page and adding the /app.php/ to the beginning of the path after my forum url. Just wondered if you had any ideas?
Start wide, expand further, and never look back
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
23
|
Posted - 2017.04.29 18:28:16 -
[67] - Quote
Norian Lonark wrote:Snitch Ashor wrote:Syenna Celeste wrote:Milo Caman wrote:[ EDIT 3: Changing the URL by removing '%2Fapp.php' manually allows me to login with SSO enabled. This suggests that mod_rewrite might not be working properly? Also the 'Extensions' tab seems to be missing once I get back into ACP with everything enabled. Fixed (we think). Line 115 login.php. Old: $url = $authurl."?response_type=code&redirect_uri=".rawurlencode(append_sid(generate_board_url().' /app.php/authevesso/login'))."&client_id=".$this->settings['clientid']."&scope=".im plode(' ',$scopes)."&state=".$state; New: $url = $authurl."?response_type=code&redirect_uri=".rawurlencode(append_sid(generate_board_url().'/authevesso/login'))."&client_id=".$this->settings['clientid']."&scope=".im plode(' ',$scopes)."&state=".$state; Thanks, did overlook that. So you can use that change for now, or change the callback at the eve dev page. EDIT: Just pushed a fix here: https://bitbucket.org/snitchashor/php-ext-authevesso/downloads/php-ext-authevesso-v1.0.7a.zip In order not to get locked out. If you had used version <= 1.0.5 and it worked, got to ACP -> General -> Server Confg. -> Server and domain and enable url rewriting. After that continue normal: disable the extension, update files, clear chache, reenable Firstly thank you very much for working on this great mod. I just wanted to check with you but I downloaded the latest version but still have this issue of the rewrite not looking like its working. I corrected it by manually changing the callback on the development page and adding the /app.php/ to the beginning of the path after my forum url. Just wondered if you had any ideas?
Just to make sure...
You enabled rewriting in the ACP right? And at the acp page where you enter your dev key, what callback url is given there?
|
Norian Lonark
Black Thorne Corporation Black Thorne Alliance
184
|
Posted - 2017.04.30 10:06:28 -
[68] - Quote
Snitch Ashor wrote:
Just to make sure...
You enabled rewriting in the ACP right? And at the acp page where you enter your dev key, what callback url is given there?
Hi Snitch,
I am in the process of reinstalling my development site so will provide feedback as soon as I give a second attempt.
Many thanks,
Nori.
Start wide, expand further, and never look back
|
Avaya Blade
No Brain - No Pain Solar Citizens
0
|
Posted - 2017.05.01 21:01:39 -
[69] - Quote
Snitch Ashor, thank's for your job. Your module is very cool! ;) But i have one problem. Can you help me? When i activate authentification method as "evesso", i have problem: after try login, eve online returns error:
[b]{"error":"invalid_scope","error_description":"The requested scopes either don't exist, or are not valid for this client"}[/b] I think, that i'm doing something wrong. Version mod: 1.1b Version forum: phpBB 3.2 Version PHP: 7.0
Please, help me to start using your great tool ))) |
Naella
Negative Density
0
|
Posted - 2017.05.08 16:43:23 -
[70] - Quote
Nice work!
Install more or less flawless. However found when assigning (forum)admin roles upon opening the ACP users get the error "The controller must return a response (false given)."
Switching to db authentication the ACP works just fine for these users. Both accounts I tested with have been created with the authevesso proces. As well as my admin/founder user which works just fine.
Any ideas how to solve this? |
|
Naella
Negative Density
0
|
Posted - 2017.05.09 15:14:28 -
[71] - Quote
Naella wrote:Nice work!
Install more or less flawless. However found when assigning (forum)admin roles upon opening the ACP users get the error "The controller must return a response (false given)."
Switching to db authentication the ACP works just fine for these users. Both accounts I tested with have been created with the authevesso proces. As well as my admin/founder user which works just fine.
Any ideas how to solve this?
Looks like it has to do with the additional required login when opening the ACP. Somehow that is not passed on, except for the admin user. |
Naella
Negative Density
0
|
Posted - 2017.05.09 20:37:40 -
[72] - Quote
Naella wrote:Naella wrote:Nice work!
Install more or less flawless. However found when assigning (forum)admin roles upon opening the ACP users get the error "The controller must return a response (false given)."
Switching to db authentication the ACP works just fine for these users. Both accounts I tested with have been created with the authevesso proces. As well as my admin/founder user which works just fine.
Any ideas how to solve this? Looks like it has to do with the additional required login when opening the ACP. Somehow that is not passed on, except for the admin user.
Has to do with the user needing to be in the Administrator group, more or less solved... Would be nice to get around that without having to make designated users actual admins. |
Norian Lonark
Black Thorne Corporation Black Thorne Alliance
184
|
Posted - 2017.05.12 09:03:26 -
[73] - Quote
Hi Snitch,
is there anyway with this that you can use the phpbb authentication for other services. I really want to be able to use dokuwiki or mediawiki for our wiki solution. Currently we use temars plugin for SMF and its quite easy to then authenticate the wiki against the smf database so the user can use the same username and password.
With this plugin it seems that the user doesn't actually get a password or anything on the forum? or can they set one on their forum profile and the SSO will still work.
Basically I am just looking for a way that a user could authenticate against the forums and also use the forum account for the WIKI.
sorry if this is off topic I am not wanting to hijack or take time.. but am searching for a straight forward solution and I may be missing something due to my own limitations of understanding these technical things
Start wide, expand further, and never look back
|
Dan Conia
Taggart Transdimensional Virtue of Selfishness
1
|
Posted - 2017.05.15 01:52:39 -
[74] - Quote
Hello, all. I seem to be getting an extra ":80" in my callback URL. Note just after the ".com". This results in the "The callback URI doesn't match the value stored for this client" error.
https://login.eveonline.com/oauth/authorize/?response_type=code&redirect_uri=https%3A%2F%2Ftaggarttransdimensional.com%3A80%2Fphpbb%2Fapp.php%2Fauthevesso%2Flogin
I thought I would be clever and try adding it to the callback in the EVE Developers site, but then nothing else works.
If I try manually editing the browser call it works without an issue.
Does anybody know where this ":80" is coming from?
Great extension otherwise. I'm hoping I can contribute in some way (including the wiki question!).
Thanks. |
Miela Morgan
Divine Spirit DSM
0
|
Posted - 2017.05.20 07:10:24 -
[75] - Quote
3 Installs exactly how your first page states for install, 3 times board locked, 3 times changed to db in myphpadmin, and 3 times still locked return to fresh install.
Somenting is wrong, and the config settings has board_disabled as 0.
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
23
|
Posted - 2017.05.23 08:19:44 -
[76] - Quote
Norian Lonark wrote:Hi Snitch, is there anyway with this that you can use the phpbb authentication for other services. I really want to be able to use dokuwiki or mediawiki for our wiki solution. Currently we use temars plugin for SMF and its quite easy to then authenticate the wiki against the smf database so the user can use the same username and password. With this plugin it seems that the user doesn't actually get a password or anything on the forum? or can they set one on their forum profile and the SSO will still work. Basically I am just looking for a way that a user could authenticate against the forums and also use the forum account for the WIKI. sorry if this is off topic I am not wanting to hijack or take time.. but am searching for a straight forward solution and I may be missing something simple and obvious due to my own limitations of understanding these technical things
in principle this can be done. I did a quick search and found this: https://www.mediawiki.org/wiki/Extension:PHPBB/Users_Integration
might work.
Cheers, Snitch |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
23
|
Posted - 2017.05.23 08:24:38 -
[77] - Quote
Dan Conia wrote:Hello, all. I seem to be getting an extra ":80" in my callback URL. Note just after the ".com". This results in the "The callback URI doesn't match the value stored for this client" error. https://login.eveonline.com/oauth/authorize/?response_type=code&redirect_uri=https%3A%2F%2Ftaggarttransdimensional.com%3A80%2Fphpbb%2Fapp.php%2Fauthevesso%2Flogin I thought I would be clever and try adding it to the callback in the EVE Developers site, but then nothing else works. If I try manually editing the browser call it works without an issue. Does anybody know where this ":80" is coming from? Great extension otherwise. I'm hoping I can contribute in some way (including the wiki question!). Thanks.
Hi,
to be honest i am not sure how the port ended up there since it's a standard one. Are you using https over port 80?
Could you double check you got the following settings in you phpbb ACP under Server config/Server settings:
Server protocol: https:// Server port: 443
if this is already the case could you please try:
Force server URL settings: yes
Bests, Snitch |
Dan Conia
Taggart Transdimensional Virtue of Selfishness
1
|
Posted - 2017.05.23 14:25:52 -
[78] - Quote
Snitch! That's it! Thank you for pointing out something so obvious that I kept overlooking it. hahahaha
Works like a charm, now!
Let me know if there's anything I can do to help with the project. |
Norian Lonark
Black Thorne Corporation Black Thorne Alliance
184
|
Posted - 2017.05.24 09:39:58 -
[79] - Quote
Hi Snitch,
thanks for the check I will have a go at installing it and see what happens when using it in combination with your mod.
Nori.
Start wide, expand further, and never look back
|
Milo Caman
Anshar Incorporated Monyusaiya Industry Trade Group
159
|
Posted - 2017.05.25 12:23:53 -
[80] - Quote
Sort of dropped things for a while, but picking up trying to get things working again:
I've done a fresh install of the forum, installed everything successfully and enabled it, but I'm now running into the Invalid auth state error mentioned earlier in the thread. Any ideas? Server configuration is identical to before.
Also at which point in the install should the cronjob appear in the tasklist on phpbbcli? Still not seeing it, so migrations might still be having problems. |
|
Dan Conia
Taggart Transdimensional Virtue of Selfishness
1
|
Posted - 2017.05.26 13:54:19 -
[81] - Quote
Norian Lonark wrote:Hi Snitch, thanks for the check I will have a go at installing it and see what happens when using it in combination with your mod. Nori.
Nori, I noticed an extension that piggybacks on the login of the phpBB. You then just go to your wiki site and it checks phpBB to see if you're a current login.
Extension:PHPBB/Users Integration
Edit: Wow, I got so hung up on SSO, I didn't realize you had already posted THE EXACT SAME THING. LOL MOAR COFFEE!!! |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
23
|
Posted - 2017.05.29 14:21:39 -
[82] - Quote
Dan Conia wrote:Norian Lonark wrote:Hi Snitch, thanks for the check I will have a go at installing it and see what happens when using it in combination with your mod. Nori. Nori, I noticed an extension that piggybacks on the login of the phpBB. You then just go to your wiki site and it checks phpBB to see if you're a current login. Extension:PHPBB/Users IntegrationEdit: Wow, I got so hung up on SSO, I didn't realize you had already posted THE EXACT SAME THING. LOL MOAR COFFEE!!!
No problem, as my time to code/play is limitd tjese days, any help is appreciated.
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
23
|
Posted - 2017.06.08 13:24:19 -
[83] - Quote
Changed links and description in the OP. Changed version number to 1.1b. I hope in the following weeks I find the time for a few new features I got requests for. |
Norio Nori
Ecoas Heavy Industries SAMURAI SOUL'd OUT
7
|
Posted - 2017.06.22 12:58:32 -
[84] - Quote
Auto login does not seem to be working. I think the reason is that the value of "[cookie_name] _ u" is always 1.
I tried to fix this.What do you think about this fix?
I am not very good at programming I want to hear your opinion.
login.php
$user->set_login_key(); setcookie($this->config['cookie_name'].'_k',$user->cookie_data['k'],time()+31556926,$this->config['cookie_path'],$this->config['cookie_domain'],$this->config['cookie_secure']); +setcookie($this->config['cookie_name'].'_u',$user->data['user_id'],time()+31556926,$this->config['cookie_path'],$this->config['cookie_domain'],$this->config['cookie_secure']);
|
Makhar
Independent Miners Guild Jamyl Syndicate
18
|
Posted - 2017.06.25 11:51:33 -
[85] - Quote
Thanks for this extension - very nice!
Anyway when assigning members to a group using SSO that we can make the group their default group?
_ I tried real-life once. -áThe graphics suck._
|
FlexiusVII
OEG Freedom Among the Stars
4
|
Posted - 2017.07.05 10:59:21 -
[86] - Quote
Norio Nori wrote:Auto login does not seem to be working. I think the reason is that the value of "[cookie_name] _ u" is always 1. I tried to fix this.What do you think about this fix? I am not very good at programming I want to hear your opinion. login.php $user->set_login_key(); setcookie($this->config['cookie_name'].'_k',$user->cookie_data['k'],time()+31556926,$this->config['cookie_path'],$this->config['cookie_domain'],$this->config['cookie_secure']); +setcookie($this->config['cookie_name'].'_u',$user->data['user_id'],time()+31556926,$this->config['cookie_path'],$this->config['cookie_domain'],$this->config['cookie_secure']);It did not work. What do you mean by saying it did not work, exactly? I've done the same thing (independently) and it's kinda fixed my issue (logging in from different IPs causing logout).
Practice makes perfect.
|
Norio Nori
Ecoas Heavy Industries SAMURAI SOUL'd OUT
7
|
Posted - 2017.07.07 15:28:00 -
[87] - Quote
FlexiusVII wrote: What do you mean by saying it did not work, exactly? I've done the same thing (independently) and it's kinda fixed my issue (logging in from different IPs causing logout).
The consistency of sid and cookie values in sessions table became illegal. (An error occurs when trying to log out explicitly.)
In my environment, sessions table is periodically deleted by cron task. (cron.task.core.tidy_sessions)
In pure phpBB, even if the value of sessions table disappears, the value left in sessions_keys table and Auto login is possible using cookie_k and cookie_u left in the browser, but in SSO environment I felt that sessions table does not work well because there are additional columns.
However, since I am not familiar with programming, please let me know if there is a good idea! |
Haradil Rakknarok
Albertross Mining Corp. Off The Reservation.
1
|
Posted - 2017.07.09 22:30:38 -
[88] - Quote
I folow instruction step by step but if i login with admin he write: {"error":"invalid_request","error_description":"The callback URI doesn't match the value stored for this client"}
Is this a problem with eve develop url? |
Haradil Rakknarok
Albertross Mining Corp. Off The Reservation.
1
|
Posted - 2017.07.13 14:23:40 -
[89] - Quote
All says this tool is supported but no one help me. What is the ******* problem. Error: Invalid auth state. |
Norio Nori
Ecoas Heavy Industries SAMURAI SOUL'd OUT
7
|
Posted - 2017.07.15 09:04:06 -
[90] - Quote
Haradil Rakknarok wrote: OK i have clear this problem but next is after Login with admin char i get a error from phpbb; Error: Invalid auth state. and i cant log in
if something goes wrong and you locked yourself out, access your database and find the key auth_method in your phpbb_config table and change it from 'evesso' to 'db'.
and purge your phpBB cache https://www.phpbb.com/support/docs/en/3.0/kb/article/purging-the-phpbb-cache/
For now, you can log in with admin. |
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
24
|
Posted - 2017.07.19 14:39:34 -
[91] - Quote
Norio Nori wrote:FlexiusVII wrote: What do you mean by saying it did not work, exactly? I've done the same thing (independently) and it's kinda fixed my issue (logging in from different IPs causing logout).
The consistency of sid and cookie values in sessions table became illegal. (An error occurs when trying to log out explicitly.) In my environment, sessions table is periodically deleted by cron task. (cron.task.core.tidy_sessions) In pure phpBB, even if the value of sessions table disappears, the value left in sessions_keys table and Auto login is possible using cookie_k and cookie_u left in the browser, but in SSO environment I felt that sessions table does not work well because there are additional columns. However, since I am not familiar with programming, please let me know if there is a good idea!
Thanks that helped a lot, persistent logins are hopefully working in this version: https://bitbucket.org/snitchashor/php-ext-authevesso/get/490a9a6a8117.zip
please let me know. However after the session is cleared, you will have to authenticate for the admin login but within the board you should stay logged in. I'm pretending this is a security feature, but infact the admin state does not seem to be resored via cookie login since its part of the session and I guess theres nothing I can do about it.
|
Mapster Tacitus
Kriegsmarinewerft Goonswarm Federation
8
|
Posted - 2017.07.22 15:14:07 -
[92] - Quote
First of all: Thank you for this peace of software.
Installation and all went well. Teamspeak is an issue now. When does the Script apply the groups ? The Server Query login seems to work since it pulls the ts3 server groups correctly from the server and i can assign them to corps/alliances in the extension tab. With a fresh board user entering their unique id in their profile, the script seems to do nothing yet. |
Snitch Ashor
Black Rise Guerilla Forces The Bloc
25
|
Posted - 2017.07.22 19:32:31 -
[93] - Quote
Mapster Tacitus wrote:First of all: Thank you for this peace of software.
Installation and all went well. Teamspeak is an issue now. When does the Script apply the groups ? The Server Query login seems to work since it pulls the ts3 server groups correctly from the server and i can assign them to corps/alliances in the extension tab. With a fresh board user entering their unique id in their profile, the script seems to do nothing yet.
EDIT: i got one step further. once a user entered their unique ID and clicks send, HTTP Error 500, but the teamspeak server correctly assigns the group. after pushing F5 the profile site didnt saved the id in the field.
TS groups are assigned at two points, first when the user enters the ID and afterwards every time the cron job runs and the groups would change. Any chance you can get me an apache log of that 500 error? Will try to reproduce it anyway. |
Mapster Tacitus
Kriegsmarinewerft Goonswarm Federation
8
|
Posted - 2017.07.23 14:26:52 -
[94] - Quote
Sure
23.07.2017 16:08:36 [client 2003:c9:2300::] PHP Fatal error: Uncaught exception 'TeamSpeak3_Adapter_ServerQuery_Exception' with message 'duplicate entry' in /ext/snitch/authevesso/libraries/TeamSpeak3/Adapter/ServerQuery/Reply.php:319, referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] Stack trace:, referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] #0 /ext/snitch/authevesso/libraries/TeamSpeak3/Adapter/ServerQuery/Reply.php(91): TeamSpeak3_Adapter_ServerQuery_Reply->fetchError(Object(TeamSpeak3_Helper_String)), referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] #1 /ext/snitch/authevesso/libraries/TeamSpeak3/Adapter/ServerQuery.php(141): TeamSpeak3_Adapter_ServerQuery_Reply->__construct(Array, 'servergroupaddc...', Object(TeamSpeak3_Node_Host), true), referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] #2 /ext/snitch/authevesso/libraries/TeamSpeak3/Node/Abstract.php(73): TeamSpeak3_Adapter_ServerQuery->request('servergroupaddc...', true), referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] #3 /ext/snitch/authevesso/libraries/TeamSpeak3/Node/Server.php(90): TeamSpeak3_Node_Abstract->request('servergroupaddc...', true), referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] #4 /mnt/web307/b2/25/542347 in /ext/snitch/authevesso/libraries/TeamSpeak3/Adapter/ServerQuery/Reply.php on line 319, referer: /ucp.php?i=178
|
Snitch Ashor
Black Rise Guerilla Forces The Bloc
25
|
Posted - 2017.07.30 13:35:08 -
[95] - Quote
Mapster Tacitus wrote:Sure 23.07.2017 16:08:36 [client 2003:c9:2300::] PHP Fatal error: Uncaught exception 'TeamSpeak3_Adapter_ServerQuery_Exception' with message 'duplicate entry' in /ext/snitch/authevesso/libraries/TeamSpeak3/Adapter/ServerQuery/Reply.php:319, referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] Stack trace:, referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] #0 /ext/snitch/authevesso/libraries/TeamSpeak3/Adapter/ServerQuery/Reply.php(91): TeamSpeak3_Adapter_ServerQuery_Reply->fetchError(Object(TeamSpeak3_Helper_String)), referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] #1 /ext/snitch/authevesso/libraries/TeamSpeak3/Adapter/ServerQuery.php(141): TeamSpeak3_Adapter_ServerQuery_Reply->__construct(Array, 'servergroupaddc...', Object(TeamSpeak3_Node_Host), true), referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] #2 /ext/snitch/authevesso/libraries/TeamSpeak3/Node/Abstract.php(73): TeamSpeak3_Adapter_ServerQuery->request('servergroupaddc...', true), referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] #3 /ext/snitch/authevesso/libraries/TeamSpeak3/Node/Server.php(90): TeamSpeak3_Node_Abstract->request('servergroupaddc...', true), referer: /ucp.php?i=178 23.07.2017 16:08:36 [client 2003:c9:2300::] #4 /mnt/web307/b2/25/542347 in /ext/snitch/authevesso/libraries/TeamSpeak3/Adapter/ServerQuery/Reply.php on line 319, referer: /ucp.php?i=178
Does that user already have groups on your ts server? I'm wondering if the mod tries to add a user that already exists, even though on my server that does not seem to be a problem...
|
Veritas Totient
Tai-Chi Northern Coalition.
0
|
Posted - 2017.08.03 06:15:40 -
[96] - Quote
Hi, I have added more scopes in my forums. And I found that the cron task only checks the membership from ESIAPI which does not use the refresh token. Is that a good idea remove the member from the group as long as someone revokes his refresh token? |
FibberGlass
Russian Space Community Banderlogs Alliance
0
|
Posted - 2017.08.03 13:33:32 -
[97] - Quote
Tell me pls What is the problem?
{"error":"invalid_request","error_description":"The callback URI doesn't match the value stored for this client"}
my conf: http://imgur.com/a/5PnVV |
|
|
|
Pages: 1 2 3 4 :: [one page] |