Page 1 of 1

[SOLVED] CGBlog 1.4 Archive Links not working

Posted: Thu Jun 10, 2010 4:01 pm
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

Re: [BUG] CGBlog 1.4 Archive Links not working

Posted: Sat Jun 19, 2010 8:33 pm
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.   

Re: [BUG] CGBlog 1.4 Archive Links not working

Posted: Tue Jul 06, 2010 5:00 am
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']);

Re: [SOLVED] CGBlog 1.4 Archive Links not working

Posted: Wed Jul 07, 2010 1:13 am
by nurzki
Thanks for the help it works well.

Re: [SOLVED] CGBlog 1.4 Archive Links not working

Posted: Wed Jul 14, 2010 1:37 pm
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?

Re: [SOLVED] CGBlog 1.4 Archive Links not working

Posted: Wed Jul 14, 2010 4:29 pm
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.

Re: [SOLVED] CGBlog 1.4 Archive Links not working

Posted: Thu Jul 15, 2010 5:28 am
by ninjapiraatti
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

Posted: Mon Jul 26, 2010 2:47 am
by inyerface
It was kind of a bad hack and worked fo me.  Calguy has fixed the issue in the latest release.