MyBB.de Forum
Site News plugin installations problemes - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Archiv (https://www.mybb.de/forum/forum-57.html)
+--- Forum: MyBB 1.2.x und älter (https://www.mybb.de/forum/forum-27.html)
+---- Forum: Installation/Aktualisierung (https://www.mybb.de/forum/forum-37.html)
+---- Thema: Site News plugin installations problemes (/thread-7300.html)



Site News plugin installations problemes - ignos - 05.10.2007

Hi,

habe das Site News plugin installiert soweit klappt ja auch alles. aber er haut mir immer folgenden Fehler auf die Seite unter dem Plugin
PHP-Code:
WarningCannot modify header information headers already sent by (output started at /home/www/web1/html/forum/inc/plugins/newsplugin.php:247in /home/www/web1/html/forum/inc/functions.php on line 86 

habe orginal function.php und global.php nochmal hochgeladen, aber hat nichts gebracht.


RE: Site News plugin installations problemes - NetHunter - 05.10.2007

Öffne die Datei inc/plugins/newsplugin.php und stelle sicher, dass sich am Ende nach dem ?> keine Leerzeichen oder sonstwas befindet.


RE: Site News plugin installations problemes - ignos - 05.10.2007

habe ich schon gemacht mit einen html editor und nicht mit dem windows editor, habe auch nochmal die orginal newsplugin.php hochgeladen. Aber ohne Wirkung. Die Zeile 247 in der Newsplugin.php ist diese
PHP-Code:
echo $postdata

Habe nochmal die orginale function.php draufgemacht von einem frischen Zip Archiv der MYBB version 1.2.9. Jetzt kommt folender Fehler.
PHP-Code:
Fatal errorCall to undefined function iif() in /home/www/web1/html/forum/global.php(336) : eval()'d code on line 1 

Tja Fehler über Fehler.Global. Weiß einer Rat?


RE: Site News plugin installations problemes - StefanT - 05.10.2007

Zum iif-Problem: Baue diese Modifikations ein: http://community.mybboard.net/showthread.php?tid=14042
Hast du einen Link zu der Seite, wo du das Plugin eingebaut hast?


RE: Site News plugin installations problemes - ignos - 05.10.2007

Danke das iff Problem ist nun behoben. Aber der Fehler
PHP-Code:
WarningCannot modify header information headers already sent by (output started at /home/www/web1/html/forum/inc/plugins/newsplugin.php:247in /home/www/web1/html/forum/inc/functions.php on line 84 
besteht nocht
@Dragon die Seite befindet sich noch im Aufbau


RE: Site News plugin installations problemes - StefanT - 05.10.2007

Wie lautet der Code, den du in deine Website eingebaut hast? Kannst du mir per PN vielleicht den Link geben?


RE: Site News plugin installations problemes - ignos - 05.10.2007

Hier die Index für Dragon

Code übernommen von Installationsanleitung.

PHP-Code:
define("IN_MYBB"1);
define("KILL_GLOBALS"1);
define("NO_ONLINE"1);

// The Directory to the forum you are using this on.
// You do not need a beggining or trailing slash
$directory_to_forum "";

require 
dirname(__FILE__)."/".$directory_to_forum."./global.php";

$plugins->run_hooks("site_news_plugin_run"); 



RE: Site News plugin installations problemes - StefanT - 05.10.2007

https://www.mybb.de/forum/showthread.php?tid=19452&pid=4679#pid4679


RE: Site News plugin installations problemes - ignos - 05.10.2007

Danke das habe ich schon gelesen gehabt, aber schau mal hier http://www.hexenzeiten.hohe-magie.de/index.php

Sie hat es doch ins Forum eingebaut oder irre ich mich :question:


RE: Site News plugin installations problemes - StefanT - 05.10.2007

Ich sehe nur ein ganz normales Portal.