当我上传我的Laravel博客并尝试查看它时,我收到500错误(内部服务器错误).
我对laravel很新,所以我还没有很多经验.但我已经尝试了一些东西.我已经读过Laravel的根目标需要在/ public文件夹中.但是当我转到{domain}/public时,它无法解决问题.
当然,我将数据库配置从本地更改为服务器的配置.
我使用的服务器是否可能不支持Laravel,因为它不是默认的PHP?或者有人知道更容易解决?
我知道错误500可能是由不同的问题引起的.但是在localhost上运行正常.
这是我得到的错误日志:
[2016-09-09 22:41:38] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'Illuminate\Notifications\NotificationServiceProvider' not found' in /home/nieckki171/domains/nieckki171.171.axc.nl/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:146
Stack trace:
#0 {main}
[2016-09-09 22:41:39] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'Illuminate\Notifications\NotificationServiceProvider' not found' in /home/nieckki171/domains/nieckki171.171.axc.nl/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:146
Stack trace:
#0 {main}
[2016-09-09 22:41:47] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'Illuminate\Notifications\NotificationServiceProvider' not found' in /home/nieckki171/domains/nieckki171.171.axc.nl/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:146
Stack trace:
#0 {main}
Run Code Online (Sandbox Code Playgroud)
谢谢!