chrrtg / eve-skylizer Goto Github PK
View Code? Open in Web Editor NEWSkylizer is a tool for Eve Online to handle any kind of scans.
License: Apache License 2.0
Skylizer is a tool for Eve Online to handle any kind of scans.
License: Apache License 2.0
Hello!
It looks like certain parts of this code aren't compatible with PHP7.4 sadly. When doing a search for constellations and ore type we come across this error:
2020/05/27 01:17:25 [error] 369#369: *88927 FastCGI sent in stderr: "line 177PHP message: PHP Notice: Trying to access array offset on value of type float in /var/www/bleh/module/VposMoon/src/View/Helper/VposMoonHelper.php on line 177
The line in question being the third line in this function:
private function sortWorthForRenderMoonMateriallist($a, $b)
{
return $a["worth"] <= $b["worth"];
}
Would it be possible to get it updated for PHP7.4 compatibility to ensure it's good for the next 18-30 months?
The last few days Ive been trying to figure out why I cannot get any what seems to be "newer" corps to populate in the "owner" section of the tool. I have ran the following commands and they all run without error.
"/usr/bin/php ./bin/skylizer_console.php update:allycorp --ally"
"/usr/bin/php ./bin/skylizer_console.php update:allycorp --corp"
"/usr/bin/php ./bin/skylizer_console.php update:allycorp --corp --all"
I let the --all command run all night, and I did notice that it had listed hundreds of corp names, but at the end it said...
"0 Alliances and 2 corporations were updated"
When I woke up I cleared the cache, reboot the server and tried to search a corp that Ive been trying to add and still it is not populating the corporation.
I also went and tested this corporation on your public site and it also doesnt work.
The corporation in questions: "https://zkillboard.com/corporation/98583272/"
It is also not limited to just this corp. Ive tried to add numerous corporations and have yet to have the tool find a corporation I need to add.
Thanks for taking time out of your busy schedule. I really enjoy your tool.
It seems there is a cooky problem. If I log in on two different PCs one of them is getting on refresh the following error (if I delete all cookies from that page it is working again):
Zend\ServiceManager\Exception\ServiceNotCreatedException
Message:
Service with name "User\Service\EveSSOManager" could not be created. Reason: Session validation failed
File:
/var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-servicemanager/src/ServiceManager.php:771
StackTrace:
#0 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(200): Zend\ServiceManager\ServiceManager->doCreate('User\\Service\\Ev...')
#1 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/module/User/src/Module.php(57): Zend\ServiceManager\ServiceManager->get('User\\Service\\Ev...')
#2 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): User\Module->onDispatch(Object(Zend\Mvc\MvcEvent))
#3 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#4 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(106): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#5 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-mvc/src/DispatchListener.php(138): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#6 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#7 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#8 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-mvc/src/Application.php(332): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#9 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/public/index.php(40): Zend\Mvc\Application->run()
#10 {main}
Zend\Session\Exception\RuntimeException
Message:
Session validation failed
File:
/var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-session/src/SessionManager.php:162
StackTrace:
#0 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-session/src/AbstractContainer.php(83): Zend\Session\SessionManager->start()
#1 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/module/User/src/Service/Factory/EveSSOManagerFactory.php(18): Zend\Session\AbstractContainer->__construct('eve_sso', Object(Zend\Session\SessionManager))
#2 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(764): User\Service\Factory\EveSSOManagerFactory->__invoke(Object(Zend\ServiceManager\ServiceManager), 'User\\Service\\Ev...', NULL)
#3 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(200): Zend\ServiceManager\ServiceManager->doCreate('User\\Service\\Ev...')
#4 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/module/User/src/Module.php(57): Zend\ServiceManager\ServiceManager->get('User\\Service\\Ev...')
#5 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): User\Module->onDispatch(Object(Zend\Mvc\MvcEvent))
#6 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#7 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(106): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#8 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-mvc/src/DispatchListener.php(138): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#9 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#10 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#11 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/vendor/zendframework/zend-mvc/src/Application.php(332): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#12 /var/www/virtual/domain.tld/scan/htdocs/eve-skylizer/public/index.php(40): Zend\Mvc\Application->run()
#13 {main}
i have spent about 4 hours attempting to resolve this before posting for help
https://i.imgur.com/OVGUsq2.png
i get that whenever i go to login
what am i doing wrong
plz - halp
Hi there,
I tried to install it using your installation guide but after I successfully executed all steps I only get this error by trying to open the page. Can you help me please? The region about MyLogger was not touched by me.
Some information:
Fatal error: Uncaught Zend\ServiceManager\Exception\ServiceNotFoundException: Unable to resolve service "MyLogger" to a factory; are you certain you provided it during configuration? in /var/www/virtual/evepage.space/scan/htdocs/eve-skylizer/vendor/zendframework/zend-servicemanager/src/ServiceManager.php:681 Stack trace: #0 /var/www/virtual/evepage.space/scan/htdocs/eve-skylizer/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(757): Zend\ServiceManager\ServiceManager->getFactory('MyLogger') #1 /var/www/virtual/evepage.space/scan/htdocs/eve-skylizer/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(200): Zend\ServiceManager\ServiceManager->doCreate('MyLogger') #2 /var/www/virtual/evepage.space/scan/htdocs/eve-skylizer/module/User/src/Service/Factory/UserManagerFactory.php(24): Zend\ServiceManager\ServiceManager->get('MyLogger') #3 /var/www/virtual/evepage.space/scan/htdocs/eve-skylizer/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(758): User\Service\Factory\UserManagerFactory- in /var/www/virtual/evepage.space/scan/htdocs/eve-skylizer/vendor/zendframework/zend-servicemanager/src/ServiceManager.php on line 681
Just got Skylizer installed and running. Took awhile to get everything configured, but we're looking good. I see the front page and all's well there, however EVE SSO is not working. I get directed to the EVE Website to log in and when I log in there, I get this:
{"error":"invalid_request","error_description":"Some parameters are either missing or invalid"}
after done this 2 commands
cd ./ressource/db_import/
bunzip2 *.bz2
i see only a .mysql
file inside folder, so, this command not work
mysql skylizer -u root -p <./sl_full_dump_*.sql
This command do the job:
mysql skylizer -u root -p <./*.mysql
There is one folder which needs to be created whcih is not in your documentation. Maybe you can update it:
/data/storage/
Fresh install on Ubuntu 18 / nginx / PHP 7.4
Service with name "User\Service\EveSSOManager" could not be created. Reason: Session validation failed
File: /var/www/skylizer/vendor/zendframework/zend-servicemanager/src/ServiceManager.php:771
#0 /var/www/skylizer/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(200): Zend\ServiceManager\ServiceManager->doCreate() #1 /var/www/skylizer/module/User/src/Module.php(59): Zend\ServiceManager\ServiceManager->get() #2 /var/www/skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): User\Module->onDispatch() #3 /var/www/skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners() #4 /var/www/skylizer/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(104): Zend\EventManager\EventManager->triggerEventUntil() #5 /var/www/skylizer/vendor/zendframework/zend-mvc/src/DispatchListener.php(138): Zend\Mvc\Controller\AbstractController->dispatch() #6 /var/www/skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\DispatchListener->onDispatch() #7 /var/www/skylizer/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners() #8 /var/www/skylizer/vendor/zendframework/zend-mvc/src/Application.php(332): Zend\EventManager\EventManager->triggerEventUntil() #9 /var/www/skylizer/public/index.php(40): Zend\Mvc\Application->run() #10 {main}
Hello!
First off, thanks for this tool, it's great!
There is one feature I'd like implemented that I think would be great QOL. Could we have the option of searching by ore-type or a filter for r64/r32 etc (ideally both) just to make it a bit more flexible.
Thanks again in the meantime!
Would be nice to be able to use more than 1 option on the filters.
The idea being to evaluate the moon based completely by it's Moon Goo aspects & ignore the normal minerals in the calculation.
i'm a bit confused how the app gets its list of corporations, as i have hit quite a few corps that dont show in the DB when trying to add them to structure/moon owners and stuff
is there a way that i am missing to search for corps from ESI when adding associations?
Doing some scanning and i hit a system with 4 POS's all the same type with no name set.
i set the corp on the first one i hit, and location was good but for every other one i found it reset the location on the first one i found.
o7, I'm asking little help, after seupt everything, I'm trying to login, but after auth, I receive
Forbidden
You don't have permission to access this resource.
Apache/2.4.29 (Ubuntu) Server at blabla.org Port 80
I tried to reconfigure webserver, to check on logs, but seem to be nothing is logged. Could someone help?
Previous SSO issue fixed, however, the callback URL does not work:
Callback setting in local.php:
'clientId' => '',
'clientSecret' => '**********',
'redirectUri' => 'https://skylizer.thedoubled.org/auth/index',
Application settings:
APPLICATION SETTINGS:
Your applications authentication settings. The "Secret Key" should never be human-readable in your application.
Client ID: **************************************
Secret Key: ************************************************
Callback URL: https://skylizer.thedoubled.org/auth/index
Scopes:
publicData
esi-location.read_location.v1
After successfully logging in via SSO, callback returns this:
Not Found
The requested URL /index was not found on this server.
However, if I then go to https://skylizer.thedoubled.org I am logged in.
Hi,
I decided to fully map up the moons of my home system and the citadels of the "occupied" moons, however whenever I try to add the owning corporation of the athanor's nothing comes up to corp name, nor the corp tag (while it can perfectly find my own).
It's not even that they are really fresh corps as some has been close to 10 year old. 1 such example corporation for testing purposes would be "76RUS - YAR Group"
But clearing the skylizer and browser caches does not help
Hi, i'm trying to install this beatiful tool on DigitalOcean LAMP server (ubuntu 16.04 and a manually installed PHP 7.2) but after clone the project and enter inside the folder, the command php composer.phar install
not work for me, i always have Could not open input file: composer.phar
error.
I google a lot and try a lot of fix, but no one work, with some of them, i have this situation: https://pastebin.com/n0hN58eG
Please can you help me to fix that?
So I've enabled SSL on my site.
Now I'm left with an ESI call back.
I've change both the local.php and the Eve dev callback to
https://mysite.mydomain.com
Is there something to reload this to get the proper config or am I missing something?
{"error":"invalid_request","error_description":"The callback URI doesn't match the value stored for this client"}
Am trying to install composer on centos 7 VM but I get an error Could not open input file: composer-setup.php.
However before installing composer l wrote the script to compare the official hash against the one l downloaded, and it matched giving me the output message: 'installer verified'. but why do l get the error above. where is it coming from.
I just installed a fresh copy of skylizer, and everything seemed to be working good until I tried pasting in a scan result. In the UI it says that the scan was successful, however nothing is populated. I checked the apache2 logs to see if anything stood out and I found this.
PHP Notice: Undefined variable: scan_res in /var/www/eve-skylizer/module/VposMoon/src/Service/ScanManager.php on line 96, referer: http://skylizer._redacted_.com/vposmoon?system=30003023
Any assistance would be appreciated. @chrRtg
EDIT:
I went on your public site and tried to paste in the scan results and it also doesn't work.
Scan details below...
VKU-BG I - Moon 1
Bitumens 0.1754264236 45492 30000927 30000927 40059150
Flawless Arkonor 0.3133094311 46678 30000927 30000927 40059150
Opulent Pyroxeres 0.1710040569 46686 30000927 30000927 40059150
Sylvite 0.3402600884 45491 30000927 30000927 40059150
To make sure that I had the formatting correct, i tried another scan result from another system. This scan worked.
Gerper I - Moon 1
Bitumens 0.344790995121 45492 30003023 40191834 40191835
Dazzling Spodumain 0.220836445689 46688 30003023 40191834 40191835
Stable Veldspar 0.241074964404 46689 30003023 40191834 40191835
Zeolites 0.193297609687 45490 30003023 40191834 40191835
I also could not delete the scan results. Neither on my server which Im an administrator, nor on your public server.
Possibility of adding Intel functionality similar to Dscan.info IE Dscan of ships, Local scan & Fleet comp scan.
Kind of then a on stop shop for all scanning abilities. Also is it possible for use without logging in?
Eve online has deprecated the oauth/authorize endpoint used by this App. See https://developers.eveonline.com/blog/article/sso-endpoint-deprecations-2
I am trying to update prices, but I am getting a driver failure. and I cannot seem to find the issue on why.
/usr/bin/php ./bin/skylizer_console.php update:prices
Running skylizer price-update application
please wait, may take a while ...
In AbstractMySQLDriver.php line 106:
An exception occurred in driver: could not find driver
In PDOConnection.php line 31:
could not find driver
In PDOConnection.php line 27:
could not find driver
update:prices
-bash: ./bin/import-staticdata.sh: No such file or directory
This is the error I am getting when trying to import static data... I'm following your instructions. But they are very vague.
In /bin/
I have import-staticdata.sh
But it's not letting me import it because the dir doesn't exist... but it is there.
What could be causing this?
I was receiving an error that the callback uri did not match. Reading through previous issue #8 I had cleared the cache. This is what I was greeted with afterwards.
it would b really nice if i could use my already existing static data db
and would b cool if it didnt check for sql binary when importing -
so ends up that i had to clone this on my sql server just to get it to import a dump of static data that i already have....
we have the technology to do this better i think ;)
thank you for your time and work on this project
Please update all "http://imageserver.eveonline.com/*" links to use "https" instead of "http".
This avoids messages inside of browser if you host skylizer in an https environment (something like "parts of this page are not secure").
it is un-clear how the value of each moon is calculated
please explain :)
IDK if Im doing it wrong, but I have yet been able to delete moon data after its been imported. As of right now I cant correct errors without diving into the DB or just a complete wipe of the DB.
If i want to add a structure, the "Edit Structure" window pops up, i fill in the data and after saving the changes the structure is not listed.
Repeating the process doesn't change anything.
From nginx error.log:
2019/04/09 12:54:09 [error] 16866#16866: *8450 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: persist in /var/www/skylizer/module/VposMoon/src/Service/CosmicManager.php on line 310" while reading response header from upstream, client: THIS.IS.MY.IP, server: skylizer.MY.URL, request: "POST /vposmoon/editStructureJson/0 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "skylizer.MY.URL", referrer: "http://skylizer.MY.URL/vposmoon?system=30004703&filter_gooonly=1"
From skylizer atlog_*.log:
2019-04-09T12:54:09+02:00 DEBUG (7): editStructureAction() Array
(
[moonid] => 12345678
[structureid] =>
[struct_item_id] => 12345
[owning_corp] => 12345678
[struct_name] => Random Name
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.