Searchfunction on V1.2.8-20060904

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Searchfunction on V1.2.8-20060904

Post 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?
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post 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?

Image
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

Some problem for me, fresh installation, patch F, no results.
Campeones del mundo!
Vegetables!
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Exact the same for me.

Patch F are only for contact form and guestbook.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Hm,

for me it is working very well. Aso when nothing is filled in.

Search word longer than 3 chars?

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post 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.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post 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.
Campeones del mundo!
Vegetables!
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post 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>&nbsp;</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" ?
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post 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?
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

OK, I see the problem exists when it is the only article within a structure level having an alias.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

Jau, Danke - thank you Oliver for fast fixing.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
Last edited by flip-flop on Tue 5. Sep 2006, 13:42, edited 1 time in total.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Proof that there "search" off is disabled for categories too.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply