i am facing that error when am running may laravel (5.5.*) and php (5.6.4) project on 000webhostapp.com
here is screen shot of public_html/index.php also directory structure on left side of screenshot
here is .htaccess code
`
Options -MultiViews
RewriteEngine On
# Redirect Trailing Slashes…
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller…
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>`
teodor
August 26, 2018, 9:56am
#2
Hi! Check out this tutorial at FAQ section:
Deploying your Laravel Project to 000webhost
(Tested for Laravel 5.6)
Hi everyone! This tutorial will help you deploy your Laravel project into your 000webhost site in a professional manner. I am more good at writing code instead of writing articles, so lets get straight to the subject!
1. Uploading.
Before we start, your website must be ‘clean’. It must not contain a single file in it, that to prevent interface with Laravel. Please back up your current website content and databa…
after follow the tutorial Deploy Laravel Project into 000webhost site
am facing that error
This page isn’t working
usman1ranglerz is currently unable to handle this request.
HTTP ERROR 500
after php_flag display_errors on
Parse error: syntax error, unexpected ‘?’ in /storage/ssd1/307/6907307/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233
teodor
August 26, 2018, 1:48pm
#5
Read the FAQ again, dot 2:
I have deployed my project but I am still receiving Error 500/Something went wrong/Exception
. What should I do?
Please go to /config/app.php at debug vector and set the value to true. Now access the URL which is giving errors and start tracking the bugs.
after follow the tutorial Deploy Laravel Project into 000webhost site
am facing that error
Whoops, looks like something went wrong.
@teodor please check this
teodor
August 26, 2018, 1:46pm
#8
Check the FAQ section from that tutorial.