Hallo,
du schreibst:
Die Seiten lassen sich nicht mehr aktualisieren. Ich gehe also auf eine Seite, ändere eine Zeile oder Zahl, klicke auf Aktualisieren und schwupp springt WP auf den (leeren) Reiter Beiträge.
Teil 1
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in E:\kunden\homepages\22\d571817485\www\wp\wp-includes\wp-db.php on line 1633
die erste Meldung ist eigentlich schon entsprechend.
1. in E:\kunden
echt jetzt - muss man wirklich WordPress auf einen Windows Rechner installieren?!
2. Deine PHP passt nicht zur WordPress Version
\wp-includes\wp-db.php
if ( $this->use_mysqli ) {
$this->dbh = mysqli_init();
// mysqli_real_connect doesn't support the host param including a port or socket
// like mysql_connect does. This duplicates how mysql_connect detects a port and/or socket file.
$port = null;
$socket = null;
$host = $this->dbhost;
$port_or_socket = strstr( $host, ':' );
if ( ! empty( $port_or_socket ) ) {
$host = substr( $host, 0, strpos( $host, ':' ) );
$port_or_socket = substr( $port_or_socket, 1 );
if ( 0 !== strpos( $port_or_socket, '/' ) ) {
$port = intval( $port_or_socket );
$maybe_socket = strstr( $port_or_socket, ':' );
if ( ! empty( $maybe_socket ) ) {
$socket = substr( $maybe_socket, 1 );
}
} else {
$socket = $port_or_socket;
}
}
if ( WP_DEBUG ) {
mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
} else {
@mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
}
if ( $this->dbh->connect_errno ) {
$this->dbh = null;
/* It's possible ext/mysqli is misconfigured. Fall back to ext/mysql if:
* - We haven't previously connected, and
* - WP_USE_EXT_MYSQL isn't set to false, and
* - ext/mysql is loaded.
*/
$attempt_fallback = true;
if ( $this->has_connected ) {
$attempt_fallback = false;
} elseif ( defined( 'WP_USE_EXT_MYSQL' ) && ! WP_USE_EXT_MYSQL ) {
$attempt_fallback = false;
} elseif ( ! function_exists( 'mysql_connect' ) ) {
$attempt_fallback = false;
}
if ( $attempt_fallback ) {
$this->use_mysqli = false;
return $this->db_connect( $allow_bail );
}
}
} else {
if ( WP_DEBUG ) {
// Zeile 1633
$this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );
} else {
Alles anzeigen
Verwende PHP 5.6 besser die aktuelle 7x Version
Notice: wp_enqueue_script wurde fehlerhaft aufgerufen. Skripte und Styles sollten nicht vor den Hooks wp_enqueue_scripts, admin_enqueue_scripts oder login_enqueue_scripts registriert oder eingebunden werden. Please see Debugging in WordPress for more information. (Diese Meldung wurde in Version 3.3.0 hinzugefügt.) in E:\kunden\homepages\22\d571817485\www\wp\wp-includes\functions.php on line 4139
Notice: add_custom_background ist seit Version 3.4.0 veraltet! Benutze stattdessen add_theme_support( 'custom-background', $args ). in E:\kunden\homepages\22\d571817485\www\wp\wp-includes\functions.php on line 3831
Notice: The called constructor method for WP_Widget in ThematerBanners125 is deprecated since version 4.3.0! Use
__construct()
instead. in E:\kunden\homepages\22\d571817485\www\wp\wp-includes\functions.php on line 3894
Die restlichen Fehler kannst du eigentlich auch eben beseitigen.
Und WordPress auf einem Linux pp Unix System macht einfach mehr spass.