For the longest time, I’ve had a random image sitting in the right sidebar. It happily picks random images from my local gallery. Last night, I figured it was about time to play catch up on the Gallery2 install we had been using. After all, we were on 2.2.3, and they were up to 2.3.something. All was working well, gallery loaded, images were all showing, everybody was happy. Until I checked the front page of my blog.
1 2 3 4 5 6 7
I was presented a delightful error about Smarty templates being missing. Doing a quick search, the files were all still in place, and permissions were all still correct, but WPG2’s widget was not liking something about the update. Doing some searching, I stumbled upon a handful of people having similar issues back in 20081, but by several followups report it was fixing in 3.06 of WPG2. This sucks because I am on 3.07, so you’d think it would also be fixed there too.
Another post gave another hint as to a way to resolve the issue. One of the recommendations was to copy the files into the WPG2 directory, another was to create a symlink. This is easy to do:
As I was using this in a multi-site environment, I also added a symlink to the modules from the root of the local user gallery too…
I’d initially used full paths for the symlinks, but that appeared not to work, so I swapped it out for relative symlinks. A quick clear of WP-Supercache and WP-Widget Cache, and it appears to all be working now.
Told you I was out of date↩