Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 07:15 am EST

Geeklog Forums

Bug of the Block system on 2.1.0


Status: offline

mistgrass

Forum User
Newbie
Registered: 08/11/14
Posts: 2
This is the first comments.

There is a bug with Block system on 2.1.0,maybe.

I did the operation such as follows.

1.Make topics like this.
topic_A--|
     topic_A_1
     topic_A_2

2.Make a block to show on topic_A_1 and topic_A_2.
ex) The Block ID is "block-ab"

Then I open the topic_A, there are exactly the same two "block-ab" on the sideblock.
http://demo.geeklog.jp/index.php?topic=test

Would you check it?
 Quote

Status: offline

mistgrass

Forum User
Newbie
Registered: 08/11/14
Posts: 2
To Change such as follow, on line 4456 with "public_html/lib-common.php",

Text Formatted Code

From : $blocksql['mysql'] = "SELECT b.*,UNIX_TIMESTAMP(rdfupdated) AS date ";
To : $blocksql['mysql'] = "SELECT DISTINCT b.*,UNIX_TIMESTAMP(rdfupdated) AS date ";
 


Thanks a lot, Mr Ito!
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
Thanks Mistgrass. I have added this bug to the Geeklog bug tracker
One of the Geeklog Core Developers.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
We may want to use a "group by" here instead of distinct like we have done in other places.
One of the Geeklog Core Developers.
 Quote

All times are EST. The time is now 07:15 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content