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.
I’m trying to do a better job documenting how to do some of the things people ask me to do. I’m doing it anyway, might as well do the documentation and share the love. This was request to make a gallery page from/for a series of interviews on listening for a music appreciation course conducted by the wonderful Steve Ashby. This particular series was done in pages and, very helpfully, they were all child-pages of a particular parent-page which makes this really very easy.If they’d been posts instead of pages I could have done something very, very similar with list category posts plugin. If they weren’t organized by category or by parent-child relationship, I would have been sad. The page-list plugin will make this very easy.If you know it exists. I think it was one that Alan pointed out at sometime in the past. In any case, I can see the parameters for the shortcode here. We want all the child-pages and to show some sort of image. All we need to make that happen is this shortcode [pagelist_ext show_first_image=”1″] on the parent-page. Presto, we get what you see below (or at this link towards the bottom of the page). All in all, less than 10 minutes of work including writing this post.
Background I like Timeline JS. It’s a nice way to create multimedia timelines. I’d previously done some work that would take WordPress JSON API data and insert it into the Timeline JS view.A blog post on how that works is via Google Sheets is here. I also built another version using URL parameters and PHP but may not have written the blog post. In any case, a working example of that is here. It was nice for creating alternate and standardized views of blogs that might be useful for different reasons. It didn’t serve some other needs and while doing it through a generic URL was handy for many reasons it was odd in other scenarios. As a result I decided to make a new version as a plugin. If you don’t like reading stuff there’s a quick video of how it works below. Plugin Goals First, I wanted this to be a plugin rather than a theme. That adds a bit of complexity because you don’t have control of the whole scenario but it makes it much more portable and more likely to be used as it doesn’t require people to change themes or spin up an additional site. I wanted people to be able to use WordPress rather than a spreadsheet to create the content for Timeline JS. […]
We’re on our way to building an interesting knitting of sites for our Environmental Studies program. Imagine a tiered connection of syndication that moves from student portfolio sites at the base through courses in the middle and up to the program at the top. It’s a pyramid of aggregation where the metadata can be added at each level. I feel like I’ve sketched this out before but, if so, I can’t find it. It doesn’t hurt to do it again anyway. So this is the basic idea. Students can build the kind of portfolios they want rather than highly constrained artifices that focus more on serving the program. Now the visual design and structure can be what the student wants. The only thing that needs to be consistent is the categories and tags used to indicate how that piece of content fits into the program/course. As long as a post is associated with an assignmentIf assignments are aligned to competencies then you can simplify even that but it risks making some of that more opaque to the students. or competency then it can be pulled elsewhere for consistent display, association with a particular course, etc. At a basic level, this structure provides a pretty frictionless workflow to have assignments bubble up to the program-level that are great examples of the […]