Page 1 of 2

[Solved] SEARCH doesn't index module content after update to 1.6.5

Posted: Thu Oct 15, 2009 7:06 pm
by klenkes
These days I updated a few sites of mine from 1.5.2 to 1.6.5 and everything worked fine. The usual procedure: Upload of full package, install/upgrade.php, reset Tiny and everything worked like a charm.

A bit later I noticed that the search module doesn't index any module content anymore. I know the help section of search reads: "...indexing only certain registered modules...", but in a new local testinstall with 1.6.5 content from my modules are indexed fine. So it's only happening to my updated installs. And yes, I reindexed.
Installed and affected modules are Album, Guestbook and selfmade CTLmodulemaker modules. NEWS content is indexed fine.

I tried uninstalling search an reinstalling it, but to no avail. I even tried to use an old version of search, but nothing happened.

What could possibly be responsible for that?

Bernd

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Thu Oct 15, 2009 7:59 pm
by RonnyK
Do you have a link?

Ronny

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Thu Oct 15, 2009 8:17 pm
by klenkes
Of course: http://www.bernd-klenk.de

I had to deactivate the search but it is now active again.

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Thu Oct 15, 2009 8:19 pm
by Rolf
Hi. The guestbook module, how is it called in the page? Like a content type or as a tag in the page content. Grtz. rolf.

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Thu Oct 15, 2009 9:08 pm
by klenkes
Hi.
Since content types don't work in 1.6 anymore I call all modiules in the template or the main content block(Tiny). But I did it this way before too.
Example:

Code: Select all

{cms_module module="Guestbook" number="3" shownow="1" smiley="0" dateformat="d.m.Y" captcha="1" lang="de_DE"}
Because I have a lot of data managed with modules this is a pitty. Guestbook is not so important.

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Fri Oct 16, 2009 4:42 am
by RonnyK
Seems like issue #2 in http://forum.cmsmadesimple.org/index.ph ... 147.0.html

Could you check what happens when you put the extra line in .htaccess

Ronny

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Fri Oct 16, 2009 7:33 am
by Rolf
Since content types don't work in 1.6 anymore I call all modiules in the template or the main content block(Tiny).
This is just what I was aiming at, perhaps in a strange way it could be related... But it isn't, you use the tag.
Forget my reaction  ;)

Rolf

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Fri Oct 16, 2009 7:54 am
by klenkes
Thanks a lot for thinking about this.
I have another site with CMSms 1.5.1 and I will do an update on my local install first and see what happens.

What bothers me is that I am the only one...

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Fri Oct 16, 2009 4:20 pm
by Rolf
Hi Klenkes,
Installed and affected modules are Album, Guestbook and selfmade CTLmodulemaker modules. NEWS content is indexed fine.
Your last guestbook entry contains the word "neuerdings"
When I do a search on that word, the entry in question is found by the search:
Suchergebnisse für "neuerdings"

    * Guestbook - Mars Galliculus - Auch ich bin neuerdings von den Knosti-Hüllen hin und weg, weil ich nach etwas suchte, wo ich alles hineinpacken kann, w...
Does this mean the problem is solved?
In the case it isn't, can you give us an example which word on what page isn't found in the search.

Grtz. Rolf

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Fri Oct 16, 2009 6:46 pm
by klenkes
Hi Rolf.

Sorry. You are right. I was wrong. Guestbook isn't affected.

Example: Searchword "Trog"
Word is part of an albumcomment and worked before.
http://www.bernd-klenk.de/fotos/mein-fotoalbum/die-60er/album-1/34/

Example: Searchword "Bonanza"
Word ist part of a module made with CTLmodulemaker. Simple Linkmanagement.
http://www.bernd-klenk.de/links/

Example: Searchword "Melodika"
Word ist part of a module made with CTLmodulemaker.
http://www.bernd-klenk.de/loststuff/detail/Melodika/25/

All of this worked before. Each and every word in albumcomments and my modules were found. But now not anymore. I had a page wirh the module glossary before and it was affected too, but it is now uninstalled because I didn't need it anymore.

This is driving me crazy...

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Sat Oct 17, 2009 9:31 am
by Rolf
Hallo Klenkes,

I checked the SVN, there haven't been much changes to the Search module lately. Could ask Calguy for a tip, but I noticed this:
www.bernd-klenk.de wrote: Tja... bernd-klenk.de ist umgezogen!

Ich habe mit all meinem Kram den Provider gewechselt.
Merkt aber keiner.
Klenkes wrote: but in a new local testinstall with 1.6.5 content from my modules are indexed fine
Coincidence or...  :-\
Did you check the server settings on both websites? Perhaps your problem isn't the result of the upgrade, but from changing servers... Just a thought  ;)

Grtz. Rolf

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Sat Oct 17, 2009 10:19 am
by klenkes
Tja... bernd-klenk.de ist umgezogen!
Ich habe mit all meinem Kram den Provider gewechselt.
Merkt aber keiner.
This happens with my local install too. But I found out something I describe further down.

I contacted plger, the developer of CTLmodulemaker, and asked if he can shed light on the process of indexing content, and I found out the following:

1. If I edit an entry of some module NOW, words are added to the index fine! (Tested with custom modules and Album)
2. If I then hit "Reindex All Content" in admin section, the module content is gone again from DB-table bk_module_search_index.
So adding to search_index works from the modules side fine. Reindex is the bad guy. (well... bad?)
but in a new local testinstall with 1.6.5 content from my modules are indexed fine
On the new 1.6.5 local "Reindex All Content" leaves everthing where it should be. Mhh... but what does it mean?

The fact that I changed providers doesn't give me any clue, because the website was before pure static HTML.
But what server setting could be responsible for influencing the Reindex process?

I will dig further into debugging, and report what I find out.

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Sat Oct 17, 2009 1:27 pm
by Rolf
Klenkes,
The fact that I changed providers doesn't give me any clue, because the website was before pure static HTML.
No, it couldn't be the problem then...
What bothers me is that I am the only one...
Perhaps you are the first who noticed it  ;)

I will try if I can reproduce this issue on my testsite.

Grüsz, Rolf

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Sat Oct 17, 2009 1:38 pm
by klenkes
Thanks, but don't put too much effort in it right now, because I try to narrow the problem down a bit. Debugging is bliss :)

Re: SEARCH doesn't index module content after update to 1.6.5

Posted: Sat Oct 17, 2009 2:39 pm
by klenkes
Rolf wrote: I will try if I can reproduce this issue on my testsite.
Grüsz, Rolf
Hi Rolf.
Seems that the problem is not CMSms/Update related after all, it just surfaced after the update.

Problem is, that my custom modules are too old to have a reindex function built in, but the newer ones have.(no problem in new 1.6.5)
I don't know about Album module. Does it have a reindex function that is called from "Reindex all content"?

I put SOLVED into the subject.

Thanks anyway!