Extended Live Archives
After upgrading to WordPress 2.6 from 2.5.1, when trying to view the admin/options page for the Extended Live Archives plugin I received a few errors. However, the plugin when accessed from my site, http://www.theglitch.ws/archives, is still working. I actually found the issue and had to edit one file. You can download the fixed file here. Just unzip the file and upload it to the following location;
/wp-content/plugins/af-extended-live-archive/
You will be replacing the af-extended-live-archive.php file with what’s within the zip file. Please leave me a comment if you did this & it fixed your issue.
UPDATE: 12/28/2008 – You can download the plugin here with all the patches already applied. I’m currently using this with WordPress 2.7.
| This entry was posted by Jason on July 15, 2008 at 4:09 pm, and is filed under Tech. Follow any responses to this post through RSS 2.0. Both comments and pings are currently closed. |








about 1 year ago
Yep ! thanks a million times, my friend !!!!
I was desperate to find a way having this great plugin working back again, and you did it !!!!
A very very big “THANK YOU”!
about 1 year ago
I’m glad that it worked for you. To be honest, I thought I would have seen more comments. I wonder if people stopped using Extended Live Archives due to it not working with WordPress 2.3 & not knowing how to “patch” the files. Which can be done here.
about 1 year ago
Hi Jason,
It worked for me on wp v2.6. BUT
My footer is jumping to the right. Could you help, How can I fix that issue?
Link to my archive: http://www.auctionwire.info/archive/
Thanks
- Raj
about 1 year ago
Can you post a screenshot of the footer? I went to your archive page and it looks fine to me.
about 1 year ago
I am not getting any entries on my archive page although I have nearly 700 of them. I think i may be misapplying the template tag.
There’s quite a bit of coding that came with the archive.php file for my theme and I have inserted
the tag
after some of the code.
Can you help me out here?
many thanks,
Sue
about 1 year ago
I have the following above the php get_header line within my archives.php file:
< ?php
/*
Template Name: Extended Live Archives
*/
?>
about 1 year ago
Thanks so much Jason! That brought me 90% there. I have the content now, but the top vertical line goes all the way to the right, pushing down the content of my right sidebar, and the “loading” text is where my search box, on the right, normally is. How do I constrain the width of the entire thing to present in the center column?
many thanks,
Sue
about 1 year ago
Where do you have the ELA line (below) within your archives.php file?
< ?php if (function_exists('af_ela_super_archive')) {af_ela_super_archive();} ?>
about 1 year ago
between the header and footer tags
about 1 year ago
Can you post a link to your archive page? If you want, could you send the archives.php file to me & I’ll take a look at it? You can send it to jashansen at gmail dot com.
about 1 year ago
Thank you, Jason! I’ve just emailed it!
Sue
about 1 year ago
I received the files & I added a div class. Let me know if that works.
about 1 year ago
Hi Jason,
It didn’t work, so I am letting it go. I can live with the slight anomaly as the presentation of the content is gorgeous. Many thanks for your help!
Sue
about 1 year ago
Sorry that it did not work. I know that’s what I had to do for my theme. Every theme is different though. You are very welcome!
about 1 year ago
Ya, I think people have abandoned ELA. It’s a shame though as there is no good alternative.
I tried to update and patch ELA, but it just shows me a blank page.
about 1 year ago
It is great to see that someone has updated the ELA so it will work with more recent versions of WordPress.
Good work. Now off to see if it will work on my pages…
about 1 year ago
Thanks for your effort patching up this wonderful plug-in. I think I followed all of your instructions, but am receiving a “Could not open cache file years.dat” even after having subbed out the new php file, activating the plug-in and emptying the cache.
Any ideas?
about 1 year ago
Did you patch the files mentioned here as well?
http://blog.tinyau.net/archives/2007/07/07/extended-live-archives-for-wordpress-23/
about 1 year ago
That did it, thanks so much! Awesome bit of code (patch work too).
about 1 year ago
Hi Jason, I replaced af-extended-live-archive.php with your copy, but I seem to get db errors when I try to view either the admin settings page or the archives page. These are the errors I get (tested on a local WP 2.6.2 install):
WordPress database error: [Table 'wordpress.wp_post2cat' doesn't exist]
SELECT DISTINCT YEAR(p.post_date) AS `year` FROM wp_posts p INNER JOIN wp_post2cat p2c ON (p.ID = p2c.post_id) WHERE p.post_date > 0 ORDER By p.post_date DESC
WordPress database error: [Table 'wordpress.wp_categories' doesn't exist]
SELECT cat_ID, cat_name, category_nicename, category_parent FROM wp_categories c WHERE c.cat_ID > 0 ORDER BY c.cat_ID asc
WordPress database error: [Table 'wordpress.wp_categories' doesn't exist]
SELECT c.cat_ID, COUNT(distinct p2c.post_id) AS cat_count FROM wp_categories c INNER JOIN wp_post2cat p2c ON (c.cat_ID = p2c.category_id) INNER JOIN wp_posts p ON (p.ID = p2c.post_id) WHERE p.post_status = ‘publish’ AND p.post_date_gmt < ‘2008-09-16 16:49:09′ GROUP BY p2c.category_id
Are there other changes I need to make in order for this to work? Many thanks in advance! (Feel free to email me directly in order to debug this.)