Startseite
  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche
Startseite › Forum › Drupalcenter.de › Allgemeines zu Drupal ›

Installationsprobleme bei Drupal 5.1: session und headers [gelöst]

Eingetragen von lecourageux (12)
am 28.02.2007 - 00:06 Uhr in
  • Allgemeines zu Drupal

Hallo Drupal-Community!

Ich möchte gerne ein Drupal-Projekt für meinen Verein realisieren. Dazu möchte ich gerne 5.1 benutzen, da ich nicht so viele Module benötige und auf einige (CiviCRM) auch noch etwas warten kann. Nach anfänglichen Problemen wegen mangelnder Rechte bei der DB-Installation, habe ich zumindest die DB mit einem Workaround realisieren können: Ich habe Drupal lokal installiert und dann die Installation mittels .sql-Datei, FTP und manueller Modikfikation der settings.php auf meinen Server gespielt. Das hat auch ganz gut geklappt, die Seite läuft. Aber leider mit den folgenden Fehlern. Rufe ich die Seite auf, erscheint im Header folgende Fehlermeldung:

Warning: ini_set(): Unable to access in /usr/local/httpd/htdocs/kunden/web107/html/drupal/sites/default/settings.php on line 137

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/web107/html/drupal/sites/default/settings.php:137) in /usr/local/httpd/htdocs/kunden/web107/html/drupal/includes/bootstrap.inc on line 811

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/local/httpd/htdocs/kunden/web107/html/drupal/sites/default/settings.php:137) in /usr/local/httpd/htdocs/kunden/web107/html/drupal/includes/bootstrap.inc on line 811

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/web107/html/drupal/sites/default/settings.php:137) in /usr/local/httpd/htdocs/kunden/web107/html/drupal/includes/bootstrap.inc on line 488

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/web107/html/drupal/sites/default/settings.php:137) in /usr/local/httpd/htdocs/kunden/web107/html/drupal/includes/bootstrap.inc on line 489

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/web107/html/drupal/sites/default/settings.php:137) in /usr/local/httpd/htdocs/kunden/web107/html/drupal/includes/bootstrap.inc on line 490

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/web107/html/drupal/sites/default/settings.php:137) in /usr/local/httpd/htdocs/kunden/web107/html/drupal/includes/bootstrap.inc on line 491

Wer möchte kann sich das auch live ansehen: Mein Drupal-Projekt

Wenn ich mich anmelden möchte, erhalte ich nur noch Fehlermeldungen und wenn ich einen neuen Benutzer registrieren möchte, dann kann ich das zwar, aber bei Benutzung des Links aus der E-Mail, erscheinen nur noch Fehlermeldungen. Probiert es ruhig live mit der Registrierung.

Hier die Daten meines Servers: Apache/1.3.26 (Linux/SuSE) PHP/4.3.3 mySQL 2.3.3pl1 phpMyAdmin 3.23.52-log

Hier die beanstandeten Zeilen aus der bootstrap.inc

[811] session_start();

und

[487] function drupal_page_header() {
      [488] header("Expires: Sun, 19 Nov 1978 05:00:00 GMT");
      [489] header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
      [490] header("Cache-Control: no-store, no-cache, must-revalidate");
      [491] header("Cache-Control: post-check=0, pre-check=0", FALSE);
      [492] }

Hier noch meine .htaccess bei der ich leider viel auskommentieren musste (siehe meine Anmerkungen):

#
# Apache/PHP/Drupal settings:
#

# Protect files and directories from prying eyes.
<FilesMatch "(\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)|code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
  Order allow,deny
  Deny from all
</FilesMatch>

# Don't show directory listings for URLs which map to a directory.
#Options -Indexes #CAUSES ERROR 500

# Follow symbolic links in this directory.
#Options +FollowSymLinks #CAUSES ERROR 500

# Customized error messages.
ErrorDocument 404 /index.php

# Set the default handler.
DirectoryIndex index.php

# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.

# PHP 4, Apache 1. #CAUSES ERROR 500
#<IfModule mod_php4.c>
  #php_value magic_quotes_gpc                0
  #php_value register_globals                0
  #php_value session.auto_start              0
#</IfModule>

# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
</IfModule>

# PHP 5, Apache 1 and 2.
#<IfModule mod_php5.c>
  #php_value magic_quotes_gpc                0
  #php_value register_globals                0
  #php_value session.auto_start              0
#</IfModule>

# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
  # Enable expirations.
  ExpiresActive On
  # Cache all files for 2 weeks after access (A).
  ExpiresDefault A1209600
  # Do not cache dynamically generated pages.
  ExpiresByType text/html A1
</IfModule>

# Various rewrite rules.
<IfModule mod_rewrite.c>
  #RewriteEngine on #CAUSES ERROR 403

  # If your site can be accessed both with and without the prefix www. you
  # can use one of the following settings to force user to use only one option:
  #
  # If you want the site to be accessed WITH the www. only, adapt and
  # uncomment the following:
  # RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
  # RewriteRule .* http://www.example.com/ [L,R=301]
  #
  # If you want the site to be accessed only WITHOUT the www. prefix, adapt
  # and uncomment the following:
  # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
  # RewriteRule .* http://example.com/ [L,R=301]

  # Modify the RewriteBase if you are using Drupal in a subdirectory and
  # the rewrite rules are not working properly.
  #RewriteBase /drupal #CAUSES ERROR 500

  # Rewrite old-style URLs of the form 'node.php?id=x'.
  #RewriteCond %{REQUEST_FILENAME} !-f
  #RewriteCond %{REQUEST_FILENAME} !-d
  #RewriteCond %{QUERY_STRING} ^id=([^&]+)$
  #RewriteRule node.php index.php?q=node/view/%1 [L]

  # Rewrite old-style URLs of the form 'module.php?mod=x'.
  #RewriteCond %{REQUEST_FILENAME} !-f
  #RewriteCond %{REQUEST_FILENAME} !-d
  #RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
  #RewriteRule module.php index.php?q=%1 [L]

  # Rewrite current-style URLs of the form 'index.php?q=x'.
  #RewriteCond %{REQUEST_FILENAME} !-f
  #RewriteCond %{REQUEST_FILENAME} !-d
  #RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

# $Id: .htaccess,v 1.81 2007/01/09 09:27:10 dries Exp $

Meine Frage ist, ist mir zu helfen, und wenn ja, wie? Wenn mein ISP irgendwelche Änderung an der Konfiguration des Servers ändern muss, dann sagt mir bitte was (ich weiß Upgrade auf aktuelle Versionen wäre wohl das beste, aber vielleicht gibt es ja auch eine weniger aufwendige Lösung).

Schon mal besten Dank!

‹ Forumsbeiträge nicht sichtbar für authenticated user [gelöst] Online Status Block erstellen ›
  • Anmelden oder Registrieren um Kommentare zu schreiben

Schade...

Eingetragen von lecourageux (12)
am 06.03.2007 - 00:51 Uhr

...scheint, als wäre mir nicht zu helfen :D

  • Anmelden oder Registrieren um Kommentare zu schreiben

Problem...

Eingetragen von lecourageux (12)
am 04.05.2007 - 00:04 Uhr

...hat sich insofern gelöst, als dass ich meinen Provider gewechselt habe.

  • Anmelden oder Registrieren um Kommentare zu schreiben

Benutzeranmeldung

  • Registrieren
  • Neues Passwort anfordern

Aktive Forenthemen

  • Netx360
  • Dynamische Ansicht von Seiteninhalt (als Tabelle?)
  • Vergabe von Berechtigungen für bestimmte Rollen; mir fehlt der Haken bzw. das „Veröffentlicht“
  • Ich brauche dringen Hilfe zu Updates oder ggf. wwie geht Composer?
  • Medien und andere Daten mit Feeds von Drupal 7 auf Drupal 10 migrieren
  • Rolle erstellen nicht zu finden
  • für drupal11 ein Slider Modul
  • [gelöst] W3CSS Paragraphs Views
  • Drupal 11 neu aufsetzen und Bereiche aus 10 importieren
  • Wie erlaubt man neuen Benutzern auf die Resetseite zugreifen zu dürfen.
  • [gelöst] Anzeigeformat Text mit Bild in einem Artikel, Drupal 11
  • Social Media Buttons um Insteragram erweitern
Weiter

Neue Kommentare

  • Arrrrg. Nix Tabelle :-D /*
    vor 2 Wochen 2 Tagen
  • Textboxen mit Tabelle
    vor 2 Wochen 2 Tagen
  • Du sollst ja auch keine
    vor 2 Wochen 2 Tagen
  • Theme
    vor 2 Wochen 2 Tagen
  • Welches Theme benutzt du
    vor 2 Wochen 2 Tagen
  • Mit Responsive Raster hatte
    vor 2 Wochen 3 Tagen
  • Hallo Alex,um das Häkchen
    vor 2 Wochen 3 Tagen
  • Modul view_unpublished
    vor 2 Wochen 4 Tagen
  • Modul "override node options"
    vor 2 Wochen 5 Tagen
  • Im Grunde ist dass ein
    vor 3 Wochen 17 Stunden

Statistik

Beiträge im Forum: 250271
Registrierte User: 20479

Neue User:

  • Floydphymn
  • Stevebok
  • Robertnobia

» Alle User anzeigen

User nach Punkten sortiert:
wla9463
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3857
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 65 Gäste online.

Hauptmenü

  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche

Quicklinks I

  • Infos
  • Drupal Showcase
  • Installation
  • Update
  • Forum
  • Team
  • Verhaltensregeln

Quicklinks II

  • Drupal Jobs
  • FAQ
  • Drupal-Kochbuch
  • Best Practice - Drupal Sites - Guidelines
  • Drupal How To's

Quicklinks III

  • Tipps & Tricks
  • Drupal Theme System
  • Theme Handbuch
  • Leitfaden zur Entwicklung von Modulen

RSS & Twitter

  • Drupal Planet deutsch
  • RSS Feed News
  • RSS Feed Planet
  • Twitter Drupalcenter
Drupalcenter Team | Impressum & Datenschutz | Kontakt
Angetrieben von Drupal | Drupal is a registered trademark of Dries Buytaert.
Drupal Initiative - Drupal Association