Archive Links gets bug when I assign 2 or more categories on an entry. The archive link resets to December 1999 instead of June 2010.
All entries that has multiple category gets the archive link December 1999 instead of their post date.
Any Ideas guys? thanks in advance
[SOLVED] CGBlog 1.4 Archive Links not working
[SOLVED] CGBlog 1.4 Archive Links not working
Last edited by nurzki on Wed Jul 07, 2010 1:13 am, edited 1 time in total.
Re: [BUG] CGBlog 1.4 Archive Links not working
I have the same kind of problem. New blog articles or if I saved old articles were displayed in archive view under December 1999 and December 1999 archive link is also broken. However it seemed to have nothing to do with categories in my case. I was able to fix it when I took the look at the cms database. It contains cms_module_cblog table where all the broken cgblog articles has the start_time field as NULL. When I updated that field with the same date/time as cgblog_date field problem disappeared and the archive view was restored. This seems to be bug in CGBlog version 1.4.
Re: [BUG] CGBlog 1.4 Archive Links not working
There is an error in one of the files.
action.archive.php
////////////////////////////
On or around line 28, replace
with
action.archive.php
////////////////////////////
On or around line 28, replace
Code: Select all
unset($params['summarypage']);
Code: Select all
unset($paramsp['summarypage']);
Last edited by inyerface on Tue Jul 06, 2010 5:38 am, edited 1 time in total.
Re: [SOLVED] CGBlog 1.4 Archive Links not working
Thanks for the help it works well.
Re: [SOLVED] CGBlog 1.4 Archive Links not working
I had the same problem and the solution kinda worked. But if i edit a posted aticle it will jump inte the "December 1999" category. Any solutions for this?
-
- Forum Members
- Posts: 13
- Joined: Wed Jul 14, 2010 4:22 pm
Re: [SOLVED] CGBlog 1.4 Archive Links not working
Hi!
I'm fighting what seems to be the same issue. Although in my case I don't see december 1999 but all the posts go under July 2010. No matter how I edit them, archive view shows all the posts under July 2010. All the timestamps seem ok in both summary and detail views.
I also uninstalled, removed and deleted CGBlog 1.4 completely as well as CGSimpleSmarty and CGExtensions. Then I rolled back to versions that are currently working perfectly on one of my clients. No effect.
I'm fighting what seems to be the same issue. Although in my case I don't see december 1999 but all the posts go under July 2010. No matter how I edit them, archive view shows all the posts under July 2010. All the timestamps seem ok in both summary and detail views.
I also uninstalled, removed and deleted CGBlog 1.4 completely as well as CGSimpleSmarty and CGExtensions. Then I rolled back to versions that are currently working perfectly on one of my clients. No effect.
-
- Forum Members
- Posts: 13
- Joined: Wed Jul 14, 2010 4:22 pm
Re: [SOLVED] CGBlog 1.4 Archive Links not working
Oh, and I tried the text files posted by inyerface on the 1.4 version, no luck.
Re: [SOLVED] CGBlog 1.4 Archive Links not working
It was kind of a bad hack and worked fo me. Calguy has fixed the issue in the latest release.