EDK 4.2.30.0 (YC-119.3 1.0)

EDK releases + Open discussion and chat about EDK.
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

EDK 4.2.30.0 (YC-119.3 1.0)

Post by Salvoxia »

\o guys,

EDK 4.2.30.0 (2017-03-26)

This release updates your database to YC-119.3

This release once again catches up with the current state of zKillboard's API, removing a now invalid API modifier so that zKBFetch is working properly.

With the March release, CCP added killmails for Mobile Warp Disruptors. These have now been added as a separate ship class. They will be hidden from kill lists together with Capsules, Shuttles and Noobships, if the appropriate option is enabled in the Admin Control Panel.

A bug in the theme files has been fixed, that prevented the system security status in kill lists to be displayed in the appropriate color. This is a theme-specific fix, so if you are using a theme that did not come with EDK, this fix will not apply for you. If you are using one of Vecati's themes: There is a new release for all his old themes that includes this fix as well.


Download:
Full Install Package 4.2.30.0: Download (MD5: 6C8323B5A3A47A753BB94E3643B84721)
Update 4.2.29.0 - 4.2.30.0: Download (MD5: 932696D8056D09445CB5E0E66347D61C)


Database only:
Download the standalone database update for of EDK4.2+ here: Download (MD5: 6C6131CD93E89544ED83DBCA5E2D4F58)



Release Notes:

List of new features
  • Updated EDK to 4.2.30.0 and CCP DB to YC-119-3 1.0.20170316
Enhancements:
  • Added Syndicate Mobile Warp Disruptors to correct ship class
Bugfixes:
  • ZKBFetch: Removed zKB API modifier "api-only"
  • Show system sec status colored in kill list tables

Installation Instructions:
Requirements
  • Webserver (e.g. Apache)
  • PHP 5.2+ (5.3.7+ recommended)
  • MySQL 5.0+
  • GD 2 or higher (default on most hosts)
  • PHP MySQLi extension (default on most hosts)
  • PHP XML extension (default on most hosts)
  • PHP openssl extension (default on most hosts, required for API use)
  • PHP Safe Mode off. (highly recommended)
New Installations
  • Upload the whole package to a webhost
  • Point your webbrowser to /install inside the EDK directory
  • Follow the instructions
  • Delete the install folder after installation
  • If no pilot images are displayed check that the server has write permission to the cache folder.
Manual upgrade
  • Backup the existing database and files
  • Remove or rename all files in the killboard folder other than [kbfolder]/kbconfig.php
  • Upload the new package to the killboard folder
  • Remove install folder
  • Move your mods back from the backup to the mods folder.


Update from 4.2.29.0:

Auto Updater
  • Backup the existing database and files
  • Enter the admin control panel
  • Select the option "Upgrade" from the menu on the right
  • If the code update to Version 4.2.29.0 doesn't show up in the list, select the link at the bottom saying "retrieve update description file now"
  • Click "Download"
  • Click "Apply"
  • Database update process starts, follow instructions
  • DONE \o/


Manual upgrade
  • Download the Update 4.2.29.0 - 4.2.30.0 (see above)
  • Backup the existing database and files
  • Upload the contents of the update package to your webhost
  • DONE


Known issues:


Regards,
Salvoxia
User avatar
Dism0
Active Author
Posts: 158
Joined: Fri Jul 06, 2012 01:42

Re: EDK 4.2.30.0 (YC-119.3 1.0)

Post by Dism0 »

i dont know if this is specific to 4.2.30 or not but i just noticed my lost ISK amount is not adding up based on the losses (mostly mine, rough April) we've incurred this month. link below. i've cleared the cache but that didnt fix the problem... not sure what else to do.

http://sltkcorp.com/kb/?a=home&view=losses&y=2017&m=04
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: EDK 4.2.30.0 (YC-119.3 1.0)

Post by Salvoxia »

Hi,

I'm pretty sure this has nothing to do with this release in particular.
The most obvious things I notices are the two Dread losses this month. These are not counted as losses, but as kills, because on each of the losses, one of your corp members was involved. It's not clear for the killboard how to count such kills.
But I'd be inclined to think these types of kills are more often real losses than they are real kills, which (I guess), you would agree with?

Best Regards,
Salvoxia
User avatar
Dism0
Active Author
Posts: 158
Joined: Fri Jul 06, 2012 01:42

Re: EDK 4.2.30.0 (YC-119.3 1.0)

Post by Dism0 »

definitely a loss. some ppl just like to whore on kills. loss is a loss is a loss. :)
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: EDK 4.2.30.0 (YC-119.3 1.0)

Post by Salvoxia »

Hi,

so I took a closer look at this.
Turns out this is a special problem with the summary table on the front page. The summary tables for individual entities are treating such kills as losses.
I fixed this for the front page nevertheless, see this commit (or simply replace your common/includes/class.killsummarytable.php file with the on currently at the head of the 4.0-dev branch): https://github.com/evekb/evedev-kb/comm ... 8ec231bb66

While tracing this problem, I noticed another bug. If you were to delete such a kill (victim and some attackers in the same corp/alliance), the kill count as well as the loss count would be decreased. This could be fixed by deleting the kill summary cache. Now, deleting such a kill only decreases the loss counter, as it should be. If you want that fix, too (before the next release), see this commit: https://github.com/evekb/evedev-kb/comm ... 03fb7045c2

Best Regards,
Salvoxia
User avatar
Dism0
Active Author
Posts: 158
Joined: Fri Jul 06, 2012 01:42

Re: EDK 4.2.30.0 (YC-119.3 1.0)

Post by Dism0 »

win win i suppose!
User avatar
Dism0
Active Author
Posts: 158
Joined: Fri Jul 06, 2012 01:42

Re: EDK 4.2.30.0 (YC-119.3 1.0)

Post by Dism0 »

is there any plan on making the killboard more compatible with PHP7 so i dont see things like...
DEPRECATED [8192] Methods with the same name as their class will not be constructors in a future version of PHP; PilotStats has a deprecated constructor
Error on line 2 in file /homepages/30/d678292045/htdocs/kb/mods/pilot_stats/class.pilotStats.php
PHP 7.0.18 (Linux), EDK 4.2.30.0 (YC-119-3 1.0)
i realize this example may be a mod, but overall EDK more compatible with php7?
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: EDK 4.2.30.0 (YC-119.3 1.0)

Post by Salvoxia »

Hi,

that should already have been taken care of (see https://github.com/evekb/evedev-kb/sear ... pe=Commits).
I did a quick re-check of a fresh EDK installation on PHP7 with error reporting set only to ignore NOTICEs. Did not encounter any problems.
If you find something within EDK core, please let me know, so it can be fixed.

Best Regards,
Salvoxia
User avatar
Dism0
Active Author
Posts: 158
Joined: Fri Jul 06, 2012 01:42

Re: EDK 4.2.30.0 (YC-119.3 1.0)

Post by Dism0 »

so its just a few of the mods that havent been updated quite yet. gotcha! thanks!
User avatar
edp
Someday Author
Posts: 95
Joined: Fri Sep 25, 2009 19:10

Re: EDK 4.2.30.0 (YC-119.3 1.0)

Post by edp »

Salvoxia wrote: Fri May 05, 2017 21:23 Hi,

that should already have been taken care of (see https://github.com/evekb/evedev-kb/sear ... pe=Commits).
I did a quick re-check of a fresh EDK installation on PHP7 with error reporting set only to ignore NOTICEs. Did not encounter any problems.
If you find something within EDK core, please let me know, so it can be fixed.

Best Regards,
Salvoxia
Unfortunately, After installing it from a fresh download from GitHub, and reaching the screen for step 8, once I click to visit the website, I get an error 500. All the logs seem blank (no errors recorded), so I'll try and set the logging level to debug, but at the moment with Fedora 26 (PHP 7.1.4 and Apache 2.4.25) it's broken. All other websites I run off of the server work fine. I'll try and track down more detail to help find the problem.

[update]

I get the same error with the core install.

[Sat May 20 12:23:43.147694 2017] [php7:error] [pid 47513] [client 24.125.68.195:62490] PHP Fatal error: Uncaught Error: Using $this when not in object context in /var/www/xxx.com/kb/common/xajax/xajax.php:47\nStack trace:\n#0 /var/www/xxx.com/kb/common/includes/class.event.php(71): edk_xajax::lateProcess('')\n#1 /var/www/xxx.com/kb/common/index.php(236): event::call('mods_initialise...', '')\n#2 /var/www/xxx.com/kb/index.php(25): include('/var/www/xxx.com...')\n#3 {main}\n thrown in /var/www/xxx.com/kb/common/xajax/xajax.php on line 47
Post Reply