Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
pico
Posts: 2595 Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:
Post
by pico » Tue 5. Sep 2006, 13:53
Search is 'off'
Error Log says:
there are only the Index-Level with a Article and Search-CP and another Level 'Test' with a Artikel with some Text in Summary and CP Text with some Text inside.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at
Musiker-Board
Oliver Georgi
Site Admin
Posts: 9918 Joined: Fri 3. Oct 2003, 22:22
Contact:
Post
by Oliver Georgi » Tue 5. Sep 2006, 14:06
Check your local install, Firewall or whatever.
I have tested local with an abolute minimal install - search is working.
Oliver
Oliver Georgi
Site Admin
Posts: 9918 Joined: Fri 3. Oct 2003, 22:22
Contact:
Post
by Oliver Georgi » Tue 5. Sep 2006, 15:49
I think I have it - seems I have forgotten the important table prefix for the new search query.
Check patch-F again and there file:
include/inc_front/content/cnt13.article.inc.php
Oliver
flip-flop
Moderator
Posts: 8178 Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:
Post
by flip-flop » Tue 5. Sep 2006, 15:52
It doesn't work. Three installations, three providers. No search result.
What's the trick?
[EDIT] After installing the new /include/inc_front/content/cnt13.article.inc.php it works very well
[/EDIT]
Knut
Last edited by
flip-flop on Tue 5. Sep 2006, 16:05, edited 1 time in total.
sustia
Posts: 651 Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:
Post
by sustia » Tue 5. Sep 2006, 16:04
Oliver Georgi wrote: I think I have it - seems I have forgotten the important table prefix for the new search query.
Check patch-F again and there file:
include/inc_front/content/cnt13.article.inc.php
Oliver
Now it works perfectly
cyrano
Posts: 1598 Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:
Post
by cyrano » Wed 6. Sep 2006, 22:23
hi all,
have to open again search topic.
including all patches,also G and put 3 results on a page and set {NAV:123}.
star from home.
get search results,also highlighted.
but:
when clicking on the number 2 or 3 (got 15 search results) i get redirected
to the index page.
in adress line i see:
http://www.domain.de/cms/index.php?such ... rchstart=3
do i miss something more?
does it works for you all?
Oliver Georgi
Site Admin
Posts: 9918 Joined: Fri 3. Oct 2003, 22:22
Contact:
Post
by Oliver Georgi » Wed 6. Sep 2006, 22:36
would you please send me the file I have created for your problem - do you remember. The missing "="...
Oliver
cyrano
Posts: 1598 Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:
Post
by cyrano » Wed 6. Sep 2006, 22:39
:oops:
damn i read about fixing this and overwrite it :-(
guess it was in default.inc.php these lines:
Code: Select all
function buildGlobalGET($return = '') {
// build internal array containing all GET values
// and remove session from this array
$GLOBALS['_getVar'] = array();
unset($_GET[session_name()]);
if(is_array($_GET) && count($_GET)) {
$GLOBALS['_getVar'] = $_GET;
} elseif(!empty($_SERVER['QUERY_STRING'])) {
$query = explode('&', $_SERVER['QUERY_STRING']);
if(is_array($query) && count($query)) {
foreach($query as $value) {
list($key, $val) = explode('=', $value);
$GLOBALS['_getVar'][$key] = $val;
}
}
}
if($return == 'getQuery') {
return returnGlobalGET_QueryString('htmlentities');
}
}
Oliver Georgi
Site Admin
Posts: 9918 Joined: Fri 3. Oct 2003, 22:22
Contact:
Post
by Oliver Georgi » Wed 6. Sep 2006, 22:47
send me your ftp login again - I will check it.
Oliver
Oliver Georgi
Site Admin
Posts: 9918 Joined: Fri 3. Oct 2003, 22:22
Contact:
Post
by Oliver Georgi » Wed 6. Sep 2006, 23:02
Prüfe mal gegen - sollte nun gehen. Habe das erneut umgebaut.
Oliver
cyrano
Posts: 1598 Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:
Post
by cyrano » Wed 6. Sep 2006, 23:04
Hallo Oliver,
super klappt nun prima.
War es der Codebereich den ich oben gepostet habe? damit ich mir die Datei sichere. Danke nochmals.
Thomas
EDIT: jo sieht ganz anders aus. OK die werde ich dann künftig einfügen wenn eine ergänzte/ geänderte default.inc.php erscheint.
Oliver Georgi
Site Admin
Posts: 9918 Joined: Fri 3. Oct 2003, 22:22
Contact:
Post
by Oliver Georgi » Wed 6. Sep 2006, 23:11
Nee - die oben ist gurks. Habs Dir gerade eben geschrieben. Zur Erklärung für alle:
The above function helped in case PHP's internal GET detection can not handle index.php?alias - but "alias" will be missing in case of index.php?alias&get=1&get1=2 and so on. Then PHP global GET detects get and get1 but not alias.
I have implemented a better detection for it.
Oliver
Kalaschnikow
Posts: 3 Joined: Mon 16. Jan 2006, 18:32
Post
by Kalaschnikow » Thu 7. Sep 2006, 15:27
Oliver Georgi wrote: Proof that there "search" off is disabled for categories too.
Oliver
Its "off", but no results...
Edit: Patch G solves the problem! Thanks!