Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 30, 201311 yr This is just a quick topic to mention that I often notice MySQL STRICT mode errors being reported. All IPS devs should switch their local servers to use it and that would avoid all reports about it, plus it's also better for coding too as you'll be sure you are always passing the proper data to MySQL without relying on MySQL having to "fix" it itself.
August 30, 201311 yr I usually run my localhost permanently in strict mode so I can catch these occurrences at QA...
August 30, 201311 yr Author I usually run my localhost permanently in strict mode so I can catch these occurrences at QA... To be picky, having the devs do it in the first place makes a beta version more stable too for QA. It's easier to catch those errors developing since you test much more extensively the new features while coding them :P
August 30, 201311 yr We agree, and this is already done with our 4.0 development. if ( IN_DEV ) { self::$multitons[ $identifier ]->query( "SET sql_mode=STRICT_ALL_TABLES" ); }
Archived
This topic is now archived and is closed to further replies.