Seite 1 von 1

Bei Änderung der Constants.php Probleme

Verfasst: 15.04.2003 23:46
von Gast
Ich habe nach einer Änderung der Constants.php immer das Problem, dass die nachfolgenden Fehlermeldungen kommen. Was mache ich falsch, bzw. was muss ich ändern?
Forum: 2.0.3 bei einer MOD integration.

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/17912/www.is-sha.de/board/includes/constants.php:366) in /is/htdocs/17912/www.is-sha.de/board/includes/sessions.php on line 182

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/17912/www.is-sha.de/board/includes/constants.php:366) in /is/htdocs/17912/www.is-sha.de/board/includes/sessions.php on line 183

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/17912/www.is-sha.de/board/includes/constants.php:366) in /is/htdocs/17912/www.is-sha.de/board/includes/page_header.php on line 908

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/17912/www.is-sha.de/board/includes/constants.php:366) in /is/htdocs/17912/www.is-sha.de/board/includes/page_header.php on line 910

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/17912/www.is-sha.de/board/includes/constants.php:366) in /is/htdocs/17912/www.is-sha.de/board/includes/page_header.php on line 912

Danke

Grüße Bernd

Verfasst: 15.04.2003 23:48
von dogholiday
Zeig mal einen Auszug von deine Constants.php (ca Zeile 350-375).

Verfasst: 15.04.2003 23:52
von Gast
der Auszug aus meiner constants:

efine('THEMES_TABLE', $table_prefix.'themes');

define('THEMES_NAME_TABLE', $table_prefix.'themes_name');

define('TOPICS_TABLE', $table_prefix.'topics');

define('TOPICS_WATCH_TABLE', $table_prefix.'topics_watch');

define('USER_GROUP_TABLE', $table_prefix.'user_group');

define('USERS_TABLE', $table_prefix.'users');

define('WORDS_TABLE', $table_prefix.'words');

define('VOTE_DESC_TABLE', $table_prefix.'vote_desc');

define('VOTE_RESULTS_TABLE', $table_prefix.'vote_results');

define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');

define('TOPIC_VIEW_TABLE', $table_prefix.'topic_view');


?>

ich habe verucht, den who viewed hack zu installieren, dabei habe ich die letzte Zeile und weiter oben ca. 245 (beide FETT) eingefügt.

define('PAGE_GROUPCP', -11);

define('PAGE_TOPIC_VIEW', -12);

define('PAGE_TOPIC_OFFSET', 5000);


Wenn ich die original datei zurückspiel ist alles wieder OK.

Grüße

Verfasst: 15.04.2003 23:52
von Acid
..einfach darauf achten, das Dein Editor keine unnötigen Leerzeilen, Absätze oder irgendwelche Zeichen nach ?> (am Ende) platziert.

Verfasst: 15.04.2003 23:56
von Gast
Welcher ist der beste Editor?

Ich verwende Weaverslave und habe machmal Probleme mit der Zeilennummerrierung:

Grüße

bernd

Verfasst: 16.04.2003 00:00
von Gast
Danke, habe die Datei mit dem Editor gespreichert, und alles war OK.

Grüße


Bernd