Deploy laravel project to InfinityFree - mysql

I uploaded my Laravel project to infinityfree.net, but get this error:
This page isn’t working right now sitename.epizy.com can't currently handle this request.
HTTP ERROR 500
How to fix this?

The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the web site's server but the server could not be more specific on what the exact problem is.
Retry the web page by clicking the refresh/reload button or trying the URL from the address bar again. Even though the 500 Internal Server Error is reporting a general error on the web site's servers and not your computer, the server error may only be temporary. Trying the page again will often be successful.
Come back later. The 500 Internal Server Error message is one of the most common error message seen when checking out during an online purchase so sales are often disrupted. This is usually a great incentive to resolve the issue very quickly.
3.Try Clearing your cache and browser history. It could be possible that the page you are seeing is a cached version, so after the cache is cleared it will go away.
You can check the error log button in cPanel under the logs section to see what errors are being given if you have cPanel hosting with us. Sometimes 500 errors can be due to syntax errors in a .htaccess file or other things you may be able to quickly fix yourself.

You need to "error mood" on in php config file(you can search it in cpanel).error mood off to error mood on to see error log.after you checked the error and solved it change error mood setting.(error mood on to error mood off).I hope this will help you a little.

Related

Deploying a .NET application to Google Cloud Platform worked on initial deploy, now getting 502 Error: Server Error

To give some background, I'm an (unpaid) intern, and I'm unrelated to dealing with this kind of stuff. My employers wanted to update some pictures, and they did locally but didn't know how to upload the new version to the server.
I used the publish settings that were saved in Visual Studio from when the previous intern deployed the server (he was specialized in web site stuff) and it worked on deploy ... then I refreshed the page and I'm getting 502 server error.
Steps I have taken:
Connect to the VM and restart it - didn't solve it. it's using Microsoft server 2016.
Open the VM trough RDP, check if there are errors. There were 3 services not running, and I start them manually. One still isn't running, Downloaded Maps Manager. Ok... I google it and it's not a necessary service so I disable it. Now there are no errors and all services are running but I still am getting this error.
I tried pinging the IP of the server, and the URL itself and it works.
I believe it might be something to do with the load balancer, but I had one HTML class and nothing dealing with actually publishing stuff. If you could point me in the right direction I would appreciate it. The only reason why I'm trying to fix this myself is that I didn't make some kind of backup, and I feel so stupid having taken the site down.
Edit: I've gone to "load balancing" and it says service unhealthy. I tried going to the IPs there and it brings me to the same 502 server error page. From what I've gathered this is a configuration error, it's impossible they messed something with the site itself, right? It did work that first time, and if I run it from Visual Studio it works on the local machine ...

CodeIgniter's error log doesn't seem to report all errors

I'm currently creating a web application through linux OS (debian), using php7, codeIgniter 3, Nginx and Mysql.
Few months ago, all my PHP errors used to be reported in the default nginx log error (located at : /var/log/nginx/)
But recently, I have configured CodeIgniter in purpose to report those errors inside the folder of my application.
It seemed to work, because I noticed that my current errors were repported in this new log file.
However, "some" errors don't seem to be reported. For example, I have a form in my web application, running aswell with Javascript (ajax use). Once I send the form, I can notice in my browser's console an Error 500 (internal server error). However, this error is not reported in my error log file ! (and I already checked in the former log file belonging to Nginx, there's nothing too)
What am I supposed to do ?
Thanks you.

Chrome error after hitting back to safety on the security page

So after i hit back when seeing the message on chrome saying that my connection isnt secure on a HTTPS
now i can not access this page on my network and can only access it on my vps... is there any way I can fix this i searched all over the web and im so blown cause now i can't access my own webpage..
PS: I have tried accessing the page on another computer on the same network and i get the same error message of ERR_CONNECTION_TIMED_OUT when ever i try to go to the page, and yes i have tryed connecting on another router and the page loads fine and is a live copy of the page. please help me
Your connection is not private
Attackers might be trying to steal your information from xxxxx.com (for example, passwords, messages, or credit cards).
Back to safety Hide advanced
This server could not prove that it is (website).com; its security certificate is from server1.(website).com. This may be caused by a misconfiguration or an attacker intercepting your connection.
Proceed to (website).com (unsafe)
NET::ERR_CERT_COMMON_NAME_INVALID

404 error for a file that is absolutely there

I am getting a 404 error for a file that is absolutely there.
It's at location domain.com/video/videoname.mp4. When I try to play it using Flash, it says video not found or access denied.
It keeps giving not found errors.
When I navigate to domain.com/video/, videoname.mp4 appears very clearly there. However, when I click it, it gives a 404 error.
Would this be a permissions issue?
It's a Windows server, which I'm less useful. There's also an IIS install, but it isn't used in the actual administration of this particular site.
My guess is a server setting or a permissions setting, but I'm trying to do a sanity check here.
You can setup the IIS server to run under a specific account one that doesn't have access issues. I would just make sure you create an application account to do this and don't put it on a user account. I know that there are IUSR accounts that are the default accounts that are used by IIS these default accounts might have the permission issues.
Another possibility is that the MIME type for the video is not setup properly. You could put a basic html file in this directory to test to see if the extension MIME mapping might be a problem.

Server Application Unavailable

I am using visual studio 2005. When I debug and reached at exception point. I got following error dialouge.
message screenshot
When I click No, I got following error page.
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
I also checked the eventvwr log and it says:
**aspnet_wp.exe (PID: 3584) stopped unexpectedly.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.**
Please help me.
I can't see your image (hotlinking to that site isn't allowed), but I'm guessing that when you hit "No", you're telling ASP.NET that you don't want to debug the exception, so it's letting it bubble up to the browser, which shows you the "Webserver unavailable" that you're seeing. If you debug your error, what do you get?
Also, please fix your image so we can see your dialog box.