Http error 500 please help! im using laravel, This is my site
Look again, there’s an error showing up
Hi there,
I just changed to php version 5.4 from 7.
Now this is the error:
Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{’ or ‘$’ in /storage/ssd2/743/6249743/public_html/index.php on line 51
this is line 51:
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
can anyone help me, im new to 000webhost…
Hi @ocean_tammy!
Please follow this tutorial to successfully deploy your Laravel App into 000webhost site:
Hi teodor,
Thank you for your guide. It is really helpful!!
But i still have problem.
https://shoperecom.000webhostapp.com/
Can you tell why so? I really have no idea. I checked every files and database. It should be okay.
Can you take a zip of your working local copy and upload it to your public_html folder?
Yes i can and have done all the steps provided by @teodor.
but i still have a problem. What do you suggest i should do to fix it?
Have you uploaded the zip yet?
Yes i have just now. What’s next?
Sorry & the working local database?
Yes i just uploaded it in public_html folder…
Thank you so much!! but why does the link name changed? how do you changed it?
So I uploaded your archive, extracted, moved public into root and renamed public_html
Opened env and changed the database details to my newly created database where I imported your database file
Opened my site and it seems to work
I’ve uploaded this onto a Hostinger account and it seems to be working fine for some reason
I’m going to retry the process with a fresh 000webhost account and see if it works also…