[MOD] Stats and SSO mod

Discuss/Upload mods to the EVE-Dev Killboard.
Bas
Apprentice
Posts: 65
Joined: Sun Apr 20, 2014 12:11
Location: Russia, Moscow
Contact:

Re: [MOD] Stats and SSO mod

Post by Bas » Thu Jan 12, 2017 12:31

Code: Select all

PHP Warning:  session_start(): Cannot send session cookie - headers already sent by (output started at /.../kb/cron/cron.base.php:72) in /.../kb/common/includes/class.session.php on line 47
PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /.../kb/cron/cron.base.php:72) in /.../kb/common/includes/class.session.php on line 47
PHP Warning:  session_regenerate_id(): Cannot regenerate session id - headers already sent in /.../kb/common/includes/class.session.php on line 48
If i disable the mod, all is ok.

User avatar
Salvoxia
Developer
Posts: 1515
Joined: Wed Feb 22, 2012 12:11

Re: [MOD] Stats and SSO mod

Post by Salvoxia » Fri Jan 13, 2017 12:25

Hi,

there's a fix for these warnings: https://github.com/evekb/evedev-kb/comm ... 5b5129500b

Best Regards,
Salvoxia

Bas
Apprentice
Posts: 65
Joined: Sun Apr 20, 2014 12:11
Location: Russia, Moscow
Contact:

Re: [MOD] Stats and SSO mod

Post by Bas » Fri Jan 13, 2017 16:06

Thank you.
I made changes.
Warnings are gone.

User avatar
Dism0
Active Author
Posts: 151
Joined: Fri Jul 06, 2012 01:42

Re: [MOD] Stats and SSO mod

Post by Dism0 » Mon Feb 27, 2017 09:42

apparently godaddy hosting only provides access to php 5.4 and they want you to use a more expensive hosting to use php 5.5. :(

User avatar
prometh
Advanced
Posts: 169
Joined: Thu Aug 09, 2012 19:25
Contact:

Re: [MOD] Stats and SSO mod

Post by prometh » Mon Feb 27, 2017 13:08

Dism0 wrote:
Mon Feb 27, 2017 09:42
apparently godaddy hosting only provides access to php 5.4 and they want you to use a more expensive hosting to use php 5.5. :(
Sorry about that. Sadly not only the code I wrote but also the libraries I use require 5.5+, I'm afraid theres not much I can do about it. Also given the last 5.4 release was in 2014 godaddy seems to be a little behind there...

User avatar
Dism0
Active Author
Posts: 151
Joined: Fri Jul 06, 2012 01:42

Re: [MOD] Stats and SSO mod

Post by Dism0 » Mon Feb 27, 2017 17:22

this mod may force me to upgrade to deluxe to get the option of 5.5+ 8-)


Image

User avatar
prometh
Advanced
Posts: 169
Joined: Thu Aug 09, 2012 19:25
Contact:

Re: [MOD] Stats and SSO mod

Post by prometh » Tue Feb 28, 2017 19:07

In that case I would rather look for a different provider. I have now idea about pricing or benefits of godaddy but capitalizing on peoples software version requirements sounds wrong. Given they should have an interest to upgrade as e.g. php 7 uses slightly less ressources compared to 5.x...


Image

User avatar
Dism0
Active Author
Posts: 151
Joined: Fri Jul 06, 2012 01:42

Re: [MOD] Stats and SSO mod

Post by Dism0 » Wed Apr 26, 2017 06:55

moved to a new provider.. installed and working. thanks!


Image

Edd Reynolds
Noob
Posts: 1
Joined: Thu May 11, 2017 21:18

Re: [MOD] Stats and SSO mod

Post by Edd Reynolds » Thu May 11, 2017 21:25

The variable used to set the form action url for submitting a comment conflicts with one used in edk core for updating the value of items in a kill-mail. It causes the site to try (and fail) to submit a comment when updating values. Can be fixed by renaming the variable in two places
init.php line 37

Code: Select all

$smarty->assign('ssoCmntFormURL', edkURI::page('sso_comment'));
and sso_comments.tlp line 32

Code: Select all

<form id="postform" method="post" action="{$ssoCmntFormURL}">

User avatar
Dism0
Active Author
Posts: 151
Joined: Fri Jul 06, 2012 01:42

Re: [MOD] Stats and SSO mod

Post by Dism0 » Wed May 09, 2018 04:13

broken.

Code: Select all

Fatal error: Uncaught League\OAuth2\Client\Provider\Exception\IdentityProviderException: CREST is no longer third party accessible. Please use ESI. in /homepages/30/d678292045/htdocs/kb/mods/statsmod/vendor/evelabs/oauth2-eveonline/src/Provider/EveOnline.php:94 Stack trace: #0 /homepages/30/d678292045/htdocs/kb/mods/statsmod/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(644): Evelabs\OAuth2\Client\Provider\EveOnline->checkResponse(Object(GuzzleHttp\Psr7\Response), Array) #1 /homepages/30/d678292045/htdocs/kb/mods/statsmod/sso_login.php(132): League\OAuth2\Client\Provider\AbstractProvider->getResponse(Object(GuzzleHttp\Psr7\Request)) #2 /homepages/30/d678292045/htdocs/kb/common/index.php(319): include('/homepages/30/d...') #3 /homepages/30/d678292045/htdocs/kb/index.php(25): include('/homepages/30/d...') #4 {main} thrown in /homepages/30/d678292045/htdocs/kb/mods/statsmod/vendor/evelabs/oauth2-eveonline/src/Provider/EveOnline.php on line 94


Image

Post Reply

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 10 guests