close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

type=date

Thread began 1/02/2016 7:31 am by Ron | Last modified 1/06/2016 11:32 am by Ray Borduin | 560 views | 2 replies |

Ron

type=date

Does the the Server Behaviors support type=date such as: <input name="addEquipmentLastOil" type="date" />?

I am getting this dump and cant find the error:

object(WA_MySQLi_Query)#5 (19) { ["Connection"]=> object(mysqli)#1 (18) { ["affected_rows"]=> int(-1) ["client_info"]=> string(78) "mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $" ["client_version"]=> int(50008) ["connect_errno"]=> int(0) ["connect_error"]=> NULL ["errno"]=> int(0) ["error"]=> string(0) "" ["field_count"]=> int(0) ["host_info"]=> string(25) "localhost:3306 via TCP/IP" ["info"]=> NULL ["insert_id"]=> int(0) ["server_info"]=> string(10) "5.6.22-log" ["server_version"]=> int(50622) ["stat"]=> string(133) "Uptime: 5629 Threads: 1 Questions: 183 Slow queries: 0 Opens: 73 Flush tables: 1 Open tables: 66 Queries per second avg: 0.032" ["sqlstate"]=> string(5) "00000" ["protocol_version"]=> int(10) ["thread_id"]=> int(31) ["warning_count"]=> int(0) } ["Statement"]=> string(78) "INSERT INTO equipment (equipmentEquipmentType_id, equipmentYear) VALUES (?, ?)" ["Action"]=> string(6) "insert" ["Table"]=> string(9) "equipment" ["Filter"]=> string(0) "" ["SaveAs"]=> string(0) "" ["ParamTypes"]=> array(2) { [0]=> string(1) "i" [1]=> string(1) "i" } ["ParamColumns"]=> array(2) { [0]=> array(2) { [0]=> string(25) "equipmentEquipmentType_id" [1]=> bool(false) } [1]=> array(2) { [0]=> string(13) "equipmentYear" [1]=> bool(false) } } ["ParamValues"]=> array(2) { [0]=> string(1) "1" [1]=> string(4) "2016" } ["FilterValues"]=> array(0) { } ["AffectedRows"]=> int(-1) ["InsertID"]=> int(0) ["NumRows"]=> int(0) ["ParamCount"]=> int(2) ["FieldCount"]=> int(0) ["Error"]=> string(49) "Field 'equipment_id' doesn't have a default value" ["ErrorNo"]=> int(1364) ["ID"]=> int(2) ["Debug"]=> bool(false) }


PS: I know that type=date is chrome specific but I am using my app in house until I can find a good (easy) date picker.

Sign in to reply to this post

Ray BorduinWebAssist

I don't see an error. This code should be updating the row with equipmentEquipmentType_id=1 and setting the equipmentYear = 2016...

However I do see that no rows are updated, but no errors. Is there a row with: equipmentEquipmentType_id=1

Sign in to reply to this post
Did this help? Tips are appreciated...

Ron

AI was not enabled. This is the second time this has happened to me...even after I scrub the db it happened. Weird

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...