lundi 30 janvier 2017

Laravel 5 : deployed on server in public_html give HTTP ERROR 500

I am using laravel 5, I just deployed the code in public_html on the server. When I call the URL it give me the below error

The www.xyz.com page isn’t working

www.xyz.com is currently unable to handle this request.
HTTP ERROR 500

I think this is not a server issue bcoz when I call the phpinfo file http://ift.tt/2jO6Dqp, its work.

I start debugging by echo exit, I found that the problem in bootstrap/app.php at 14 line

$app = new Illuminate\Foundation\Application(
    realpath(__DIR__.'/../')
);

Can anyone suggest me why this happening and how to solve this? Thanks

Add the cpanel error log

File does not exist: /home/kkb/public_html/404.shtml
File does not exist: /home/kkb/public_html/404.shtml, referer: http://ift.tt/Rvp0MX
File does not exist: /home/kkb/public_html/404.shtml, referer: http://ift.tt/Rvp0MX
File does not exist: /home/kkb/public_html/404.shtml, referer: http://ift.tt/2jPVsea
File does not exist: /home/kkb/public_html/favicon.ico, referer: http://ift.tt/2jPVsea
File does not exist: /home/kkb/public_html/404.shtml, referer: http://ift.tt/Rvp0MX

My cpanel folder structure for code

enter image description here



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jPTWc0
via IFTTT

Aucun commentaire:

Enregistrer un commentaire