Closed GoogleCodeExporter closed 9 years ago
Getting the same error when importing a kill from feed syndication.
Original comment by patrick....@gmail.com
on 14 Jun 2012 at 5:32
As a (temporary) fix I changed
common/includes/class.item.php, line 145
from
if ($this->row_['itt_slot'] == 0) {
into
if ($this->row_['itt_slot'] == 0 && !empty($this->row_['typeID'])) {
and with that change it works.
Original comment by patrick....@gmail.com
on 14 Jun 2012 at 5:41
I tried this fix, but I still get the error.
Original comment by Nathanie...@gmail.com
on 14 Jun 2012 at 6:19
yep, i can verify this bug ...
Original comment by dma2...@t-online.de
on 4 Jul 2012 at 6:32
Attachments:
Workaround: set last kill to 2, then pull.
Original comment by customde...@gmail.com
on 14 Aug 2012 at 6:49
the error is caused by all the new items - EvE ID KB is extremely buggy,
receiving a (yet) unknown typeID via API will result in an empty $typeID - var
in cron_feed.php. This - in return - results in a faulty SQL-statement hence
stop the whole script.
There are no database-updates, i guess eve-is dead now.
I will work on a database-update which fixes this ... i will also refuse to
pull new KB-updates if they ever are created, this software has proven to be
extremely unstable and unreliable in the past ... i will fix all the errors in
our local version over time and thats about it.
Original comment by dma2...@t-online.de
on 1 Sep 2012 at 12:17
the solution was quite simple : delete kb3_invtypes, get your latest
EvE-DB-dump from here : http://evedump.icyone.net/, import it and create a view
in your killboard-database, named kb3_invtypes - the statement which does it :
select `EvE_static_dump`.`invTypes`.`typeID` AS
`typeID`,`EvE_static_dump`.`invTypes`.`groupID` AS
`groupID`,`EvE_static_dump`.`invTypes`.`typeName` AS
`typeName`,`EvE_static_dump`.`invTypes`.`description` AS `description`,(select
`EvE_static_dump`.`eveIcons`.`iconFile` from `EvE_static_dump`.`eveIcons` where
(`EvE_static_dump`.`eveIcons`.`iconID` =
`EvE_static_dump`.`invTypes`.`iconID`)) AS
`icon`,`EvE_static_dump`.`invTypes`.`mass` AS
`mass`,`EvE_static_dump`.`invTypes`.`volume` AS
`volume`,`EvE_static_dump`.`invTypes`.`capacity` AS
`capacity`,`EvE_static_dump`.`invTypes`.`portionSize` AS
`portionSize`,`EvE_static_dump`.`invTypes`.`raceID` AS
`raceID`,`EvE_static_dump`.`invTypes`.`basePrice` AS
`basePrice`,`EvE_static_dump`.`invTypes`.`marketGroupID` AS `marketGroupID`
from `EvE_static_dump`.`invTypes`
--> replace "EvE_static_dump" with the name of your imported eve-DB. Have fun.
Original comment by dma2...@t-online.de
on 1 Sep 2012 at 1:10
oh and you will need to keep your icons up to date, of course ...
http://wiki.eve-id.net/CCP_Image_Dump
or
http://community.eveonline.com/community/toolkit.asp
Original comment by dma2...@t-online.de
on 1 Sep 2012 at 1:12
Hi, i have just had the exact same error. Managed to import the DB dump over
the existing database but when i try running the statement it says there is a
syntax error. Any idea?
Original comment by stumarkt...@googlemail.com
on 7 Oct 2012 at 9:31
mnost certainly there is a typo in your statement.
Original comment by dma2...@t-online.de
on 7 Oct 2012 at 9:34
Can you identify what the typo is? I don't see it.
Original comment by vladinator
on 7 Oct 2012 at 9:50
who are you talking to?
Original comment by dma2...@t-online.de
on 7 Oct 2012 at 9:56
You...
Original comment by vladinator
on 7 Oct 2012 at 10:26
... and why are you acting like you're a different person? Furthermore : how
should i be able to debug an unknown statement? Are you confused of some sort?
Original comment by dma2...@t-online.de
on 7 Oct 2012 at 10:27
#1, I am a different person.
#2, since you said there was an error, I thought you might have spotted it. :-)
Original comment by vladinator
on 7 Oct 2012 at 10:29
this does not answer either of my questions.
Original comment by dma2...@t-online.de
on 7 Oct 2012 at 10:42
and #1 doesnt make any sense, contextually ... you're definitely confused.
Original comment by dma2...@t-online.de
on 7 Oct 2012 at 10:43
Patrick fixed my issue.
Original comment by jmm...@gmail.com
on 22 Nov 2012 at 12:03
i had quite a refreshing shower just now.
Original comment by dma2...@t-online.de
on 22 Nov 2012 at 7:55
Original comment by idun@theexecutioners.org
on 16 Jan 2013 at 8:47
Thank you #7
that fixed my issue dont know why I did not think of that myself
Original comment by xia...@gmail.com
on 30 May 2013 at 9:51
Dont worry - its really counter-intuitive and a prime example of horrible
code-quality, it took me several days to discover it, you're certainly not
alone ... Most people will reinstall the whole KB instead, though
Original comment by dma2...@t-online.de
on 3 Jun 2013 at 1:59
Original issue reported on code.google.com by
Nathanie...@gmail.com
on 8 Jun 2012 at 10:32