Laravel gives 500 error

I have an laravel app working fine on my local machine. I have just transferred it to my server ( Shared hosting ) and put everything on public folder in. I had laravel project on share hosting, and my structure app is. In goDaddy they wont set RewriteBase so you have to give it in your. Make sure you have the Vendor folder uploaded in the server it can cause 500 ravel 5. 6 requirement should be installed in system. 3; OpenSSL PHP Extension; PDO PHP Extension; Mbstring PHP Extension; Tokenizer PHP Extension; XML PHP Extension; Ctype PHP Extension; sides the reasons listed above, there are other reasons for which laravel can give 500 internal server error. Including missing or old CSRF, syntax error,. htaccess miss configuration etc. There is a whole list covered here. Hi to everyone, I' m new here. I' ve set up a new app using laravel, that is working, but every time something is not working I' m getting a Blank page. As in comments up here; you' re missing the CSRF token in your request. Add the token to your Ajax POST: { gradeID: $ ( ' # GradeID' ).

  • Lua error example
  • Mysql system error 5 has occurred
  • Error package java time does not exist
  • Error code inet e resource not found chrome
  • Itunes sync error code 54

  • Video:Gives laravel error

    Gives laravel error

    val( ), " _ token" : " { { csrf_ token( ) } } " }. While this question exists for a while, but no accepted answer is given I' d like to point you towards the solution. Because you' re sending with ajax, and presumably still use the CSRF middleware, you need to provide an. rm - rf app/ storage/ logs/ laravel. logs chmod - R 777 app/ storage, php artisan cache : clear, php artisan composer. Besides the reasons listed above, there are other reasons for which laravel can give 500 internal server error. 下記のようにしてみてはいかがでしょうか。 ( resources配下にnewpage. phpが 作成されている事が前提です). return view( ) にする事と、 new pageではなくnewpage とスペースを無くしてみました。 return view( ' newpage' ) ;. May be stupid pointers, but no harm checking: Double check the namespace in respective files i. EventContract and EloquentEventRepository class files.

    Check if you have imported the namespace in the EventController if.