[SOLVED] CGBlog 1.4 Archive Links not working

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
nurzki
Forum Members
Forum Members
Posts: 11
Joined: Wed Jun 11, 2008 1:54 am

[SOLVED] CGBlog 1.4 Archive Links not working

Post by nurzki »

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
Last edited by nurzki on Wed Jul 07, 2010 1:13 am, edited 1 time in total.
onninen
New Member
New Member
Posts: 8
Joined: Sat Jun 19, 2010 8:10 pm

Re: [BUG] CGBlog 1.4 Archive Links not working

Post by onninen »

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.   
inyerface
Forum Members
Forum Members
Posts: 191
Joined: Mon Nov 26, 2007 4:46 pm

Re: [BUG] CGBlog 1.4 Archive Links not working

Post by inyerface »

There is an error in one of the files.

action.archive.php
////////////////////////////

On or around line 28, replace

Code: Select all

    unset($params['summarypage']);
with

Code: Select all

    unset($paramsp['summarypage']);
Last edited by inyerface on Tue Jul 06, 2010 5:38 am, edited 1 time in total.
nurzki
Forum Members
Forum Members
Posts: 11
Joined: Wed Jun 11, 2008 1:54 am

Re: [SOLVED] CGBlog 1.4 Archive Links not working

Post by nurzki »

Thanks for the help it works well.
Larry
Forum Members
Forum Members
Posts: 10
Joined: Sun Sep 07, 2008 9:37 pm

Re: [SOLVED] CGBlog 1.4 Archive Links not working

Post by Larry »

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?
ninjapiraatti
Forum Members
Forum Members
Posts: 13
Joined: Wed Jul 14, 2010 4:22 pm

Re: [SOLVED] CGBlog 1.4 Archive Links not working

Post by ninjapiraatti »

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.
ninjapiraatti
Forum Members
Forum Members
Posts: 13
Joined: Wed Jul 14, 2010 4:22 pm

Re: [SOLVED] CGBlog 1.4 Archive Links not working

Post by ninjapiraatti »

Oh, and I tried the text files posted by inyerface on the 1.4 version, no luck.
inyerface
Forum Members
Forum Members
Posts: 191
Joined: Mon Nov 26, 2007 4:46 pm

Re: [SOLVED] CGBlog 1.4 Archive Links not working

Post by inyerface »

It was kind of a bad hack and worked fo me.  Calguy has fixed the issue in the latest release.
Post Reply

Return to “Modules/Add-Ons”