Hallo liebe WPler,
folgendes Problem für http://www.blogpartei.de
- Der W3C - Validator spuckt mir einen einzigen Fehler aus, der ist aber hartnäckig:
Zu finden unter
- Wenn man meine Seite lädt, taucht kurz bevor die Seite (korrekt angezeigt) erscheint eine weiße Seite mit folgendem Symbol auf "" (halbe Sekunde, dann ist das Ganze weg und die normale Seite lädt)
Nun hab ich nachgeforscht und habe insbesondere seltsame Zeichen oder Zeilenumbrüche in meinen Dateien (wp-config, header, index etc.) gesucht, aber nichts gefunden. Vor der ersten Zeile des Headers (wo die Phrase aus 1. steht) ist nicht. Kein Zeichen, keine Leerzeile, nichts.[INDENT]Anmerkung: Ich habe im Moment leichte Probleme mit UTF-8 und zwar in der Weise, dass ich in der wp-config kein utf8 einstellen kann, sondern das charset leer lassen muss
[/INDENT][INDENT]
[/INDENT][INDENT]Grund: Stelle ich utf8 dort ein hab ich tolle Umlaute wie[size=10] ä[/SIZE] ö ü. (in der header.php bzw. im Wordpress ist es eingestellt, war auch die letzten Monate immer bei mir eingestellt afaik und funktionabel)
[/INDENT]Frage: Was kann das noch sein? Kann das Problem aus 1. und 2. mit dem utf8-Problem zusammenhängen? Ich habe auch in einem Fall gelesen, dass es an einer falschen bzw. überschrittenen Breite des wrappers lag, das scheint jedoch bei mir nicht der Fall zu sein.
Angehängt: wp-config.php, header.php, index.php, style.css
wp-config.php
<?php
@ini_set("memory_limit",'32M');
// ** MySQL Einstellungen ** //
define('WP_CACHE', true); //Added by WP-Cache Manager
define('DB_NAME', '---); // Der Name der Datenbank, die du benutzt.
define('DB_USER', '---'); // Dein MySQL-Datenbank-Benutzername.
define('DB_PASSWORD', '---'); // Dein MySQL-Passwort.
define('DB_HOST', '---'); // In 99% der Fälle musst du hier nichts ändern.
define('DB_CHARSET', '');
define('DB_COLLATE', '');
$table_prefix = 'wp_'; // Nur Zahlen, Buchstaben und Unterstriche bitte!
define ('WPLANG', 'de_DE');
if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); require_once(ABSPATH . 'wp-settings.php'); ?>
Alles anzeigen
Header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archiv <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<style type="text/css" media="screen" />
<meta name="blogpartei" content="blogpartei - ein münchener musikblog" />
<?php if (is_home()) { ?><meta name="description" content="Ein Münchener Musikblog" /><?php } ?>
<meta name="ICBM" content="48.128,11.571" />
<?php wp_head(); ?>
</head>
<body>
<div class="wrapper">
<div class="head" onclick="location.href='http://blogpartei.de';" style="cursor: pointer;"></div>
Alles anzeigen
index.php
<?php get_header(); ?>
<div id="wrapper">
<div class="content">
<div class="latestright">
<?php { query_posts('cat=1161&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<div class="latestright">
<?php { query_posts('cat=1&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<div class="latestleft">
<?php { query_posts('cat=367&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<br class="clear" />
<div class="latestright">
<?php { query_posts('cat=48&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<div class="latestright">
<?php { query_posts('cat=608&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<div class="latestleft">
<?php { query_posts('cat=986&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<br class="clear" />
<!-- ?php query_posts('cat=1400&showposts=5');?> -->
<!-- <?php while (have_posts()):the_post();?> -->
<!-- <a href="<?php echo get_post_meta($post->ID, 'link', true); ?>" title="<?php echo get_post_meta($post->ID,'title', true); ?>"><img src="<?php echo get_post_meta($post->ID, 'image', true); ?>" alt="Zum Stream"height="50"/></a>-->
<!-- <?php endwhile ;?> -->
<!-- Stop editing categories here. -->
</div>
</div>
<?php get_footer() ?>
Alles anzeigen
style.css
/*
Theme Name: Icky
Theme URI: http://www.blogpartei.de
Description: Grid-based home, blogesque arcticle view
Version: 1.0
Author: Thomas Liesch
Author URI: http://www.blogpartei.de
/* 00 - GLOBAL ELEMENTS
/* ----------------------------------------------*/
body {
margin:0; padding:0;
width:auto; height:auto;
background: #1c0c01 url(images/bg_png.png) repeat;
color:#c1a045;
font-size: 11px;
line-height: 15px;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
}
.wrapper {
margin-left: auto;
margin-right: auto;
width: 950px;
}
.content {
margin-left: auto;
margin-right: auto;
width: 950px;
}
.head {
background: url(images/bck.png) no-repeat;
width: 950px;
margin: 0 0 20px 0;
height: 170px;
}
.sidebar {
float: right;
padding: 0 0 0 75px;
width: 275px;
}
.footer {
width: 950px;
margin: 0;
padding: 0;
}
blockquote, {
margin:0; padding:10px 20px;
background:#f1eddb;
border:1px solid #e0d9b9;
font color:#928071;
}
.post-date {
margin:10px 0 -20px -85px; padding:0;
width:50px; height:50px;
background:url(images/date.gif) no-repeat top center;
position:absolute !important; position:relative; float:left;
display:inline;
text-align:center;
}
.stream {
display: block;
margin: 0 auto;
}
/* -- submit --*/
.text {
margin:0; padding:4px;
background:url(images/input.gif);
border:1px solid #c1a045;
font:9px Arial, Helvetica, sans-serif; color:#c1a045;
}
/* 01 - BEFEHLE
/* ----------------------------------------------*/
.latestleft { float:left; padding-right: 36px; width:280px; }
.latestright { float:right; padding-right: 36px; width:280px; }
.clear { clear:both;margin-top:20px;padding-top:50px; }
.clearfloat {
clear: both;
}
.clearfix { display: inline-block; }
.left {
float: left;
}
.right {
float: right;
}
.rssdown {
vertical-align: sub;
}
.block {
display:block;
}
.post {
margin:25 0 25px 0; padding:0 0 35px 0;
background:url(images/post.gif) no-repeat bottom left;
}
...gekürzt, Rest Typographie und Co.
Alles anzeigen