Page 2 of 2
Posted: Tue 5. Sep 2006, 13:53
by pico
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.
Posted: Tue 5. Sep 2006, 14:06
by Oliver Georgi
Check your local install, Firewall or whatever.
I have tested local with an abolute minimal install - search is working.
Oliver
Posted: Tue 5. Sep 2006, 14:30
by sustia
Another fresh installation, and seems doesn't work
In this page
http://sustia.netsons.org/index.php
searching for "rucola" no results, but there are several words in this page
http://sustia.netsons.org/index.php?id=1,2,0,0,1,0
Posted: Tue 5. Sep 2006, 15:49
by Oliver Georgi
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
Posted: Tue 5. Sep 2006, 15:52
by flip-flop
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
Posted: Tue 5. Sep 2006, 16:04
by sustia
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

Posted: Wed 6. Sep 2006, 15:29
by Oliver Georgi
Posted: Wed 6. Sep 2006, 22:23
by cyrano
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?
Posted: Wed 6. Sep 2006, 22:36
by Oliver Georgi
would you please send me the file I have created for your problem - do you remember. The missing "="...
Oliver
Posted: Wed 6. Sep 2006, 22:39
by cyrano
: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');
}
}
Posted: Wed 6. Sep 2006, 22:47
by Oliver Georgi
send me your ftp login again - I will check it.
Oliver
Posted: Wed 6. Sep 2006, 23:02
by Oliver Georgi
Prüfe mal gegen - sollte nun gehen. Habe das erneut umgebaut.
Oliver
Posted: Wed 6. Sep 2006, 23:04
by cyrano
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.
Posted: Wed 6. Sep 2006, 23:11
by Oliver Georgi
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
Posted: Thu 7. Sep 2006, 15:27
by Kalaschnikow
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!