Fehlermeldung in Version 2.6.0

Please report bugs here!

Moderator: Thorsten

Post Reply
knubew
Posts: 10
Joined: Wed Jan 13, 2010 1:52 am

Fehlermeldung in Version 2.6.0

Post by knubew »

Wenn ich versuche die "Suche" oder die "Erweiterte Suche" zu verwenden, erhalte ich folgende Fehlermeldung:

Code: Select all

phpMyFAQ warning [2]: htmlspecialchars() expects at most 3 parameters, 4 given in String.php on line 361

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /var/www/web4/html/farcry/projects/farcry_web4_1/www/faq/inc/functions.php:173) in index.php on line 574

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /var/www/web4/html/farcry/projects/farcry_web4_1/www/faq/inc/functions.php:173) in index.php on line 575

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /var/www/web4/html/farcry/projects/farcry_web4_1/www/faq/inc/functions.php:173) in index.php on line 576

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /var/www/web4/html/farcry/projects/farcry_web4_1/www/faq/inc/functions.php:173) in index.php on line 577

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /var/www/web4/html/farcry/projects/farcry_web4_1/www/faq/inc/functions.php:173) in index.php on line 578

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /var/www/web4/html/farcry/projects/farcry_web4_1/www/faq/inc/functions.php:173) in index.php on line 579

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /var/www/web4/html/farcry/projects/farcry_web4_1/www/faq/inc/functions.php:173) in index.php on line 580

Hat jemand eine Lösung parat, oder ist das ein BUG in Version 2.6.0 ?
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Fehlermeldung in Version 2.6.0

Post by Thorsten »

Hi,

den 4. Parameter gibt's erst ab PHP 5.2.3, ich denke, du hast eine ältere Version, oder?

Ich bau einen Check für phpMyFAQ 2.6.1 ein!

Danke für den Hinweis!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
knubew
Posts: 10
Joined: Wed Jan 13, 2010 1:52 am

Post by knubew »

Hallo Thorsten,

ja, auf meinem Server (Debian Etch) läuft "PHP 5.2.0-8+etch16" (mit "Safe Mode ON" + alle geforderten Module) !
Laut den Anforderungen unter http://www.phpmyfaq.de/requirements.php sollte das ausreichen.
An der PHP-Standardinstallation des Servers würde ich nur ungern was ändern.

Ich habe die Suchfunktionen nun im Index-Template (z.B. unter: http://www.truck-stop.de/faq) vorerst alle deaktiviert.

Wird es bald ein Patch geben ?

Wenn nicht, müsste ich wohl doch wieder schnellstens auf eine ältere phpMyFAQ Version zurückwechseln.

Gruss .. Knut
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re:

Post by Thorsten »

Hi,
knubew wrote:Wird es bald ein Patch geben ?
hier ist er: http://github.com/thorsten/phpMyFAQ/com ... 034f93f73f

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
knubew
Posts: 10
Joined: Wed Jan 13, 2010 1:52 am

Post by knubew »

Wow, das ging ja superschnell !

Jetzt funktioniert die Suche einwandfrei.

Herzlichen Dank Thorsten.
knubew
Posts: 10
Joined: Wed Jan 13, 2010 1:52 am

Post by knubew »

Hi Thorsten,

mir ist gerade noch was aufgefallen. Ich weiss allerdings nicht, ob es sich tatsächlich um einen Fehler handelt.

Wenn man auf "Suchplugin installieren" klickt, gibt der Firefox 3.5.7 folgende Meldung aus:
Firefox konnte die Suchmaschine nicht herunterladen von:
http://www.truck-stop.de/faq/opensearch.php
Die IE-8 gibt folgende, ähnliche Meldung aus:
Dieser Suchanbieter konnte nicht installiert werden.
Es gab ein Problem mit den Informationen des Suchanbieters.
In der Doku wird beschrieben:
phpMyFAQ 2.5.x provides search plugins for Mozilla Firefox 2 and later and Microsoft Internet Explorer 7 and later based on the OpenSearch specification. Every user in the front-end can install it. With an installed search plugin you can search through the phpMyFAQ installation with the search box in upper right corner of Mozilla Firefox or Microsoft Internet Explorer.
Leider konnte ich im "Front-End" nichts passendes finden !?

Gruss .. Knut
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Fehlermeldung in Version 2.6.0

Post by Thorsten »

Hi,

ich schau es mir an!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Fehlermeldung in Version 2.6.0

Post by Thorsten »

Hi,

hier ist der Bugfix: http://github.com/thorsten/phpMyFAQ/com ... 43d7c2af06

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
knubew
Posts: 10
Joined: Wed Jan 13, 2010 1:52 am

Post by knubew »

Perfekt Thorsten, herzlichen Dank !

Dein Patch-Tempo ist ja unglaublich :D !

Gruss .. Knut
laxe
Posts: 3
Joined: Thu Jan 14, 2010 9:10 am

Re: Fehlermeldung in Version 2.6.0

Post by laxe »

GutenTag,

bekomme auch nach dem Update von 2.0.12 auf 2.6.0 auch folgende Fehlermeldung:

Code: Select all

phpMyFAQ notice [8]: Undefined property: PMF_Helper_Category::$treeTab in Category.php on line 146

phpMyFAQ notice [8]: Undefined index: in Category.php on line 146

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\Web\Standardwebsite\faq\inc\functions.php:173) in index.php on line 574

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\Web\Standardwebsite\faq\inc\functions.php:173) in index.php on line 575

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\Web\Standardwebsite\faq\inc\functions.php:173) in index.php on line 576

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\Web\Standardwebsite\faq\inc\functions.php:173) in index.php on line 577

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\Web\Standardwebsite\faq\inc\functions.php:173) in index.php on line 578

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\Web\Standardwebsite\faq\inc\functions.php:173) in index.php on line 579

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\Web\Standardwebsite\faq\inc\functions.php:173) in index.php on line 580
Was tun?

Danke
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Fehlermeldung in Version 2.6.0

Post by Thorsten »

phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply