kaz Posted Friday at 07:45 AM Share Posted Friday at 07:45 AM I use MAM Pro on macOS. At the last launch I was notified of an upgrade from 7.1x to 7.2, which I confirmed. After the upgrade, when opening sites, also localhost, the following error message appears in the browser: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at you@example.com to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache/2.4.62 (Unix) mod_wsgi/5.0.1 Python/3.12 mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.1.1w Server at my-site.local Port 8891 I have contacted the support and got the following answer: "You may have to completely reinstall the app. https://support.mamp.info/knowledgebase.php?article=170" I have backed up the databases and hosts and reinstalled MAMP. I restored the database and created the hosts manually. So far, so good. Unfortunately, the error message remains almost identical for the hosts, only the port has been changed from 8891 to 8890: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at you@example.com to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache/2.4.62 (Unix) mod_wsgi/5.0.1 Python/3.10 mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.1.1w Server at my-site.local Port 8890 SSL certificates are included with all rights in the keychain administration. Perhaps Processwire cache? I have no idea where else to look. I have the original hosts outside of MAMP in the folder /sites/..., and also SQL backups from phpMyAdmin, – is there a possibility to restore single projects from it? PW reinstallation, importing of a database, ... is there a possibility to rebuild projects with these data? Link to comment Share on other sites More sharing options...
BitPoet Posted Friday at 09:17 AM Share Posted Friday at 09:17 AM MAMP Pro should allow you to enable screen output of errors for PHP when you're in expert view. That should give you a better idea of what's going wrong. Link to comment Share on other sites More sharing options...
monollonom Posted Friday at 09:19 AM Share Posted Friday at 09:19 AM 1 hour ago, kaz said: I have backed up the databases and hosts and reinstalled MAMP. I restored the database and created the hosts manually. So far, so good. Unfortunately, the error message remains almost identical for the hosts, only the port has been changed from 8891 to 8890: Is the issue still happening for localhost as well? Also, have you tried to create an empty MAMP project with just an index.html (or even a simple index.php) to rule out a MAMP issue? I did the update to 7.2 and didn’t have any issue. Link to comment Share on other sites More sharing options...
kaz Posted Friday at 02:14 PM Author Share Posted Friday at 02:14 PM @BitPoet In version 6 I had the view mode icons for switching, in 7 they are missing. It is also missing in the ver. 7 online help. mmhhh? @monollonom localhost works again, the installation was correct. // The new site was set up successfully. Link to comment Share on other sites More sharing options...
JayGee Posted Friday at 07:04 PM Share Posted Friday at 07:04 PM Is the issue with MAMP itself or your website? Can you dump out php errors? I’m using latest MAMP + ProcessWire without issue. Link to comment Share on other sites More sharing options...
kaz Posted Monday at 07:21 AM Author Share Posted Monday at 07:21 AM Is the port saved in projects (database or otherwise)? Perhaps it is due to the difference between port 8891 and the new 8890? If MAMP doesn't work for whatever reason, I need an alternative. Is it possible to restore projects from the “Database” and “Host data (local files)”? edit: yes, it works fine Link to comment Share on other sites More sharing options...
kaz Posted 23 hours ago Author Share Posted 23 hours ago The problem was the ports. If you have other than the standard ports, the existing hosts will no longer work after the upgrade to ver. 7.2, because 7.2 resets the ports to default. What to do? Note down your own ports to be able to change them back after the upgrade. What did I do? I have uninstalled everything to zero. Then I reinstalled ver. 7.1, created the hosts manually and imported the database via phpMyAdmin, updated the config files until everything worked fine. The ports are now standard, so I have again dared to upgrade to ver. 7.2. Successful, everything is running fine. I was unfortunately misled by PHP error messages ;) To summarize: Pay attention of your ports for major upgrades. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now