My website is down

Website URL

https://benjoapp.se/

Error Message

Hi, My website is down. What should I do?
I removed all my files in the control panel and again uploaded them, but the problem was not resolved.

This page isn’t working

benjoapp.se is currently unable to handle this request.

HTTP ERROR 500

This is what I see when I visit your website:

Warning: require(/home/vol7_7/epizy.com/epiz_32952656/benjoapp.se/htdocs/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php): Failed to open stream: No such file or directory in /home/vol7_7/epizy.com/epiz_32952656/benjoapp.se/htdocs/vendor/composer/autoload_real.php on line 71

Fatal error: Uncaught Error: Failed opening required '/home/vol7_7/epizy.com/epiz_32952656/benjoapp.se/htdocs/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php' (include_path='.:/usr/share/pear/') in /home/vol7_7/epizy.com/epiz_32952656/benjoapp.se/htdocs/vendor/composer/autoload_real.php:71 Stack trace: #0 /home/vol7_7/epizy.com/epiz_32952656/benjoapp.se/htdocs/vendor/composer/autoload_real.php(61): composerRequire94c9e759167e9fc799a45ae4498720e7('0e6d7bf4a5811bf...', '/home/vol7_7/ep...') #1 /home/vol7_7/epizy.com/epiz_32952656/benjoapp.se/htdocs/vendor/autoload.php(7): ComposerAutoloaderInit94c9e759167e9fc799a45ae4498720e7::getLoader() #2 /home/vol7_7/epizy.com/epiz_32952656/benjoapp.se/htdocs/index.php(34): require('/home/vol7_7/ep...') #3 {main} thrown in /home/vol7_7/epizy.com/epiz_32952656/benjoapp.se/htdocs/vendor/composer/autoload_real.php on line 71

The file vendor/composer/../symfony/polyfill-mbstring/bootstrap.php seems to be missing.

5 Likes

I think this is not the issue. My code is the same code that I had as before. So nothing has changed, and I should see my website. Would you please help?

There’s only some laravel default page on your site now. But there’s no errors.

5 Likes

that doesnt look right

3 Likes

That’s more than just right, it’s so right that there’s nothing wrong with it.

Just because you see some funny system paths doesn’t mean it isn’t right.

6 Likes

my bad, i didnt think that would work on IF

4 Likes

It was my mistake. Now, I put my website files in the right way as before. But the problem is continued.

1 Like

Do you get the same error or is it a different error?

8 Likes

This is the error:

This page isn’t working

benjoapp.se is currently unable to handle this request.

HTTP ERROR 500

Please enable display errors in the control panel (under php config) and reload the page.

5 Likes

It is enabled. I see the same result

Laravel overrides the default error handling of PHP, so the display_errors option may not help. In those cases, you should be able to set APP_DEBUG=true in your .env file or in the config/app.php file, or just check the storage/logs directory.

If neither of those things work, things become a lot more complicated. I’ve seen Laravel sites crash before on free hosting with no errors. In those cases, I think the only option is to manually step through the code to see where it breaks, but that’s tricky with something as complicated as Laravel.

But if Laravel suppresses the server’s error handling, and then proceeds to not give you the errors, there is not much else you can do.

7 Likes

I checked them, and they have true values. As I understand I have Server error (5xx).

A 5xx error code does indeed mean it’s a “server error”, but “server” should be interpreted quite broadly.

In HTTP server code, any errors are either designated as client errors or server errors. And given that this is not your frontend code or the browser doing something silly, it must be on the server side.

It means the problem happened on the server, it is not necessarily caused by the server configuration. Since your PHP code also runs on the server, any error caused there is considered a server error.

In that case:

7 Likes

maybe it would be possible to temporarily comment out the lines that alter the error handling to see whats going on ?

5 Likes

That’s a great idea! Never thought of that option.

Looking at the Laravel source code, that line seems to be configured in the framework here:

You could comment it out and rerun the site, but it seems that if you set the env setting in config/app.php to testing, it should also display errors.

8 Likes

I did all the processes, created a new host, and installed everything from the first step. But my website is down yet. Do you have any idea? Also, I see this error: “Connection to FTP server failed. Please try again later.”

Did you try what I suggested?

I’m not sure why you created a new account and reinstalled everything. Nothing you’ve shown so far suggests that there is a problem with your hosting account.

Where do you see this error? What are you doing that triggers it?

4 Likes