Advertisement:

Author Topic: Prb with posts displayed in wrong topics  (Read 4710 times)

Offline Palinca

  • Newbie
  • *
  • Posts: 9
Prb with posts displayed in wrong topics
« on: February 21, 2012, 02:04:00 PM »
Hi all,

First of all, sorry for my poor english, hope it won't be a pain to solve my problem  :-\

I am using SMF 2.0.2.

What's my problem ?

Sometimes (often...), some posts are displayed in wrong topics.
Don't know why and you imagine the problem when you're answering to a post and your answer appears in another topics !
It's a mess...

I'm searching for a long time for a solution but I didn't find anything...

Anyone has a magical solution ?

Offline Yoshi

  • Customizer
  • SMF Hero
  • *
  • Posts: 8,125
  • Gender: Male
Re: Prb with posts displayed in wrong topics
« Reply #1 on: February 21, 2012, 02:20:49 PM »
Hi there!

Your English actually is pretty good :)

What mods have you installed?
My Mods / [WIP] Mod Builder / GitHub profile / "A programmer is just a tool which converts caffeine into code."
Quote
<FLAMER> Marketing is about to get into drug activities maybe... but we will see about that later on :P
<Yoshi2889> We're getting free drugs?
<CoreISP> He's talking about caffeine man, damn pen lifter.

Offline Palinca

  • Newbie
  • *
  • Posts: 9
Re: Prb with posts displayed in wrong topics
« Reply #2 on: February 21, 2012, 02:28:44 PM »
1.    SMF 2.0.2 Update    1.0
2.    Birthday Posts    0.12.1 Beta
3.    SMF 2.0.1 Update    1.0
4.    Fix Message Empty Error For Embed Video Mods    1.0
5.    Images On Board    2.2
6.    Tabbed smileys    0.3.6
7.    Custom BBCode    2.02

Are you talking about this ?

Offline Yoshi

  • Customizer
  • SMF Hero
  • *
  • Posts: 8,125
  • Gender: Male
Re: Prb with posts displayed in wrong topics
« Reply #3 on: February 21, 2012, 02:59:05 PM »
1.    SMF 2.0.2 Update    1.0
2.    Birthday Posts    0.12.1 Beta
3.    SMF 2.0.1 Update    1.0
4.    Fix Message Empty Error For Embed Video Mods    1.0
5.    Images On Board    2.2
6.    Tabbed smileys    0.3.6
7.    Custom BBCode    2.02

Are you talking about this ?
Yep, that's what I'm talking about :)

Although I don't see any mods that could affect the display of topics...
Can you attach your "Display.php" found in the "Sources" directory, here, in your next post?
My Mods / [WIP] Mod Builder / GitHub profile / "A programmer is just a tool which converts caffeine into code."
Quote
<FLAMER> Marketing is about to get into drug activities maybe... but we will see about that later on :P
<Yoshi2889> We're getting free drugs?
<CoreISP> He's talking about caffeine man, damn pen lifter.

Offline Palinca

  • Newbie
  • *
  • Posts: 9
Re: Prb with posts displayed in wrong topics
« Reply #4 on: February 21, 2012, 03:22:04 PM »
Thanks for helping

I've got 2 files :
"display.php~" created in 2009
"display.php" created in 2011
 :o

edit : files attached
« Last Edit: February 21, 2012, 03:26:30 PM by Palinca »

Offline Yoshi

  • Customizer
  • SMF Hero
  • *
  • Posts: 8,125
  • Gender: Male
Re: Prb with posts displayed in wrong topics
« Reply #5 on: February 21, 2012, 03:30:53 PM »
The Display.php~ is a backup file :)

Thanks for attaching. I'll take a peek :)
My Mods / [WIP] Mod Builder / GitHub profile / "A programmer is just a tool which converts caffeine into code."
Quote
<FLAMER> Marketing is about to get into drug activities maybe... but we will see about that later on :P
<Yoshi2889> We're getting free drugs?
<CoreISP> He's talking about caffeine man, damn pen lifter.

Offline Palinca

  • Newbie
  • *
  • Posts: 9
Re: Prb with posts displayed in wrong topics
« Reply #6 on: February 21, 2012, 03:42:15 PM »
Take your time, this problem is lasting for a long time

It's an old forum, lot of modifications, smf installed in 2007 etc...
sure there is a lot of mess there

edit : and migration from ipb to smf
« Last Edit: February 21, 2012, 03:48:59 PM by Palinca »

Offline Yoshi

  • Customizer
  • SMF Hero
  • *
  • Posts: 8,125
  • Gender: Male
Re: Prb with posts displayed in wrong topics
« Reply #7 on: February 21, 2012, 03:47:22 PM »
Do you mind if I take a look at this tomorrow? I've got a few clients waiting for me to fix their computers :(
My Mods / [WIP] Mod Builder / GitHub profile / "A programmer is just a tool which converts caffeine into code."
Quote
<FLAMER> Marketing is about to get into drug activities maybe... but we will see about that later on :P
<Yoshi2889> We're getting free drugs?
<CoreISP> He's talking about caffeine man, damn pen lifter.

Offline Palinca

  • Newbie
  • *
  • Posts: 9
Re: Prb with posts displayed in wrong topics
« Reply #8 on: February 21, 2012, 03:49:54 PM »
looool

no problem, of course !

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,836
  • Gender: Male
  • Because Orange is Orange
Re: Prb with posts displayed in wrong topics
« Reply #9 on: February 21, 2012, 03:53:04 PM »
Have you tried to use the maintenance task "Find and repair any errors"? (go to admin > maintenance > forum maintenance > routine)

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Palinca

  • Newbie
  • *
  • Posts: 9
Re: Prb with posts displayed in wrong topics
« Reply #10 on: February 21, 2012, 04:09:25 PM »
I tried every maintenance admin tools with no success  :-[

I think it's perhaps a prb between ids from ipb and ids from smf (migration a few years ago) but I'm not sure at all

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,836
  • Gender: Male
  • Because Orange is Orange
Re: Prb with posts displayed in wrong topics
« Reply #11 on: February 22, 2012, 03:53:40 PM »
Another question: does it happen with new posts as well, or only with old, pre-migration posts/topics?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Palinca

  • Newbie
  • *
  • Posts: 9
Re: Prb with posts displayed in wrong topics
« Reply #12 on: February 23, 2012, 02:04:22 AM »
it's only with new posts, not with old ones

so you write a post in a topic and instead of appearing in this topic, it goes elsewhere...

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,836
  • Gender: Male
  • Because Orange is Orange
Re: Prb with posts displayed in wrong topics
« Reply #13 on: February 23, 2012, 05:37:36 AM »
Another question: new posts in new topics, or new posts in old topics? (sorry for the many questions, I'm just trying to understand the situation ;))

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Palinca

  • Newbie
  • *
  • Posts: 9
Re: Prb with posts displayed in wrong topics
« Reply #14 on: February 23, 2012, 06:48:07 AM »
new posts are (sometimes) displayed in old topics  ;)

Offline Palinca

  • Newbie
  • *
  • Posts: 9
Re: Prb with posts displayed in wrong topics
« Reply #15 on: March 01, 2012, 01:03:30 PM »
No one has an answer to this prb ?  :'(

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,836
  • Gender: Male
  • Because Orange is Orange
Re: Prb with posts displayed in wrong topics
« Reply #16 on: March 01, 2012, 01:15:18 PM »
I could have an idea, but I have to write down a bit of code...

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Yoshi

  • Customizer
  • SMF Hero
  • *
  • Posts: 8,125
  • Gender: Male
Re: Prb with posts displayed in wrong topics
« Reply #17 on: March 01, 2012, 02:39:27 PM »
Stupid idea, no idea if this is anything related but do you have UTF-8 languages installed?
My Mods / [WIP] Mod Builder / GitHub profile / "A programmer is just a tool which converts caffeine into code."
Quote
<FLAMER> Marketing is about to get into drug activities maybe... but we will see about that later on :P
<Yoshi2889> We're getting free drugs?
<CoreISP> He's talking about caffeine man, damn pen lifter.

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,836
  • Gender: Male
  • Because Orange is Orange
Re: Prb with posts displayed in wrong topics
« Reply #18 on: March 01, 2012, 03:04:57 PM »
I feel it has something to do with a wrong id_topic or id_last_msg/id_first_msg (or id_board) somewhere, but to be sure a script to check these things is necessary.

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Joshua Dickerson

  • Developer
  • SMF Super Hero
  • *
  • Posts: 12,622
  • Gender: Male
    • joshuaadickerson on LinkedIn
Re: Prb with posts displayed in wrong topics
« Reply #19 on: July 26, 2012, 12:37:53 PM »
Have you tried re-installing SMF? This is most likely not a bug with the default installation and something happened when trying to install or when you installed customizations.
Joshua Dickerson
Developer

Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?