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 * but I can't see the reason of the 500 error, I'm desperate and now I don't know where to start from.

我真的不明白它是如何可能的......网站angelescielo.com/candidatas正在运作。 ..但我有这个PHP(candidatas.blade.php ......据我所知,刀片扩展来自Laravel)...... p>

我更新了它的DOM(甚至没有 PHP代码)删除文本。 但现在它不再起作用......(我得到一个WSOD并调试我唯一看到的是500错误)并且唯一的修改是对span标记。 p>

I 根据我在互联网和*上看到的其他帖子,我一直试图查看日志,但我看不出500错误的原因,我很绝望,现在我不知道从哪里开始。 div>

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