[Solved] SEARCH doesn't index module content after update to 1.6.5
[Solved] SEARCH doesn't index module content after update to 1.6.5
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
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
Last edited by klenkes on Sat Oct 17, 2009 2:40 pm, edited 1 time in total.
Re: SEARCH doesn't index module content after update to 1.6.5
Do you have a link?
Ronny
Ronny
Re: SEARCH doesn't index module content after update to 1.6.5
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.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: SEARCH doesn't index module content after update to 1.6.5
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:
Because I have a lot of data managed with modules this is a pitty. Guestbook is not so important.
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"}
Re: SEARCH doesn't index module content after update to 1.6.5
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
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
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.Since content types don't work in 1.6 anymore I call all modiules in the template or the main content block(Tiny).
Forget my reaction

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: SEARCH doesn't index module content after update to 1.6.5
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...
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
Hi Klenkes,
When I do a search on that word, the entry in question is found by the search:
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
Your last guestbook entry contains the word "neuerdings"Installed and affected modules are Album, Guestbook and selfmade CTLmodulemaker modules. NEWS content is indexed fine.
When I do a search on that word, the entry in question is found by the search:
Does this mean the problem is solved?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...
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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: SEARCH doesn't index module content after update to 1.6.5
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...
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
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:

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
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.
Coincidence or...Klenkes wrote: but in a new local testinstall with 1.6.5 content from my modules are indexed fine

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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: SEARCH doesn't index module content after update to 1.6.5
This happens with my local install too. But I found out something I describe further down.Tja... bernd-klenk.de ist umgezogen!
Ich habe mit all meinem Kram den Provider gewechselt.
Merkt aber keiner.
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?)
On the new 1.6.5 local "Reindex All Content" leaves everthing where it should be. Mhh... but what does it mean?but in a new local testinstall with 1.6.5 content from my modules are indexed fine
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
Klenkes,

I will try if I can reproduce this issue on my testsite.
Grüsz, Rolf
No, it couldn't be the problem then...The fact that I changed providers doesn't give me any clue, because the website was before pure static HTML.
Perhaps you are the first who noticed itWhat bothers me is that I am the only one...

I will try if I can reproduce this issue on my testsite.
Grüsz, Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: SEARCH doesn't index module content after update to 1.6.5
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
Hi Rolf.Rolf wrote: I will try if I can reproduce this issue on my testsite.
Grüsz, 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!