anvc / scalar

Born-digital, open source, media-rich scholarly publishing that’s as easy as blogging.
Other
231 stars 73 forks source link

Fix insert-problems on MySQL 5.6 #38

Closed burki closed 8 years ago

burki commented 8 years ago

Update CREATE TABLE statements with proper NULL-clauses and datetime-format in model-classes to be compatible with MySQL 5.6 settings (see #35, #36)

craigdietrich commented 8 years ago

Fantastic, thanks @burki!

A quick question, where does 'db_lang.php' come up? Have you been getting error messages about this file not being found?

burki commented 8 years ago

I've got an error message for that file not being found and copied it over from system/language/english/db_lang.php. But I'm not sure if an empty file would be more appropriate?!

craigdietrich commented 8 years ago

Well it seems harmless to me. I'm just not sure where CodeIgniter actually calls those error messages! In any event, all looks good!

craigdietrich commented 8 years ago

PS, related, I'm slowly working on getting Scalar up to speed with PHP7....