dongzouh51192 2016-09-02 14:12
浏览 51
已采纳

laravel - 当我在服务器上更新文件时出现500错误,怎么可能? [关闭]

I really don't understand how it can be possible... The site angelescielo.com/candidatas was working... But I have this PHP (candidatas.blade.php... And as far as I understand the blade extension is from Laravel) ...

I updated its DOM (not even PHP code) to remove a text. But now it doesn't work anymore ... (I get a WSOD and debugging the only thing I see is a 500 error) And the only modification was to a span tag .

I've been trying to see the logs according to other posts I've seen around Internet and StackOverflow but I can't see the reason of the 500 error, I'm desperate and now I don't know where to start from.

  • 写回答

1条回答 默认 最新

  • dtgsl60240 2016-09-02 14:35
    关注

    This error is very often comes when you upload first time your website on server. In such cases changing permissions for folders helps.

    Try to use this commands in terminal

    sudo chmod 755 -R laravel_site
    chmod -R o+w laravel_site/storage
    

    laravel_site - is the laravel folder

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料