CLOSED: Unexpected token error (was JSON parse)

Having Trouble using the Playing Card Database? Post it here!

Moderator: Playing Card DB Mod

User avatar
ecNate
Member
Member
Posts: 2099
Joined: Sat Mar 01, 2014 1:46 am
Collector: Yes
Player: Yes
Decks Owned: 400
Location: Wisconsin
Has thanked: 420 times
Been thanked: 440 times
Contact:

CLOSED: Unexpected token error (was JSON parse)

Unread post by ecNate »

This particular deck doesn't allow for images to be added. Workaround used (created a new entry), but you may want to investigate the root of this problem. Slavich first encountered and I also had the same issue, despite renaming image files, deck and analyzing for any special characters. However, I most recently am seeing a different error than the JSON error. Mine is now "SyntaxError: Unexpected token <"

http://playingcarddb.com/dbdeck.php?id=247

Image
User avatar
ecNate
Member
Member
Posts: 2099
Joined: Sat Mar 01, 2014 1:46 am
Collector: Yes
Player: Yes
Decks Owned: 400
Location: Wisconsin
Has thanked: 420 times
Been thanked: 440 times
Contact:

Re: Unexpected token error (was JSON parse)

Unread post by ecNate »

Apparently I was looking at the wrong entry and 2 users did have them added to their collections. Hopefully you both see this and can manually correct. Where's the smart delete feature? ;) Anyhow, I think making another change now would just confuse things so I'm leaving this as is.

[21:16] Slavich added Steampunk Pirates to their collection!
[20:11] Kdklown added Steampunk Pirates to their collection!
User avatar
dazzleguts
Moderator
Moderator
Posts: 1499
Joined: Mon Sep 24, 2012 4:32 pm
Collector: Yes
Player: Yes
White Whale: Das Kartenspiel Des Oberdeutsc
Decks Owned: 885
Has thanked: 210 times
Been thanked: 142 times

Re: Unexpected token error (was JSON parse)

Unread post by dazzleguts »

In accessing the dose and dead eyes Karnival decks I recieved this error:


Error: SELECT * FROM card_country_options WHERE ID=

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1


It isn't possible to upload any more images since the bottom of the listing isn't loading.

**edit
I tried a few others and it appears to be happening with all of them. :|
Worldwide Time Machine

"Cards from far off lands and bygone days!"
User avatar
montecarlojoe
Moderator
Moderator
Posts: 2529
Joined: Mon Jun 24, 2013 7:10 am
Collector: Yes
Player: Yes
White Whale: Avant Guard UL Gr - No17 Crown
Decks Owned: 690
Location: Portsmouth, England
Has thanked: 253 times
Been thanked: 268 times
Contact:

Re: Unexpected token error (was JSON parse)

Unread post by montecarlojoe »

Me too - Rhu is probably tinkering to introduce shiny new features!
rhu
Member
Member
Posts: 157
Joined: Thu Nov 22, 2012 12:52 pm
Has thanked: 11 times
Been thanked: 44 times

Re: Unexpected token error (was JSON parse)

Unread post by rhu »

Thanks for reporting! No shiny new feature today sadly :) I use a third party service for which ebay links to display, I should really sanitise the data better. I couldn't reproduce the issue, could someone check this is now working?
PlayingCardDB - we bag and tag playing cards
User avatar
montecarlojoe
Moderator
Moderator
Posts: 2529
Joined: Mon Jun 24, 2013 7:10 am
Collector: Yes
Player: Yes
White Whale: Avant Guard UL Gr - No17 Crown
Decks Owned: 690
Location: Portsmouth, England
Has thanked: 253 times
Been thanked: 268 times
Contact:

Re: Unexpected token error (was JSON parse)

Unread post by montecarlojoe »

Yep - seems fine to me now :)
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests