value “” is out of range. (10008)
Quite a few people have been getting this error (though not me, so far) and I am at a bit of a loss to explain it. There is no decent documentation on the feed from eBay so I fear there is no easy way to find out what is going on. At the moment I am inclined to blame eBay as I have seen the error happening with other plugins too (I think I happened on a phpBay site with the issue), but it could be some weird combination of the choice of keywords, category or even hosting server causing the problem - seems to happen consistently only to some people. It’s really annoying, of course, and I will make it a priority to find a workaround for this before adding any new bells and whistles to WordBay.
Posted on November 21st, 2008 by markowe
Filed under: Uncategorized
Here’s the source code that displays when I get this error:
http://snippets.dzone.com/posts/show/6643
Just had a look at it… Hmmm, very strange - eBay is definitely playing up, sending that tag. It’s very annoying - there is no documentation on eBay about this error: you can see the page that is SUPPOSED to have the documentation on http://developer.ebay.com/devzone/xml/docs/Support/ErrorMessages.htm#10008 but doesn’t actually mention it (as listed on this page: http://developer.ebay.com/devzone/xml/docs/Support/errorsByCall.html).
I am trying to get some answers more directly from eBay developers community and try and fix this asap.
This is a bit off topic but i was wondering about the categoy choice selection in admin panel. Is it possible to use category numbers instead of the current method?
I got the error tonight… but only after it had been working for while… It crashed right after I added the google analytics code to the bottom of my page. I removed that code and still got the error. Not sure if they’re related or not, but thought I would let you know…
[…] my head trying to figure out this “Value out of range 10008″ error, as mentioned here. But I can’t seem to reproduce the error on any of my sites, so could someone who is having […]
Hi, that’s an idea I had though about. I just wasn’t sure if people needed that much control over the categories since good choice of keywords should usually bring up the desired results. But yes, I could do this fairly easily, just add a category number field that overrides the “main” category setting. Will look at doing that for the next version, thanks for the suggestion.
Nice!
The niche i’m in seems to be quite tricky getting the right keywords to pull in the right items across all my blogs pages. So category numbers would be best for me.
If i wanted to implement this now, what part of the code should i change? I looked at the code briefly but i’m still learning PHP. I don’t mind waiting till your next release, i just thought that it can’t be that hard to edit.
Cheers.
Yes, occurred to me to give you a quick fix - if you agree it’s at your own responsibility
Find the bit where the drop-down menu is defined, and pick a line, say:
<option value='20081' <?php if ($WBOptions['sacat'] == '20081') { _e('selected', 'WordBay'); }?>>Antiques</option>Change BOTH INSTANCES of the number “20081″ to the category of your choice, and if you want, change the category name “Antiques” to whatever you want, so you don’t forget. And that’s it! After that, just choose this option from the backend and you should be sorted.
Hope that works OK and I will see about adding this functionality next version, once I’ve got this &%^&*((* 10008 error out of the way.
Are you guys aware that the category numbers do not seem to be consistent between ebay sites.
ebay.com category numbers: http://snipurl.com/72m7a
ebay.co.uk category numbers: http://snipurl.com/72m7x
So on the US site Antiques is #20081 but on the UK site Antiques is #353
Will using category numbers not mess up geotargetting?
That’s a very good point! Huh? Never realised that - eek!
That might explain some of the errors we are getting! Not even the NAMES are the same with some of them! On US you have Computers and Networking, while on UK you have Computing.
Eek, that changes things somewhat - I will have to put out a new version sharpish that overrides categories when using geotargetting. Can’t believe this has just come to light…!
[…] I believe I have eliminated the Value “” out of range (10008) error as reported here. It seems the problem was with the geotargetting occasionally throwing up a blank or unknown […]