EDK 4.2.23.0 (YC-118-5 1.0)

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

EDK 4.2.23.0 (YC-118-5 1.0)

Post by Salvoxia » Wed Jun 15, 2016 15:49

\o guys,

EDK 4.2.23.0 (2016-06-15)

This release updates your database to YC-118-5 1.0.

CCP released an updated to CREST that is not backwards compatible. This EDK update incorporates the required changes to keep full functionality. The main functionality affected by this change
is fetching unknown item types from CREST. In addition, we fixed a bug in the fallback mechanism, that should make it possible to post kills, even if they contain unknown items that cannot (for whatever reason) be fetched from CREST.
These items will then be given a generic name (like "Unknown Type 100006"). If that item is made available in the database via an update, the name will automatically be corrected.

A new feature has been prepared in the code, but is not yet visible: Displaying daily summaries in kill list tables (requested by Dism0).
The kill list table now is able to calculate these stats, but they are not yet displayed in the table. Hopefully, that makes it into the next update!
However, a heads-up if you are using the Highligh Capitals mod:This change breaks compatibility whit that mod, and I advise you to disable it BEFORE updating or updating the mod to v1.3, available under the previously mentioned link!)

Last but not least the main classes for displaying the various pages have been given a little love, so that mods can now more easily access the information they need for modifying each page.


Download:
Full Install Package 4.2.23.0: Download (please check MD5: 468447846D61BDC648B93FB3DB458016)
Update 4.2.22.0 - 4.2.23.0: Download (please check MD5: 6ACA986536967C37E1B641303619DC8D)


Database only:
Download the standalone database update for of EDK4.2+ here: Download (please check MD5: D7DAD0AFB92A19ADC9CBDA11A31318E1)



Release Notes:

List of new features
  • Updated EDK to 4.2.23.0 and CCP DB to YC-118-5 1.0.20160531
  • Updated CREST endpoint for fetching item types
Enhancements:
  • Top scorers are no longer displayed on the front page if showing kill points is disabled in configuration
  • Added getter to page classes for better accessibility from mods
  • Added calculation of summary (kills, losses, efficiency) to KillListTable class
  • Added support for structure service slots to InventoryFlag class

List of Bugfixes
  • Fixed link for creating API keys in ACP
  • Fix: Fallback for unknown types if fetching from CREST fails
  • Fix: Support new Attribute Icon format when viewing item details

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.22.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.22.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.22.0 - 4.2.23.0 (see above)
  • Backup the existing database and files
  • Upload the contents of the update package to your webhost
  • DONE


Known issues:

Errors when fetching from zKillboard
Due to a workaround zKillboard employs for an error in CCP's CREST API, errors can occur when fetching from zKillboard.
A manual hotfix is available, files to update:

Regards,
Salvoxia

trix12345
Greenhorn
Posts: 16
Joined: Wed Oct 19, 2011 05:17

Re: EDK 4.2.23.0 (YC-118-5 1.0)

Post by trix12345 » Sat Jun 18, 2016 01:13

2.png
2.png (190.22 KiB) Viewed 5889 times
And these killmails didnt want to post, in addition, sometimes i got error: Attempt to add a corporation with no name. Aborting. in /home/www/common/includes/class.corporation.php on line 204
So, i prevented some killmails to post by the timeline.

Fix: Fallback for unknown types if fetching from CREST fails <--- seems its the same problem

User avatar
SnakeTheBest
Apprentice
Posts: 43
Joined: Tue Feb 02, 2010 00:30

Re: EDK 4.2.23.0 (YC-118-5 1.0)

Post by SnakeTheBest » Sat Jun 18, 2016 06:35

i got this error.

what should i do to fix that?

ERROR [256] Attempt to add a corporation with no name. Aborting.
Error on line 204 in file /home/breve/public_html/newkb/common/includes/class.corporation.php
PHP 5.2.17 (Linux), EDK 4.2.23.0 (YC-118-5 1.0)
File: /home/breve/public_html/newkb/common/includes/class.corporation.php, line: 204, function: trigger_error
File: /home/breve/public_html/newkb/common/includes/class.zkbfetch.php, line: 827, class: Corporation, function: add
File: /home/breve/public_html/newkb/common/includes/class.zkbfetch.php, line: 580, class: ZKBFetch, function: processInvolved
File: /home/breve/public_html/newkb/common/includes/class.zkbfetch.php, line: 416, class: ZKBFetch, function: processKill
File: /home/breve/public_html/newkb/common/admin/admin_zkbfetch.php, line: 180, class: ZKBFetch, function: processApi
File: /home/breve/public_html/newkb/common/admin/admin_zkbfetch.php, line: 124, function: getZKBApi
File: /home/breve/public_html/newkb/common/index.php, line: 323, function: include
File: /home/breve/public_html/newkb/index.php, line: 25, function: include

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

Re: EDK 4.2.23.0 (YC-118-5 1.0)

Post by Salvoxia » Sat Jun 18, 2016 09:13

Hi,

first some background information:
With that CREST update last week, CCP introduced an error in CREST making it impossible to fetch kills containing an entity with a Faction ID (= all FW kills). This error will be fixed next week.
Squizz from zKillboard introduced a workaround by not trying to fetch these kills from CREST, but converting the XML API Output to a CREST format output and parsing this.
Now it seems that this converter behaves differently from what CREST usually outputs in some situations.
One example: You might have seen kills with "Unknown" weapons used by some involved parties. If that kill comes from CREST, the information for a used weapon is missing completely. Coming from the XML to CREST converter, the used weapon gets an ID of 0.

That confuses the parser EDK uses.

I'll see what I can do about that.

But I have one question: Do you gusy have the option "Skip un-verifiable kills" checked or unchecked in ACP -> Configuration (API Section)?

Best Regards,
Salvoxia

skp
Greenhorn
Posts: 12
Joined: Mon Jun 13, 2016 10:56

Re: EDK 4.2.23.0 (YC-118-5 1.0)

Post by skp » Sat Jun 18, 2016 09:34

ERROR [256] Attempt to add a corporation with no name. Aborting.

I use Redisq with the Script you provide and have tried to fetch the missing Kills which I lost regarding the Crest Problem with the default way. Same issue, and I have "Skip un-verifiable kills" selected.

skp
Greenhorn
Posts: 12
Joined: Mon Jun 13, 2016 10:56

Re: EDK 4.2.23.0 (YC-118-5 1.0)

Post by skp » Sat Jun 18, 2016 09:48

For the records:

this is the output from redisq:

2016/06/17 08:24:04 - Starting zKB RedisQ Import
2016/06/17 08:24:05 - Error posting kill 54649211 (Error getting data: HTTP 500, URL: https://crest-tq.eveonline.com/killmail ... b548a819e/)
2016/06/17 08:24:05 - Time taken = 0.25290012359619 seconds.
2016/06/17 08:24:06 - Starting zKB RedisQ Import
2016/06/17 08:24:06 - Successfully posted kill 54649311


https://zkillboard.com/kill/54649211%20/
A "character" without corp who killed him btw.
Last edited by skp on Sat Jun 18, 2016 09:55, edited 2 times in total.

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

Re: EDK 4.2.23.0 (YC-118-5 1.0)

Post by Salvoxia » Sat Jun 18, 2016 09:52

Hi,

so I have a hotfix in place, which should help for all of you having "skip non-verifiable kills" enabled. It won't crash anymore but skip these mails as it's supposed to be. As soon as CCP has fixed the CREST issue (which is scheduled for next Tuesday, Jun 21st), simply reset your last kill timestamp in zKB fetch to Jun 16th and fetch all the missing kills.
A fix for not having that option enabled will take longer, and I don't recommend using this setting anyway ;)

Please do a manual patch by updating the following three files: Please let me know the results.

Best Regards,
Salvoxia

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

Re: EDK 4.2.23.0 (YC-118-5 1.0)

Post by Salvoxia » Sat Jun 18, 2016 09:53

skp wrote:
Sat Jun 18, 2016 09:48
For the records:

this is the output from redisq:

2016/06/17 08:24:04 - Starting zKB RedisQ Import
2016/06/17 08:24:05 - Error posting kill 54649211 (Error getting data: HTTP 500, URL: https://crest-tq.eveonline.com/killmail ... b548a819e/)
2016/06/17 08:24:05 - Time taken = 0.25290012359619 seconds.
2016/06/17 08:24:06 - Starting zKB RedisQ Import
2016/06/17 08:24:06 - Successfully posted kill 54649311
Yeah, that's the error at CCP's side I mentioned.

skp
Greenhorn
Posts: 12
Joined: Mon Jun 13, 2016 10:56

Re: EDK 4.2.23.0 (YC-118-5 1.0)

Post by skp » Sat Jun 18, 2016 10:24

new output with hotfix:

2016/06/18 08:15:40 - Starting zKB Import
2016/06/18 08:15:41 - ZKBApi: https://zkillboard.com/api/combined/cha ... 325691015/
2016/06/18 08:15:41 - 0 kills were posted and 7 were skipped (7 kills fetched)
2016/06/18 08:15:41 - Timestamp of last kill: 2016-06-17 22:20:35
2016/06/18 08:15:41 - Error getting data: HTTP 500, URL: https://crest-tq.eveonline.com/killmail ... c41b1a7d7/, KillID = 54606994

works as designed so far...

taram.caldar
Greenhorn
Posts: 15
Joined: Sun Apr 24, 2016 08:36

Re: EDK 4.2.23.0 (YC-118-5 1.0)

Post by taram.caldar » Sat Jun 18, 2016 14:09

Still getting this error after applying the fix. I think it's related but different:

Error message:

Code: Select all

Fatal error: Attempt to add a corporation with no name. Aborting. in /home/rbwhx10h/public_html/killboard/common/includes/class.corporation.php on line 204
Last edited by taram.caldar on Sat Jun 18, 2016 14:29, edited 1 time in total.

Post Reply

Return to “General Killboard Chat”

Who is online

Users browsing this forum: No registered users and 7 guests