0

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 www.xyz.com/phpinfo.php, 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: https://www.google.co.in/
File does not exist: /home/kkb/public_html/404.shtml, referer: https://www.google.co.in/
File does not exist: /home/kkb/public_html/404.shtml, referer: http://www.example.com/contact_us.php
File does not exist: /home/kkb/public_html/favicon.ico, referer: http://www.example.com/contact_us.php
File does not exist: /home/kkb/public_html/404.shtml, referer: https://www.google.co.in/

My cpanel folder structure for code

enter image description here

Mr. Tomar
  • 355
  • 3
  • 5
  • 22

0 Answers0