Well as the title says I had been getting an internal-server-error-500/ error when uploading files via WordPress. I also had these error in my other non-wordpress sites like my MediaWiki. I use ISPconfig to host everything so I went down a rabbit hole to fix this. I saw several guide / suggestions on the issue and no single guide worked for me so below is a list of the steps I took to fix the issue.
Its worth noting this was a combination of ISPconfig and PHP that was causing the error and thats why most of the single guides to fix it did not work for me.
As normal follow this at your own risk and it helps if you have linux experience to tailor these to fit your system.
1) First under ISPconfig I added the following settings in the custom PHP setting section of each website having issuesdisplay_errors = On
post_max_size = 50M
upload_max_filesize = 50M
2) ssh to your server and edit the php.ini file located in: /etc/php5/cgi
change the upload_max_filesize = 2M from 2M to 50M
also change post_max_size = 2M to 50M
exit and save file
3) Last edit fcgid config file
add the line MaxRequestLen 52428800
Save and exit
I added this line under FcgidConnectTimeout 20 this is what mine looks like
AddHandler fcgid-script .fcgi
4) restart server and wallah you can now upload any image that is 50mb or less!
In addition to the ShaneKarl.com website, I maintain the WY9U.com website. Until earlier tonight WY9U.com was WY9U.net. I am not going to get into WY9U and what that is. If you follow my post, you already know.
When I went to change the domain name of the WY9U.net to WY9U.com I had a fairly good idea of what to do, so I thought… I started by reading the how-to’s on the wordpress site, found here: http://codex.wordpress.org/Changing_The_Site_URL.
To keep from rehashing the entire post the gist was that all i need to do was log on to my admin console and go under Settings – General and change the field named “WordPress address (URL)” and “Site address (URL)” to my new domain name. The article goes on to say these are important settings, since they control where WordPress thinks your site is located. They control the display of the URL in the admin section of your page as well as the front end, and are used throughout the WordPress code.
Okay easy enough, so I thought. This was going great. After making the changes I open another browser and low and behold WY9U.com and it pops right up and my admin console is responsive to the new URL. Everything is great until I click one of the lines to another page on my site. As soon as i do that, POW, BANG, BOOM, e-r-r-o-r!!! It turns out the database did not update the reference to the new url for every page that was previously created.
I played with this for sometime and after a bit I found a very simple solution. In the admin console under Settings – Permalink’s, I change the link style from the current style to another (any other it did not matter which). This forced the database to update all of my URL’s and then I went back and change the Permalink selection back to my decided setting. Overall this was a small problem but something one of you may run into one day.
Its also worth noting if you have custom written or modified your theme, you may also need to change any hard coded links in the theme (but we all know better than to ever do that, right?)
I applied to the FCC for a new amateur radio call sign, WY9U. My application is still being process but I was told it will be granted! I have purchased the wy9u.net and wy9u.org domains and going forward all info about my ham radio usage/dealings will be on WY9U.net. I am working with the owner of WY9U.com and hope to soon be able to host WY9U.net on WY9U.com in the very near future.
Check the site out and I welcome constructive feedback! http://www.wy9u.net
I would like to start off by saying; this is not my typical type of post… A few days ago I opened my email and what do I find but a coupon for a free spaghetti dinner to Spaghetti Warehouse, for my birthday. As well as several other free dinner coupons…
Typically I am skeptical of such offers but tonight I decided to see. I arrived as I have done many times before, was immediately seated and greeted by a very friendly waitress, Jessica.
I presented Jessica with my free spaghetti dinner coupon and she explained I could order any spaghetti dinner I wanted, which I did. I ordered the Seafood Mediteraneo, which was Shrimp and clams chopped and tossed with a spicy cream sauce over pasta.
My food arrived quickly and was one of the best dishes I have had in sometime. After I ate they brought me an ice cream for my birthday, and whished me well.
Over all this was an above average experience with above average food for the amazing price off free!
I would like to take this time to thank both Spaghetti Warehouse and Jessica for a great evening.
Tonight went so well I am thinking over the next few days I will try some of the others, and keep you updated as to how they go!
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!