我如何解决错误。我看到构建成功而没有错误。但我无法看到rails应用程序在链接上工作。
我在日志文件中看到这些行:
heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=myapp.herokuapp.com request_id=some_id_here fwd="47.247.8.241" dyno= connect= service= status=503 bytes= protocol=https
答案 0 :(得分:2)
function checkDate(){
var a = document.getElementById("startdatecontract").value;
var dates = a.split("-");
a = dates[1]+'/'+dates[0]+'/'+dates[2];
var d = new Date();
if((d.getMonth() + 1)<=9)
{
var today = '0'+(d.getMonth() + 1) + '/' + d.getDate() + '/' + d.getFullYear();
}
else
{
var today=(d.getMonth() + 1) + '/' + d.getDate() + '/' + d.getFullYear();
}
today=today.toString();
a = new Date(a).getTime();
today = new Date(today).getTime();
if (a < today)
{
$("#startdatecontract").val("");
alert("Availability date should not be past date.");
document.getElementById("startdatecontract").value = "";
}
}
如果不起作用,请使用
$ids = array(5,9,12);
$style_id= 2;
$this->db->where('style_id', $style_id)
$this->db->where_not_in('ID', $ids);
$this->db->delete('TABLE');
将为您提供应用崩溃原因的详细信息