(fast) frisches Wordpress: Upgrade auf neue Version -> PHP Fehler

  • hi,

    ich habe hier zwei Blogs, die produzieren nur Fehler:

    Blog 1:

    Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in htdocs/wordpress/wp-includes/wp-db.php on line 251

    Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in htdocs/wordpress/wp-includes/wp-db.php on line 256

    [...]

    Warning: Cannot modify header information - headers already sent by (output started at htdocs/wordpress/wp-includes/wp-db.php:251) in htdocs/wordpress/wp-includes/classes.php on line 176

    [...]

    Blog 2 Upgrade von 2.2.2:


    Notice: Undefined index: sidebar-1 in htdocs/wordpress/wp-includes/widgets.php on line 201
    #

    Notice: Trying to get property of non-object in htdocs/wordpress/wp-includes/classes.php on line 442

    Notice: Trying to get property of non-object in htdocs/wordpress/wp-includes/post.php on line 925

    Warning: Cannot modify header information - headers already sent by (output started at htdocs/wordpress/wp-content/themes/default/functions.php:83) in htdocs/wordpress/wp-admin/admin-header.php on line 2

    Notice: Undefined index: fat in htdocs/wordpress/wp-includes/script-loader.php on line 217
    Notice: Undefined index: prototype in htdocs/wordpress/wp-includes/script-loader.php on line 217
    Notice: Undefined index: interface in htdocs/wordpress/wp-includes/script-loader.php on line 217
    Notice: Undefined index: jquery in htdocs/wordpress/wp-includes/script-loader.php on line 217

    [...]

    Bei beiden sind keine Plugins aktiv und es wird das Standard Theme verwendet.

    triela:~# dpkg -l | grep mysql
    ii libdbd-mysql-perl 3.0008-1 A Perl5 database interface to the MySQL data
    ii libmysqlclient15off 5.0.32-7etch4 mysql database client library
    ii mysql-client-5.0 5.0.32-7etch4 mysql database client binaries
    ii mysql-common 5.0.32-7etch4 mysql database common files (e.g. /etc/mysql
    ii mysql-server 5.0.32-7etch4 mysql database server (meta package dependin
    ii mysql-server-5.0 5.0.32-7etch4 mysql database server binaries
    ii php5-mysql 5.2.0-8+etch9 MySQL module for php5
    You have new mail in /var/mail/root


    [edit]

    Die anderen Blogs bringen ähnliche Meldungen:

    zb. "supplied argument is not a valid Directory resource in ...."

    also WP 2.3.2 ging mal gnadenlos in die Hose :-/


    jemand eine Idee?

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • Hast du die upgrade.php durchlaufen lassen nach dem Update? Denn es werden ja eine Menge DB-Struktturen umgestellt...

    Öffne mal die domain.de/wp-admin/upgrade.php und schau, ob er meldet, dass kein DB-Update nötig ist.

    wpseek.com - Die WordPress-Code-Suchmaschine

  • Ich bekomme die gleiche Fehlermeldung wie ganz oben. Sie hat wohl etwas mit einem Debian-Update zu tun, denn sie trat erst danach auf. Bei dem Update wurde auch PHP5 und MYSQL5 geupdatet.

    Nun habe ich noch mal die neueste Wordpres Version hochgeladen und upgrade.php aufgerufen, ohne Erfolg.

    PHP
    is not a valid MySQL result resource

    , obwohl die Datenbankverbindung hergestellt wird.

    Folgende Zeile in wp-db.php verursacht den Fehler:

    PHP
    while ($i < @mysql_num_fields($this->result))



    Hat eine 'ne Ahnung, wo das Problem liegen könnte?

    Grüße,

    fitti

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!