Fehler nach Suchänderung
Verfasst: Sa 16. Dez 2006, 16:11
Hallo at all
Ich wollte in der class.search.php der Wert für die Suche in geschützten Bereichen von true auf false setzten, sodass er auch in geschützten Bereichen sucht.
Habe das auch gemacht und bekomme jetzt folgende Fehlermeldung im Head jeder Seite
Habe dann mein Backup der Datei zurück gespielt und bekomme die Meldung immernoch 
Könnt ihr mir helfen?
Mfg Johannes und vielen Dank im Vorraus
Ich wollte in der class.search.php der Wert für die Suche in geschützten Bereichen von true auf false setzten, sodass er auch in geschützten Bereichen sucht.
Habe das auch gemacht und bekomme jetzt folgende Fehlermeldung im Head jeder Seite
Code: Alles auswählen
/** * @param none * @return Number of result pages */ function getNumberOfPages() { return $this->pages; } /** * @param none * @return Number of articles in search result */ function getNumberOfResults() { return $this->results; } /** * @param $art_id Id of an article * @return Similarity between searchword and matching word in article */ function getSimilarity($art_id) { return $this->search_result[$art_id]['similarity']; } /** * @param $art_id Id of an article * @return Number of matching searchwords found in article */ function getOccurrence($art_id) { $aOccurence = $this->search_result[$art_id]['occurence']; $iSumOfOccurence = 0; for ($i = 0; $i < count($aOccurence); $i++) { $iSumOfOccurence += $aOccurence[$i]; } return $iSumOfOccurence; } /** * @param string $rep1 The opening html-tag to emphasize the searchword e.g. '' * @param string $rep2 The closing html-tag e.g. '' * @return void */ function setReplacement($rep1, $rep2) { if (strlen(trim($rep1)) > 0 AND strlen(trim($rep2)) > 0) { array_push($this->replacement, $rep1); array_push($this->replacement, $rep2); } } /** * @param $artid * @return Category Id */ function getArtCat($artid) { $sql = "SELECT idcat FROM ".$this->cfg['tab']['cat_art']." WHERE idart = ".$artid." "; $this->db->query($sql); if ($this->db->next_record()) { return $this->db->f('idcat'); } } } // end class ?> { return $this->db->f('idcat'); } } } // end class ?>ss ?>?>
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web1/html/download/contenido/classes/class.search.php:1718) in /srv/www/web1/html/download/conlib/session.inc on line 481
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web1/html/download/contenido/classes/class.search.php:1718) in /srv/www/web1/html/download/conlib/session.inc on line 484
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web1/html/download/contenido/classes/class.search.php:1718) in /srv/www/web1/html/download/conlib/session.inc on line 485
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web1/html/download/contenido/classes/class.search.php:1718) in /srv/www/web1/html/download/conlib/session.inc on line 486
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web1/html/download/contenido/classes/class.search.php:1718) in /srv/www/web1/html/download/conlib/session.inc on line 487
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web1/html/download/contenido/classes/class.search.php:1718) in /srv/www/web1/html/download/conlib/session.inc on line 488
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web1/html/download/contenido/classes/class.search.php:1718) in /srv/www/web1/html/download/conlib/session.inc on line 489
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web1/html/download/contenido/classes/class.search.php:1718) in /srv/www/web1/html/download/contenido/main.php on line 192

Könnt ihr mir helfen?
Mfg Johannes und vielen Dank im Vorraus