Laravel installed, but connection is reset / No data received

前端 未结 5 1439
你的背包
你的背包 2021-01-18 16:07

I am using Digital Ocean as my server, I have a Ubuntu droplet running laravel fine on my site. But now I am making a \'projects backend\' where there is just a folder with

5条回答
  •  一向
    一向 (楼主)
    2021-01-18 16:36

    I was having the connection reset with Laravel 4.

    The problem was that I was using blade multiline comments in the views.

    {{-- 
    
      line 1
    
      line 2 
    
      ....
    
    --}}
    

    When I got rid of that comments the problem of the connection reset was solved.

    I'm using blade comments but single line.

    {{-- line1 --}
    

    And it's working fine.

提交回复
热议问题