MAMP server not working after OS Sierra update - wordpress

I recently updated to the latest version of macOS and can't get an old MAMP-dependent project I have to run. It was working fine right before I upgraded. I googled my way around thinking the upgrade might be something simple like the previous OS upgrade fix that required simply renaming the file but I couldn't fine anything.
Has anyone else had any MAMP issues with the latest macOS update or what are some common local environment fixes to look into after an OS update?
apache_error_log:
[Sun Nov 27 17:40:12 2016] [notice] FastCGI: process manager initialized (pid 2517)
[Sun Nov 27 17:40:12 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 27 17:40:12 2016] [notice] Digest: done
[Sun Nov 27 17:40:13 2016] [notice] Apache/2.2.26 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.6 PHP/5.5.10 DAV/2 mod_ssl/2.2.26 OpenSSL/0.9.8zh mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Sun Nov 27 18:41:25 2016] [notice] caught SIGTERM, shutting down
[Sun Nov 27 18:41:34 2016] [notice] FastCGI: process manager initialized (pid 2928)
[Sun Nov 27 18:41:34 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 27 18:41:34 2016] [notice] Digest: done
[Sun Nov 27 18:41:35 2016] [notice] Apache/2.2.26 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.6 PHP/5.5.10 DAV/2 mod_ssl/2.2.26 OpenSSL/0.9.8zh mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations

I was also having trouble with MAMP after having upgraded the Mac operating system to the High Sierra. The Apache Server was not starting. My MAMP is an old version (version 1.9). To solve I just created a folder called logs inside the Library folder. Only that and MAMP returned to normal operation.
I found this solution by seeing in the logs folder. In the Apache log (apache_error_log) I saw that it was looking for the "logs" folder inside the "Library" folder, which did not exist. So just creating this folder solved.

Related

SoftException in Application.cpp:630: Could not execute script

I’ll try to keep this short :)
I have internal server error on my site that comes and goes and happens like twice a week for the past 4 months. This week it happens everyday like if I’m browsing 10 pages at least one will be 500 internal server error. I had many plugins and thought that they are causing it. I deactivated plugins and still have the error, I’m using Avada theme and switch to native theme and still have the error (when I test it by opening many pages). I’m using incognito window + using www.brokenlinkcheck.com and www.drlinkcheck.com.
Error:
Wed Feb 05 14:36:50.903810 2020] [:error] [pid 404293:tid
139773324543744] [client 38.128.66.10:0] SoftException in
Application.cpp:630: Could not execute script
“/home1/xxxxxxx/public_html/index.php”
[Wed Feb 05 14:36:50.013640 2020] [:error] [pid 404293:tid
139773692856064] [client 5.244.163.91:0] SoftException in
Application.cpp:630: Could not execute script
“/home1/xxxxxxx/public_html/index.php”, referer:
https://www.google.com/
[Wed Feb 05 14:36:49.740221 2020] [:error] [pid 404293:tid
139773681346304] [client 197.253.196.171:0] SoftException in
Application.cpp:630: Could not execute script
“/home1/hatitnet/public_html/index.php”, referer:
https://www.xxxxxxx.net/5280/
[Wed Feb 05 14:36:48.736710 2020] [:error] [pid 412638:tid
139774268344064] [client 37.43.228.175:57520] SoftException in
Application.cpp:630: Could not execute script
“/home1/xxxxxxx/public_html/index.php”, referer:
https://www.xxxxxxx.net/wp-admin/post.php?post=10231&action=edit
Actions taken to solve the issue:
1- deactivated all plugins
2- generated new htaccess file
3- change themes
4- re-installed WordPress fresh copy
And nothing has worked.

XAMPP / WP localhost loads one website fine, but Connection Reset on second

I am running the latest XAMPP and Wordpress on my Windows 10 machine, and everything has been working fine for more than a week. I run two websites under XAMPP/htdocs, web1 and web2. This morning Chrome said Connection Reset for web2.
localhost/dashboard loads the XAMPP page correctly.
localhost/web1 loads web1 correctly.
From this I conclude that XAMPP, Apache, WP, and MySql are all working correctly, for web1.
But for some reason Chrome and IE get Connection Reset errors on web2.
I can't log into the wp-admin screen on web2 either.
I've looked for solutions on the net, emptied browser caches, etc, and even did a 'netsh winsock reset' on the whole computer, but with no success.
I think it's something wrong with wordpress on website 2, because web1 works fine, right beside web2. Does anyone have any ideas on how to troubleshoot this? I may end up reinstalling wordpress and all my plugins, etc.
Here's my apache error log. Not sure if these errors are relevant, because they are in the log when everything was working fine, too.
[Sat Oct 29 09:11:23.875588 2016] [mpm_winnt:notice] [pid 2248:tid 528] AH00428: Parent: child process 16144 exited with status 255 -- Restarting.
[Sat Oct 29 09:11:24.084459 2016] [ssl:warn] [pid 2248:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 29 09:11:24.105497 2016] [mpm_winnt:notice] [pid 2248:tid 528] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24 configured -- resuming normal operations
[Sat Oct 29 09:11:24.105497 2016] [mpm_winnt:notice] [pid 2248:tid 528] AH00456: Apache Lounge VC11 Server built: Jul 7 2016 11:13:22
[Sat Oct 29 09:11:24.105497 2016] [core:notice] [pid 2248:tid 528] AH00094: Command line: 'C:\\Users\\jameson\\Documents\\xampp\\apache\\bin\\httpd.exe -d C:/Users/jameson/Documents/XAMPP/apache'
[Sat Oct 29 09:11:24.106499 2016] [mpm_winnt:notice] [pid 2248:tid 528] AH00418: Parent: Created child process 17048
[Sat Oct 29 09:11:24.477157 2016] [ssl:warn] [pid 17048:tid 500] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 29 09:11:24.563811 2016] [ssl:warn] [pid 17048:tid 500] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 29 09:11:24.585366 2016] [mpm_winnt:notice] [pid 17048:tid 500] AH00354: Child: Starting 150 worker threads.
[Sat Oct 29 09:11:25.869511 2016] [mpm_winnt:notice] [pid 2248:tid 528] AH00428: Parent: child process 17048 exited with status 255 -- Restarting.
I finally gave up, reinstalled wordpress, and imported an old backup of the site. I lost a tiny bit of work (my backup was recent), but in total it was far less work than trying to debug the failed site.
One of the biggest problems with a "Connection reset" error is that you can't easily interact with the site through a browser. Unless you know exactly what the problem is under the hood (I didn't know), and know exactly what system / wordpress files to change (I didn't know), debugging is impossible.
I'm answering this question and closing it so that others might benefit from my experience, and reinstall their own failed site before wasting too much time like I did.

Strange 500 error localhost WordPress install

Ok so this happened to me the other day and I was able to resolve it by reinstalling WordPress, my WordPress theme and all of its plugins (took forever)
It has now happened again so I need to get to the root of the issue.
I have a website running on my localhost (using MAMP)
When I visit localhost:8888/ I am able to access my entire file directory.
All other sites on my localhost are loading without issue, except for the site I need to access. I am getting a 500 error in the browser.
When I enable WP Debug it doesn't change from the 500 error in the browser.
I have not modified this site in any way to cause this issue, it literally just randomly bricks itself. The same thing happened before to the exact same site.
I have gone through a ton of guides and am completely lost at what is causing the issue.
Would really appreciate some help troubleshooting.
This is my latest error log from apache.
[Tue Jul 05 14:43:49 2016] [notice] caught SIGTERM, shutting down
[Tue Jul 05 14:43:52 2016] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 05 14:43:52 2016] [notice] Digest: done
[Tue Jul 05 14:43:52 2016] [notice] FastCGI: process manager initialized (pid 1372)
[Tue Jul 05 14:43:52 2016] [notice] Apache/2.2.29 (Unix) mod_wsgi/3.4 Python/2.7.8 PHP/5.5.23 mod_ssl/2.2.29 OpenSSL/0.9.8zh DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.8 Perl/v5.20.0 configured -- resuming normal operations
[Tue Jul 05 14:44:05 2016] [notice] caught SIGTERM, shutting down
[Tue Jul 05 14:44:07 2016] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 05 14:44:07 2016] [notice] Digest: done
[Tue Jul 05 14:44:07 2016] [notice] FastCGI: process manager initialized (pid 1414)
[Tue Jul 05 14:44:07 2016] [notice] Apache/2.2.29 (Unix) mod_wsgi/3.4 Python/2.7.8 PHP/5.6.7 mod_ssl/2.2.29 OpenSSL/0.9.8zh DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.8 Perl/v5.20.0 configured -- resuming normal operations
[Tue Jul 05 16:48:35 2016] [error] [client ::1] client denied by server configuration: /Users/brettgolding/Google Drive/htdocs/.DS_Store

500 Internal server error in wp admin ,at update & plugin (Wordpress)

I'm having Internal server error in some sessions(parts) after I login in wp dashboard.
Issues are in wp-admin/plugins.php and some few other places where is relating with any plugins.
I have checked .htaccess, memory limit to my server and in wp file is ok, I have deactivated all the plugins, changed themes, updated WordPress and still have the same issue.
I have check the error log and this is what it shows:
[Thu Jun 09 12:22:25 2016] [error] [client 217.73.141.38] Premature end of script headers: update-core.php, referer: http://www.salus.al/wp-admin/
[Thu Jun 09 12:22:29 2016] [warn] [client 217.73.141.38] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://www.salus.al/wp-admin/
[Thu Jun 09 12:22:29 2016] [error] [client 217.73.141.38] Premature end of script headers: plugins.php, referer: http://www.salus.al/wp-admin/
[Thu Jun 09 12:22:32 2016] [warn] [client 217.73.141.38] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://www.salus.al/wp-admin/
Remove or rename your plugins folder and see if the problem goes away. If it does, then add each plugin one at a time to see which one produces the error. Perhaps clear all cache, cookies, etc as well.

How to solve exit signal Segmentation fault (11)

After I migrated wordpress from a shared host to my own VPS I got the unpleasant surprise that half of the back-end pages on my websites rendered a No data receive ERR_EMPTY_RESPONSE.
Determined to find out what caused the problem I started troubleshooting. 7 of my 8 websites were affected, all running wordpress 4.1.5. Upgrading to 4.2.2 did not fix the problem.
The only unaffected website is an old website running on wordpress 3.3.1. Upgrading this website to run 4.2.2 results in the same errors. When I try to do a fresh wordpress install the same error pops up after step one (both when installing 4.2.2 and 3.3.1).
The 7 sites are running on 4 different themes, and I tried dis-enabling all plugins, still no luck.
I had a look at the error logs, I will copy a fragment here since they might provide some useful info. I've been googling all these lines but can't find the solution yet.
[Sun Jun 21 10:22:41 2015] [notice] caught SIGTERM, shutting down
[Sun Jun 21 10:22:42 2015] [notice] SSL FIPS mode disabled
[Sun Jun 21 10:22:42 2015] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun Jun 21 10:22:42 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 21 10:22:43 2015] [notice] SSL FIPS mode disabled
[Sun Jun 21 10:22:43 2015] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun Jun 21 10:22:43 2015] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips DAV/2 PHP/5.2.17 configured -- resuming normal operations
[Sun Jun 21 10:22:59 2015] [notice] child pid 3943 exit signal Segmentation fault (11)
[Sun Jun 21 10:23:00 2015] [notice] child pid 3944 exit signal Segmentation fault (11)
[Sun Jun 21 10:23:02 2015] [notice] child pid 3945 exit signal Segmentation fault (11)
[Sun Jun 21 10:23:03 2015] [notice] child pid 3942 exit signal Segmentation fault (11)
[Sun Jun 21 10:23:04 2015] [notice] child pid 4080 exit signal Segmentation fault (11)
[Sun Jun 21 10:23:05 2015] [notice] child pid 3946 exit signal Segmentation fault (11)
[Sun Jun 21 10:23:06 2015] [notice] child pid 4083 exit signal Segmentation fault (11)
[Sun Jun 21 10:23:07 2015] [notice] child pid 4082 exit signal Segmentation fault (11)

Resources