Laravel can't update data when using SQL Server database on Ubuntu

Posted 1 year ago by sonicitiskg

Hi guys,

I have a problem when deploying my application on ubuntu. I develop my apps on Windows, using XAMPP + Laravel 5.5 + SQL Server. When I deploy to ubuntu server, the application cannot do the update data. The error is "Data Missing". It caused by datetime format on SQL Server using milliseconds, (yyyy-mm-dd hh:ii:ss.000), but my application not produce that format (my apps produce yyyy-mm-dd hh:ii:ss).

I have been trying to edit .../HasAttributes.php & SqlGrammar.php but nothing helps.

Is anyone happened this things?


Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.