Zkb fetch error

Help and support in getting the EVE-Dev Killboard to run on your site.
raykai
Noob
Posts: 5
Joined: Sun May 19, 2019 16:34

Re: Zkb fetch error

Post by raykai » Mon May 20, 2019 18:54

sent ya a privet message.

FlashAM
Greenhorn
Posts: 11
Joined: Sat Feb 06, 2010 00:28

Re: Zkb fetch error

Post by FlashAM » Mon May 20, 2019 20:37

With this fix, I'm unable to get any kills at all, even skipped kills. Everything is 0.

0 kills were posted and 0 were skipped (0 kills fetched). Timestamp of last kill: 2019-05-07 08:00:00

I started with a timestamp of today at 0000 hours. It seems to keep backing up for some reason. Did I forget something?

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

Re: Zkb fetch error

Post by Salvoxia » Mon May 20, 2019 22:03

What is your fetch URL you're using?
I tried it with your corp (https://zkillboard.com/api/corporationID/285883631/ ?) and 2019-05-20 00:00:00 as last kill timestamp. It stayed at that timestamp and didn't fetch anything, as the last kills of this corporation happened yesterday.
When entering 2019-05-07 08:00:00 as last kill timestamp, it worked its way to today, posting kills on some days...

FlashAM
Greenhorn
Posts: 11
Joined: Sat Feb 06, 2010 00:28

Re: Zkb fetch error

Post by FlashAM » Mon May 20, 2019 22:27

I'm using my character ID as this is a page just for my character.

https://zkillboard.com/api/characterID/526356320/

I put the same date you had in there and again it came back with

ZKBApi: https://zkillboard.com/api/characterID/526356320/
0 kills were posted and 0 were skipped (0 kills fetched). Timestamp of last kill: 2019-05-16 20:00:00

And now the last timestamp is 2019-05-16 20:00:00

I hit fetch again, and it changed again.

ZKBApi: https://zkillboard.com/api/characterID/526356320/
0 kills were posted and 0 were skipped (0 kills fetched). Timestamp of last kill: 2019-05-13 16:00:00

FlashAM
Greenhorn
Posts: 11
Joined: Sat Feb 06, 2010 00:28

Re: Zkb fetch error

Post by FlashAM » Tue May 21, 2019 00:08

I finally got it to work. I had to set the time of last kill to tomorrows date 2019-05-21. After I did that it finally pulled the kills from the past weekend. zkb needs to stop changing their API! :lol:

FlashAM
Greenhorn
Posts: 11
Joined: Sat Feb 06, 2010 00:28

Re: Zkb fetch error

Post by FlashAM » Tue May 21, 2019 03:48

Well, looks as though I was wrong. I went to another computer and the data that was put in there is now gone. :o Unable to get it back.

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

Re: Zkb fetch error

Post by Salvoxia » Tue May 21, 2019 13:11

Hi,

strange things are happening.
I tested it again with your character's URL, but was still unable to reproduce.
If I set the current date and time as last kill timestamp, it would remain after fetching.
When setting 2019-05-16 20:00:00 it worked its way through today, posting kills along the way.

What exactly do you mean with
FlashAM wrote:
Tue May 21, 2019 03:48
I went to another computer and the data that was put in there is now gone.
?

And how exactly did you apply the fix? Did you replace the whole file, or manually edited it using the Github commit as source? If the latter, you might be missing changes from earlier hotfixes. So maybe it might be worth a try to apply all three hotfixes, in chronological order.

Best Regards,
Salvoxia

FlashAM
Greenhorn
Posts: 11
Joined: Sat Feb 06, 2010 00:28

Re: Zkb fetch error

Post by FlashAM » Tue May 21, 2019 13:43

I copied the entire file and replaced it.

There are some very strange things happening and I can duplicate them. Basically here's the flow. First I go into the admin panel and do a fetch, all the kills come up when I go to the home page.

Image

I then run the cron update script that shows no kills

https://imgur.com/gvu3FeF

Then when I exit my browser and go back to the killboard. The Sunday kills are gone. This is all on the same machine.

https://imgur.com/x7hBPTy

Not sure if this helps, but any other information you might need, just let me know.

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

Re: Zkb fetch error

Post by Salvoxia » Tue May 21, 2019 15:14

Well, that might be more a caching issue than anything else. Could you try disabling all caching in ACP -> Cache (especially the page cache at the top of the caching settings) and check if that changes anything?

FlashAM
Greenhorn
Posts: 11
Joined: Sat Feb 06, 2010 00:28

Re: Zkb fetch error

Post by FlashAM » Tue May 21, 2019 15:58

Looks like you might have been right. I wonder why I never ran into this before. But it looks like it's showing all the kills now! Thanks for the help. I'll let you know if I run into an problems when a new kill is posted.

Thanks again!

Flash

Post Reply

Return to “Support”

Who is online

Users browsing this forum: No registered users and 11 guests