1.4.0a: adding of news

Please report bugs here!

Moderator: Thorsten

Post Reply
richter
Posts: 6
Joined: Wed Aug 11, 2004 11:10 am

1.4.0a: adding of news

Post by richter »

1. wenn ich auf news editieren gehe bekomme ich beim ersten aufruf folgenden fehler:

Code: Select all

Laufzeitfehler in Microsoft JScript: 'HTMLArea.I18N.lang' ist Null oder kein Objekt

htmlarea.js line 931: var plugin_lang = dir + "/lang/" + HTMLArea.I18N.lang + ".js";
2. news kann ich trotzdem eingeben.. sobald ich aber einen news eingegeben habe und die startseite aufrufen will bekomme ich die schon oft hier erwähnten "headers already sent" warnings. Irgendwo las ich dies sei in 1.4.1 gefixed.. aber auf unstable möchte ich nicht unbedingt wechseln. Da das Problem in 1.4.1 anscheinend gefixt ist, scheint die Ursache ja bekannt zu sein, gibt es Lösungsvorschläge für 1.4.0a? :-)

bis dann, richter.

anmerkung: php5.0.0, mysql 4.0.20-nt, apache-win32 2.0.50
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

die 1.4.1 RC1 ist schon sehr stabil. :)

Die Bugs, die beschrieben hast, sind dort auch schon gefixt.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
richter
Posts: 6
Joined: Wed Aug 11, 2004 11:10 am

Post by richter »

mh, sicher? :-)
Warning: Cannot modify header information - headers already sent in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 232

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php:232) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 233

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php:232) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 234

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php:232) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 235

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php:232) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 236

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php:232) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php:232) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 238
..bekomme ich genau wie bei der 1.4.0a nach dem Anlegen einer News.
news wieder gelöscht et voilà: startseite tut wieder fehlerfrei :-/
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

das passiert, wenn News vorhanden sind, ansonsten nicht? Interessant. Das ist wenigstens mal ein Ansatzpunkt. Desweiteren tritt der Fehler nur unter Windows auf. Aber ich suche mal nach dem Fehler.

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

Post by Thorsten »

Hi,

guck mal in die Zeile 371 der Datei inc/functions.php und entferne die Zeile mit flush();

Dann sollte es gehen. Ich bitte um Rückmeldung!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
richter
Posts: 6
Joined: Wed Aug 11, 2004 11:10 am

Post by richter »

auf der startseite schon, ja.
aber auch an anderen stellen. Z.b. wie gerade eben herausgefunden beim abschicken einer frage:

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\savequestion.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\savequestion.php:32) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 232

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\savequestion.php:32) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 233

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\savequestion.php:32) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 234

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\savequestion.php:32) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 235

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\savequestion.php:32) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 236

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\savequestion.php:32) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\savequestion.php:32) in C:\Programme\Apache Group\Apache2\htdocs\phpmyfaq_beta\index.php on line 238
...normalerweise verwende ich für solche sachen auch keine win32 platform, aber wenn man nichts anderes zur Hand hat.. :-/

das versenden einer email an den administrator beim erstellen einer frage kann man nicht abstellen oder? Ich möchte nicht auch noch einen windows mailserver aufsetzen ;-)
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

die Fehlermeldung erscheint, weil kein Mailserver vorhanden ist. Aber ich werde demnächst mal eine Option einbauen, dass den Mailversand deaktiviert, wenn der Admin das so will.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
richter
Posts: 6
Joined: Wed Aug 11, 2004 11:10 am

Post by richter »

ja, die erste. aber das headers problem bleibt davon unberührt.
ich werde mal später (@home) eine gnu/linux umgebung damit konfrontieren - die Probleme scheinen aber echt viele viele user zu haben. Benutzen die evtl alle PHP5?
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

nein, die benutzen alle Windows.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
richter
Posts: 6
Joined: Wed Aug 11, 2004 11:10 am

Post by richter »

errr.. ok ;-) das war aber nicht meine Frage :-)
vielleicht liegt es ja an PHP. Die meisten Linux Distributionen verwenden zumindest im stable branch noch ein PHP 4.x release...

P.S.: Konnte es gestern nicht unter linux testen, der mysqld läuft nicht auf port 3306 (default).. aber phpmyfaq setzt das voraus(?).
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

das Problem tritt derzeit nur unter Windows und PHP4 und PHP5 auf. MySQL muss derzeit auf Port 3306 laufen, das könnte man aber in der MySQL-Klasse ändern.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply