Beiträge von Tobias Bethke
-
-
Hi,
danke für die Antwort. (Hab gar keine Mail bekommen das ich eine Antwort bekommen habe)
Ja, ein Standart Thema hatte ich auch schon aktiviert, da war der Gleiche Fehler.Kann es sein, das es irgendwas mit dem Netzwerk zu tun hat? Ich hab halt ein Netzwerk erstellt und dann zwei Seiten angelegt (Deutsch und Englisch) das der da Probleme mit anderen Domains hat oder so? Plugins hab ich nur Nextgen Gallery istallier, habe ich aber auch schon Probiert.
Bis jetzt hab ich auch noch keine Lösung gefunden, warum nur die Hauptdomain funkioniert und bei allen anderen dann der Fehler kommt...
Ich hab gelesen das sowas passiert, wenn der Header modifiziert wird. Leider kann ich damit nichts anfangen.
-
Ich nutze Wordpress als Multisite. Wenn ich die Seite über die de Domain aufrufe funktioniert alles und bei der com kommt dann der Fehler: Ich find es halt merkwürdig das eine funkrionert und die andere nicht. Ich schätze mal das hat auch was damit zu tun das ich Wordpress als Zweisprachige Seite verwende? Das da irgendwie ein fehler entsteht. Weile beide Domains auf dem selben Verzeichnis liegen.
Ich hatte so ein fehler noch nie:
Code[B]Warning[/B]: Cannot modify header information - headers already sent by (output started at /var/www/web134128/html/guide-and-drive/index.php:3) in [B]/var/www/web134128/html/guide-and-drive/wp-includes/ms-settings.php[/B] on line [B]98[/B]Quellcode der Datei:
PHP
Alles anzeigen<?php /** * Used to set up and fix common variables and include * the Multisite procedural and class library. * * Allows for some configuration in wp-config.php (see ms-default-constants.php) * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ /** Include Multisite initialization functions */ require( ABSPATH . WPINC . '/ms-load.php' ); require( ABSPATH . WPINC . '/ms-default-constants.php' ); if ( defined( 'SUNRISE' ) ) include_once( WP_CONTENT_DIR . '/sunrise.php' ); /** Check for and define SUBDOMAIN_INSTALL and the deprecated VHOST constant. */ ms_subdomain_constants(); if ( !isset( $current_site ) || !isset( $current_blog ) ) { $domain = addslashes( $_SERVER['HTTP_HOST'] ); if ( false !== strpos( $domain, ':' ) ) { if ( substr( $domain, -3 ) == ':80' ) { $domain = substr( $domain, 0, -3 ); $_SERVER['HTTP_HOST'] = substr( $_SERVER['HTTP_HOST'], 0, -3 ); } elseif ( substr( $domain, -4 ) == ':443' ) { $domain = substr( $domain, 0, -4 ); $_SERVER['HTTP_HOST'] = substr( $_SERVER['HTTP_HOST'], 0, -4 ); } else { wp_load_translations_early(); wp_die( __( 'Multisite only works without the port number in the URL.' ) ); } } $domain = rtrim( $domain, '.' ); $cookie_domain = $domain; if ( substr( $cookie_domain, 0, 4 ) == 'www.' ) $cookie_domain = substr( $cookie_domain, 4 ); $path = preg_replace( '|([a-z0-9-]+.php.*)|', '', $_SERVER['REQUEST_URI'] ); $path = str_replace ( '/wp-admin/', '/', $path ); $path = preg_replace( '|(/[a-z0-9-]+?/).*|', '$1', $path ); $current_site = wpmu_current_site(); if ( ! isset( $current_site->blog_id ) ) $current_site->blog_id = $wpdb->get_var( $wpdb->prepare( "SELECT blog_id FROM $wpdb->blogs WHERE domain = %s AND path = %s", $current_site->domain, $current_site->path ) ); if ( is_subdomain_install() ) { $current_blog = wp_cache_get( 'current_blog_' . $domain, 'site-options' ); if ( !$current_blog ) { $current_blog = get_blog_details( array( 'domain' => $domain ), false ); if ( $current_blog ) wp_cache_set( 'current_blog_' . $domain, $current_blog, 'site-options' ); } if ( $current_blog && $current_blog->site_id != $current_site->id ) { $current_site = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->site WHERE id = %d", $current_blog->site_id ) ); if ( ! isset( $current_site->blog_id ) ) $current_site->blog_id = $wpdb->get_var( $wpdb->prepare( "SELECT blog_id FROM $wpdb->blogs WHERE domain = %s AND path = %s", $current_site->domain, $current_site->path ) ); } else $blogname = substr( $domain, 0, strpos( $domain, '.' ) ); } else { $blogname = htmlspecialchars( substr( $_SERVER[ 'REQUEST_URI' ], strlen( $path ) ) ); if ( false !== strpos( $blogname, '/' ) ) $blogname = substr( $blogname, 0, strpos( $blogname, '/' ) ); if ( false !== strpos( $blogname, '?' ) ) $blogname = substr( $blogname, 0, strpos( $blogname, '?' ) ); $reserved_blognames = array( 'page', 'comments', 'blog', 'wp-admin', 'wp-includes', 'wp-content', 'files', 'feed' ); if ( $blogname != '' && ! in_array( $blogname, $reserved_blognames ) && ! is_file( $blogname ) ) $path .= $blogname . '/'; $current_blog = wp_cache_get( 'current_blog_' . $domain . $path, 'site-options' ); if ( ! $current_blog ) { $current_blog = get_blog_details( array( 'domain' => $domain, 'path' => $path ), false ); if ( $current_blog ) wp_cache_set( 'current_blog_' . $domain . $path, $current_blog, 'site-options' ); } unset($reserved_blognames); } if ( ! defined( 'WP_INSTALLING' ) && is_subdomain_install() && ! is_object( $current_blog ) ) { if ( defined( 'NOBLOGREDIRECT' ) ) { $destination = NOBLOGREDIRECT; if ( '%siteurl%' == $destination ) $destination = "http://" . $current_site->domain . $current_site->path; } else { $destination = 'http://' . $current_site->domain . $current_site->path . 'wp-signup.php?new=' . str_replace( '.' . $current_site->domain, '', $domain ); } header( 'Location: ' . $destination ); die(); } if ( ! defined( 'WP_INSTALLING' ) ) { if ( $current_site && ! $current_blog ) { if ( $current_site->domain != $_SERVER[ 'HTTP_HOST' ] ) { header( 'Location: http://' . $current_site->domain . $current_site->path ); exit; } $current_blog = get_blog_details( array( 'domain' => $current_site->domain, 'path' => $current_site->path ), false ); } if ( ! $current_blog || ! $current_site ) ms_not_installed(); } $blog_id = $current_blog->blog_id; $public = $current_blog->public; if ( empty( $current_blog->site_id ) ) $current_blog->site_id = 1; $site_id = $current_blog->site_id; $current_site = get_current_site_name( $current_site ); if ( ! $blog_id ) { if ( defined( 'WP_INSTALLING' ) ) { $current_blog->blog_id = $blog_id = 1; } else { wp_load_translations_early(); $msg = ! $wpdb->get_var( "SHOW TABLES LIKE '$wpdb->site'" ) ? ' ' . __( 'Database tables are missing.' ) : ''; wp_die( __( 'No site by that name on this system.' ) . $msg ); } } } $wpdb->set_prefix( $table_prefix, false ); // $table_prefix can be set in sunrise.php $wpdb->set_blog_id( $current_blog->blog_id, $current_blog->site_id ); $table_prefix = $wpdb->get_blog_prefix(); $_wp_switched_stack = array(); $switched = false; // need to init cache again after blog_id is set wp_start_object_cache(); // Define upload directory constants ms_upload_constants();Ich danke euch :-)
-
Super, Danke Danke Danke. Ich werde schreiben wenn das Ding fertig ist. Nochmals Danke.
-
Den Content findest du unter: http://www.dreampicture.de/wp-admin
Das Projekt selbst liegt nicht auf Eis. Inhalte sind aber auch noch nicht drin. Muss erstmal eins Funktionieren -
Ich bedanke mich, das du dir die Zeit genommen hast Chaote. Wünsche dir noch einen schönen Abend und dann ein schönes Wochenende.
-
Ein praktisches Beispiel wäre supper.
Falls jemand Lust hat:
http://www.dreampicture.de/wp-admin
Name: Gast
Pw: gast1324Irgendwie klappen meine versuche das hinzubekommen nicht so Richtig.
Und das PlugIn More Fields was dabei war, löscht Teile meiner Admin-Navigation. Welches PlugIn verwendet wird ist mir eigendlich egal. Na dann schonmal vielen vielen Dank.
-
Ja da war auch so ein PlugIn dabei, kannte ich aber noch nicht,
also danke für die Antwort. Muss jetzt bloß noch verstehen wie ich das benutzt. Da gibt es bestimmt ein paar deutsche Anleitungen.
Poste dann ein Link, fals später dann mal jemand das gleiche Problem hat.
-
Hab das wohl ein bisschen blöd erklärt.
Wie ich Foto in Beiträge bekomme, Galerien erstelle ... weis ich alles, ist auch nicht mein erster Blog.
Nur mit dem Fotoblog komm ich nicht klar:
Auf meinem Blog: http://www.dreampicture.de/ sieht man dann später eine Übersicht von Fotos wie hier: http://wpelites.com/ die praktisch den Beitrag zugeordnet sind, aber nach meiner Meinung nicht direkt im Beitrag eingefügt werden, würde ich das Foto direkt im Beitrag einfügen würde es ja auch beim Text zusehen sein, was es aber nicht soll.
Ich hoffe es ist verständlich, weis nicht wie ich es sonst erklären soll.
[COLOR=Red]Ein Beispiel:[/COLOR]
Hier siehst du einen Beitrag wo ein Bild (Goldenes Wordpress W) mit drin ist. Aber dieses Bild soll nicht im Beitrag stehen, sondern in dem dazugehörenden Feld oberhalb des Beitrags. Wo zurzeit "Screenshot Not Available" steht.
http://www.dreampicture.de/?p=1
:confused:
-
Hi Leute hab mal ne Frage an euch:
ich bin gerade dabei ein Fotoblog zuerstellen. Aber wenn ich Artikel erstell, wo sag ich den das er ein bestimmtes Foto nehmen soll? Das Foto ist ja nicht direkt im Beitrag drin.
Irgendwo muss man dem das doch zuordner können:confused:
Hier ein Beispiel wie es aussehen soll: http://wpelites.com/
Meine neue Seite: http://www.dreampicture.de/ (wo gerade noch nichts drauf ist)Aber ich bekomm das auch allgemein bei kein Foto Thema hin. Also irgendwas muss ich übersehen.
Danke für die Hilfe.
-
hat sich erledigt, wie kann man hier einen Beitrag Löschen?