Page 1 of 1
CLOSED: Unexpected token error (was JSON parse)
Posted: Wed Aug 20, 2014 10:39 am
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
Re: Unexpected token error (was JSON parse)
Posted: Wed Aug 20, 2014 10:41 am
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!
Re: Unexpected token error (was JSON parse)
Posted: Sat Oct 04, 2014 1:48 pm
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.
Re: Unexpected token error (was JSON parse)
Posted: Sat Oct 04, 2014 2:28 pm
by montecarlojoe
Me too - Rhu is probably tinkering to introduce shiny new features!
Re: Unexpected token error (was JSON parse)
Posted: Sat Oct 04, 2014 2:42 pm
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?
Re: Unexpected token error (was JSON parse)
Posted: Sat Oct 04, 2014 4:28 pm
by montecarlojoe
Yep - seems fine to me now