4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: hummel on November 18, 2010, 04:16:28 PM

Title: Cannot modify header information - headers already sent by
Post by: hummel on November 18, 2010, 04:16:28 PM
English


need help
have additional pages uploaded to this Toturial:
http://www.4homepages.de/forum/index.php?topic=23037.msg125757#msg125757 (http://www.4homepages.de/forum/index.php?topic=23037.msg125757#msg125757)
Result:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/******/httpdocs/eingabe.php:5) in /var/www/******/httpdocs/includes/sessions.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at /var/www/******/httpdocs/eingabe.php:5) in /var/www/******/httpdocs/includes/sessions.php on line 101

I look after:
/var/www/*******/httpdocs/eingabe.php:5 :101 : if ($is_first_word || $operator == "or" || $operator == "oder") {
im httpdocs/includes/sessions.php : 101 : $cookie_expire = ($permanent) ? $this->current_time + 60 * 60 * 24 * 365 : 0;


what is wrong?




German


Brauche jetzt mal Hilfe.
suche schon die ganze Zeit aber leider ohne Erfolg.
habe zusätzliche Seiten hochgeladen nach diesem Toturial:
http://www.4homepages.de/forum/index.php?topic=23037.msg125757#msg125757 (http://www.4homepages.de/forum/index.php?topic=23037.msg125757#msg125757)
aber das Resultat:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/******/httpdocs/eingabe.php:5) in /var/www/******/httpdocs/includes/sessions.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at /var/www/*****/httpdocs/eingabe.php:5) in /var/www/*****/httpdocs/includes/sessions.php on line 101

wenn ich danach schaue:  /var/www/*******/httpdocs/eingabe.php:5 :101 : if ($is_first_word || $operator == "or" || $operator == "oder") {

(richtig? im 4images root verzeichnis)

im httpdocs/includes/sessions.php : 101 : $cookie_expire = ($permanent) ? $this->current_time + 60 * 60 * 24 * 365 : 0;

das habe ich bei allen neu hochgeladenen Seiten.

was mache ich verkehrt?

Title: Re: Cannot modify header information - headers already sent by
Post by: Sunny C. on November 18, 2010, 04:26:31 PM
http://www.4homepages.de/forum/index.php?topic=3378.0
look into lang/LANGUAGE/main.php on line 101 make sure nothing is after ?>

or

http://www.4homepages.de/forum/index.php?topic=25252.0
Title: Re: Cannot modify header information - headers already sent by
Post by: Jan-Lukas on November 18, 2010, 04:26:43 PM
lese dir das mal durch
http://www.4homepages.de/forum/index.php?topic=4606.msg126646#msg126646

LG
Title: Re: Cannot modify header information - headers already sent by
Post by: hummel on November 18, 2010, 06:05:30 PM
http://www.4homepages.de/forum/index.php?topic=3378.0
look into lang/LANGUAGE/main.php on line 101 make sure nothing is after ?>

or

http://www.4homepages.de/forum/index.php?topic=25252.0

no...
101 $lang['headline'] = "Überschrift:";
.
.
.
?>
</head>

lese dir das mal durch
http://www.4homepages.de/forum/index.php?topic=4606.msg126646#msg126646

LG


hatte ich mir durchgelesen...
aber leider kann ich nichts damit anfangen :(

ich mache alles über NVU


gibt es eine andere Alternative seiten dazu hochzuladen?


Title: Re: Cannot modify header information - headers already sent by
Post by: V@no on November 18, 2010, 06:06:27 PM
the question is, what is eingabe.php and what does it have on first 10 lines?
Title: Re: Cannot modify header information - headers already sent by
Post by: hummel on November 18, 2010, 06:29:58 PM
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<?php /**************************************************************************
5* *
6* 4images - A Web Based Image Gallery Management System *
7* ---------------------------------------------------------------- *
8* *
9* File: search.php *
10* Copyright: (C) 2002-2009 Jan Sorgalla *

or this?

26 $main_template = 'eingabe';
27 define('GET_CACHES', 1);
28 define('ROOT_PATH', './');
29 include(ROOT_PATH.'global.php');
30 require(ROOT_PATH.'includes/sessions.php');
31 $user_access = get_permission();
32 include(ROOT_PATH.'includes/search_utils.php');
33 error_reporting(E_ALL);
34 $org_search_keywords = $search_keywords;
35 $org_search_user = $search_user;




91 if ($search_word_cache[$i] == "and" || $search_word_cache[$i] == "und" || $search_word_cache[$i] == "or" || $search_word_cache[$i] == "oder" || $search_word_cache[$i] 91 == "not") {
92 if (!$is_first_word) {
93 $operator = $search_word_cache[$i];
94 }
95 }
96 elseif (is_array($search_word_cache[$i])) {
97 if ($search_terms) {
98 $operator = "and";
99 }
100 foreach ($search_word_cache[$i] as $key => $val) {

or line
101 if ($is_first_word || $operator == "or" || $operator == "oder") {

eingabe.php is a additional page
Title: Re: Cannot modify header information - headers already sent by
Post by: V@no on November 18, 2010, 06:45:26 PM
remove everything before <?php
Title: Re: Cannot modify header information - headers already sent by
Post by: hummel on November 18, 2010, 06:53:58 PM
oh. I have ...
can it be ... because I
DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.01 Transitional / / EN">
<html>
<head>

out had it about?
warning is gone!
thank you thank you