500 Error on wp-admin after upgrade
This happened with one of our individual installs and it’s happened before (but I forgot the solution) so I’m writing it down.
After the upgrade to 4.7.1, the front of the sight still worked but attempts to get to wp-admin failed with a 500 error and the URL was redirecting to something with upgrade.php? in the URL.
Change the name of the plugin folder (I just prepend an underscore).
Revisit your login URL.
Run the database upgrade as prompted.
You should now be in the admin zone.
Fix your plugin folder name.
Easy but also easy to forget.
Sometimes it’s the tiny, little bitty things. This is one of those times.Other times your post title is only mostly misleading. Issue: Lesley Bullock is an awesome ornithology instructor who has all her students doing field work and they’re aggregating their work to a main mother blog hub. She is even having them record and upload bird songs which is entirely awesome. The problem was that when aggregated, the built in WordPress player wouldn’t show up. Oddly, it’s there in the code. I could see it there taunting me (below). However, the visibility was set to hidden. Once I realized the content was coming in, I tried the least invasive response- that is I just tried to override the CSS using the custom CSS option in Jetpack. No dice. Given that this is hardcoded into the post at the element level that wasn’t a huge surprise but it was worth a shot.Oddly enough if you add an additional audio file or even repost the original everything works as expected. I have no idea why. I couldn’t find anything that flipped any switches and eventually gave up on that track. I considered a few other options- Feed WordPress advanced filters, altering the core WordPress files . . . and they either wouldn’t do what I wanted or they felt too dramatic […]
Here are a few plugins I’ve got in the WPMU install I’m running. Most, if not all, were a result of my sordid association with WPMU cult leader, Jim Groom. He’s likely posted on each multiple times but it’s hard to find them among all the old cartoons and toy posts- besides I had to make a list to send to our people so I figured I might as well post it. These are all installed in the mu-plugins folder. More Privacy Options This let’s users set up additional options in the privacy page for blog admins. You can make sure the blog is visible only to those logged into your WPMU site, only visible to members of the blog, or only visible to admins. User Themes Revisited This plugin gives individual blog admins the ability to tweak CSS or theme templates individually- the edit theme ability in single user. It’s a little awkward at first but really a key plugin for me. Essentially, you copy the theme over to the individual blog and then can edit it without changing things for everyone on the WPMU install. New Blog Defaults This plugin lets you customize how the new blogs are created. You can customize a lot of key elements and do things like putting the initial “Hello World” post in […]
creative commons licensed ( BY ) flickr photo shared by Steve Snodgrass In December I wrote a tiny shortcode plugin that would let you embed Google Folders in WordPress. It was mainly to get around the iframe embed issues in WordPress Multisite. This interaction seems to make a number of faculty members pretty happy. So tonight when I got a comment asking how you’d get the plugin to display a grid view instead of the list view I decided to take another look at things. The short answer is that you could not do that with the old plugin. Now that I’m pretending to write code and stuff I thought I might be able to fix that and it turned out to be fairly simple. While I was in there I also added the ability to manually set height and width parameters. The new plugin is here. It doesn’t like it when I run both on the same blog (I assume because of the shared shortcode name) so this demo required that I turn off the older plugin. To make the changes I followed the Codex advice on handling attributes. This stuff still feels like magic to me. I realize how little actual skill and knowledge I posses in the scheme of things but it is amazing fun to be […]