Page 1 of 2
Searchfunction on V1.2.8-20060904
Posted: Tue 5. Sep 2006, 09:35
by pico
Hi
has anybody tested the new Search in the latest Version 20060904 ?
I got always 'No Result' - no Error or Warning !?
It's a fresh full installation - no update, no Hacks
any Hints?
Posted: Tue 5. Sep 2006, 09:41
by cyrano
hi pico,
worked 2 times than have the same problems you described.
Updated to last patch F, but still search didn't get and display any results.
May be it's a user error in configuration?
I have a structure level "seach" and an article with cp "search".
when i go to the search page in frontend, type in a word i know it must appear i get after hit the search button to the index page instead of the search / search result page.
may be helpfull?

Posted: Tue 5. Sep 2006, 11:49
by sustia
Some problem for me, fresh installation, patch F, no results.
Posted: Tue 5. Sep 2006, 11:54
by flip-flop
Exact the same for me.
Patch F are only for contact form and guestbook.
Knut
Posted: Tue 5. Sep 2006, 11:59
by Oliver Georgi
Hm,
for me it is working very well. Aso when nothing is filled in.
Search word longer than 3 chars?
Oliver
Posted: Tue 5. Sep 2006, 12:05
by cyrano
Hi Oliver,
also when input is empty i get redirected to index page.
search word longer than 3 characters, in my try 5 - 12 characters.
Posted: Tue 5. Sep 2006, 12:07
by sustia
cyrano wrote:Hi Oliver,
also when input is empty i get redirected to index page.
search word longer than 3 characters, in my try 5 - 12 characters.
The same for me.
Posted: Tue 5. Sep 2006, 12:10
by cyrano
Hmm, nice its working in your example Oliver.
Did you have same setup for search cp as my screen shows above?
yesterday i got it run twice then nothing more happens.
may be which files i do reload to server?
curious.
i get this code when rendered frontpage "search"
Code: Select all
<div id="mainBlock"><a name="jump4"></a><h1>suche</h1>suchen los!
<div class="search_form"><form action="index.php" method="post"><input type="hidden" name="PHPSESSID" value="2e8137c425cce0bf82f8dd1b6f179712" />
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="formSearch"><input name="search_input_field" id="search_input_field" type="text" size="20" maxlength="200" value="" /></td>
<td> </td>
<td><input type="submit" name="submit" id="search_submit_button" value="Suchen" /></td>
</tr>
</table>
</form>
</div>
hmm why is form action "index.php" and not "index.php?suche" ?
Posted: Tue 5. Sep 2006, 12:20
by cyrano
get some interesting thing:
when clicking at menu to go to seach page i can input some word to seach and get nothing as result.
when clicking the article from backend i get the seach page and be able to get search results.
means:
when i use
http://www.domain.tld/index.php?search i get an empty seach results page, when using
http://www.domain.tld/index.php?id=4,4,0,0,1,0 i get search results.
can somebody else check this please?
Posted: Tue 5. Sep 2006, 12:21
by Oliver Georgi
OK, I see the problem exists when it is the only article within a structure level having an alias.
Oliver
Posted: Tue 5. Sep 2006, 12:31
by Oliver Georgi
Think I have it - why ever I have done this there - hm.
Open content.func.inc.php and change line 81 to
Code: Select all
//unset($GLOBALS['_getVar'][$alias]);
Patch-F updated again including some more fixes.
Oliver
Posted: Tue 5. Sep 2006, 13:14
by cyrano
Jau, Danke - thank you Oliver for fast fixing.
Posted: Tue 5. Sep 2006, 13:30
by pico
... und ich bin zu blöd
immer noch 'no Result' arghhh
nochmals neue Installation der 20060904 - mit 'neuem' Patch F
und ändern der content.func.inc.php
Posted: Tue 5. Sep 2006, 13:37
by flip-flop
Verbesserung:
- Kein Rückspung mehr zum index.php nach PatchF-neu.
Jedoch leider keine Suchergebnisse.
- Mit rewrite oder ohne macht keinen Unterschied.
- Direkter Aufruf aus dem Backend oder über die Navigation, kein Unterschied.
$phpwcms['db_charset'] = 'utf8';
$phpwcms['db_collation'] = 'latin1_german2_ci'; // 'utf8_general_ci';
$phpwcms["charset"] = "iso-8859-1";
Knut
Posted: Tue 5. Sep 2006, 13:41
by Oliver Georgi
Proof that there "search" off is disabled for categories too.
Oliver