Learnerschool.rf.gd is currently unable to handle this request - Error 500

I try to host laravel website and this error occur,
folder structure is
htdocs - all public folder files and laravel folder
in laravel folder , all laravel files.
I made database credential as show by infinityfree.
but this learnerschool.rf.gd is currently unable to handle this request.

HTTP ERROR 500

error occur
how fix that

1 Like

Can you enable display_errors from cPanel so you can debug it?

2 Likes

how enable

Open the control panel and find “Alter PHP Config”. Check the “On” ratio button.

Please read this article as well for more tips:

2 Likes

found this error
Warning : require(/home/vol11_1/epizy.com/epiz_30917154/htdocs/laravel/vendor/autoload.php): failed to open stream: No such file or directory in /home/vol11_1/epizy.com/epiz_30917154/htdocs/index.php on line 34

Fatal error : require(): Failed opening required ‘/home/vol11_1/epizy.com/epiz_30917154/htdocs/laravel/vendor/autoload.php’ (include_path=‘.:/usr/share/pear/’) in /home/vol11_1/epizy.com/epiz_30917154/htdocs/index.php on line 34

my index.php is

if (file_exists($maintenance = __DIR__.'/laravel/storage/framework/maintenance.php')) {

require $maintenance;

}

/*

|--------------------------------------------------------------------------

| Register The Auto Loader

|--------------------------------------------------------------------------

|

| Composer provides a convenient, automatically generated class loader for

| this application. We just need to utilize it! We'll simply require it

| into the script here so we don't need to manually load our classes.

|

*/

require __DIR__.'/laravel/vendor/autoload.php';

/*

|--------------------------------------------------------------------------

| Run The Application

|--------------------------------------------------------------------------

|

| Once we have the application, we can handle the incoming request using

| the application's HTTP kernel. Then, we will send the response back

| to this client's browser, allowing them to enjoy our application.

|

*/

$app = require_once __DIR__.'/laravel/bootstrap/app.php';

$kernel = $app->make(Kernel::class);

$response = $kernel->handle(

$request = Request::capture()

)->send();

$kernel->terminate($request, $response);

I upload autoload file and this error happen
Warning : require(/home/vol11_1/epizy.com/epiz_30917154/htdocs/laravel/vendor/composer/…/aws/aws-sdk-php/src/functions.php): failed to open stream: No such file or directory in /home/vol11_1/epizy.com/epiz_30917154/htdocs/laravel/vendor/composer/autoload_real.php on line 71

Fatal error : require(): Failed opening required ‘/home/vol11_1/epizy.com/epiz_30917154/htdocs/laravel/vendor/composer/…/aws/aws-sdk-php/src/functions.php’ (include_path=‘.:/usr/share/pear/’) in /home/vol11_1/epizy.com/epiz_30917154/htdocs/laravel/vendor/composer/autoload_real.php on line 71

Those are just missing file errors. Make sure you have uploaded every file that is needed!

3 Likes

Please make sure to upload the ENTIRE laravel/vendor/ folder to your site. That folder contains all the Laravel framework code and it’s dependencies.

1 Like

still error 500 ,
I already upload all files.

display_errors also not show , only show server error 500

$app = require_once __DIR__.'/laravel/bootstrap/app.php';


require __DIR__.'/laravel/vendor/autoload.php';

if (file_exists($maintenance = __DIR__.'/laravel/storage/framework/maintenance.php')) {
    require $maintenance;
}

index.php is as above

now error is 403 error

I upload my laravel folders and set database .
aftert that click to domain.
403 forbidden error show.
what wrong .
I already enter by same browser, no ads blocker show.
suddenly show I have ads blocker .
How can fix it

i upload all laravel files in htdocs and my website link in env file is as follow
APP_URL=http://learnerschool.rf.gd/public

is it correct?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.