lando / pantheon

The Official Lando Pantheon plugin.
https://docs.lando.dev/pantheon
GNU General Public License v3.0
11 stars 18 forks source link

500 Internal Server Error #182

Closed franciscojavierguardado101 closed 4 months ago

franciscojavierguardado101 commented 1 year ago

Hi, I am reaching out because I have come across a problem with Lando and localhost. I download everything right and lando has been working properly. This particular issue is related to a Drupal 10 site I created I have been practicing on. I was following a tutorial on how not to display the login and search field on the nabber menu. So I did just like that, and then I started lando and did lando start. And lando stopped working properly. Terminal gave me this: NAME masterz
LOCATION /Users/fguard01/Desktop/Masterz
SERVICES appserver_nginx, appserver, database, cache, edge_ssl, edge, index URLS
⚠ APPSERVER NGINX URLS ✖ https://localhost:51592 [500] - REQUEST FAILED WITH STATUS CODE 500 ✖ http://localhost:51593 [500] - REQUEST FAILED WITH STATUS CODE 500 ⚠ EDGE SSL URLS ✖ https://localhost:51595 [500] - REQUEST FAILED WITH STATUS CODE 500 ⚠ EDGE URLS ✖ http://localhost:51594 [500] - REQUEST FAILED WITH STATUS CODE 500 ✖ http://masterz.lndo.site:8000/ [500] - REQUEST FAILED WITH STATUS CODE … ✖ https://masterz.lndo.site/ [500] - REQUEST FAILED WITH STATUS CODE 500

If I use any of those urls I receive this:

500 Internal Server Error nginx

I have researched this error and some comments and YouTube videos mention settings.php but I am not sure what to do there since their settings is different than mine. And yes, I do follow the path. I undo the changes I did about login not being displayed but the problem persisted. I need to remark that I am on that course over 1 hour deep and before I did this particular change lando was working properly.

This is what I have in the settings.php file:

<?php

/**

/**

/**

/**

I would really appreciate it if you can help me. Anything, please let me know. Thanks

franciscojavierguardado101 commented 1 year ago

Hi, I solved this issue. So it all cam down to make more space to Docker. So, what I did was deleting info from a few other local lando projects I worked with in the past that I did not need anymore. After that, you need to use: lando drush cr That's it.

i-grou commented 6 months ago

I wonder why not to treat any response as a confirmation that app is started successfully?

ethangeorgi commented 4 months ago

Assuming this issue has been resolved by now, and closing. If the issue persists, please provide more information.