It's a question.

Permalink Browser Info Environment
Hello.
I'm Japanese.
When I try to add it to the block.
mysqlt error: [-9999: Numeric field type "N" requires numeric value.] in DOQUOTE(, )

Type: Pre-Sale
Status: In Progress
mildcat01222
View Replies:
doodersrage replied on at Permalink Reply
doodersrage
Odd, which version of Concrete5 are you using?
dubl0dude replied on at Permalink Reply 1 Attachment
dubl0dude
I'm having this exact same problem with my site.

I'm using v5.6.3.3

Any ideas on what I can do to fix it?
doodersrage replied on at Permalink Reply
doodersrage
Looks like it's looking for a default numeric value for one of the fields.
The insert script should already check for this, but it appears to be
missing a field for some reason.
dubl0dude replied on at Permalink Reply 1 Attachment
dubl0dude
Attached is a screenshot of the database when I had Simple JW Player working on a previous version of Concrete5 when it worked. Two fields that immediately draw my eye are the fs_thumbs and advertising field because they have N values.

Any ideas on how to get a more detailed error message so we can pinpoint which DB field is not being filled in correctly?
doodersrage replied on at Permalink Reply
doodersrage
Which version of C5 are you running?
dubl0dude replied on at Permalink Reply
dubl0dude
Currently: v5.6.3.3
When the SS of the database was taken: v5.6.3.2

I have no issue implementing a fix to the file if you can help me pinpoint the error. I'm currently looking through Simple JWPlayer's form_setup_html.php for clues.
doodersrage replied on at Permalink Reply
doodersrage
Both fields are serialized array text values rather than numeric values as the error states. Not sure what is causing it at the moment. Looking at the code to see if anything stands out.
doodersrage replied on at Permalink Reply
doodersrage
The RTMP value did not enforce a default zero value on submission. Updated the code to correct this. Hope that solved it. I also updated the included JWPlayer library as well.
dubl0dude replied on at Permalink Reply
dubl0dude
Right on.

What's the easiest way to get a copy of your updated code? I just checked C5 and it isn't notifying me that the add-on needs an update.
doodersrage replied on at Permalink Reply
doodersrage
If you have a license assigned to the website it should automatically list
the update within the update page.
dubl0dude replied on at Permalink Reply
dubl0dude
I simply released and reassigned the add-on to my project and it popped up in the update panel.

I tested the new version and it fixed the error.

Thanks!
doodersrage replied on at Permalink Reply
doodersrage
Just applied a minor update that adds four new features.

autoplay, mute, loop playback, and disable controls options added
lordrobe replied on at Permalink Reply
lordrobe
I have the same error when adding a "Simple Testimonial".
doodersrage replied on at Permalink Reply
doodersrage
Are we even talking about the same add-on?
lordrobe replied on at Permalink Reply
lordrobe
No. But i had exactly the same problem with another addon. So i thaught it is a general C5 problem. But for now, i think i am wrong.

concrete5 Environment Information

Hello.
I'm Japanese.
When I try to add it to the block.
mysqlt error: [-9999: Numeric field type "N" requires numeric value.] in DOQUOTE(, )

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.