• hey there,
    today itself i updated to v4.5 on my website https://www.clatpress.com and after that i am unable to access the website as an administrator or even as public i get two messages stating:
    Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50542 Library:50626 in /home/clatpkev/public_html/wp-includes/wp-db.php on line 1515
    Warning: Cannot modify header information – headers already sent by (output started at /home/clatpkev/public_html/wp-includes/wp-db.php:1515) in /home/clatpkev/public_html/wp-includes/pluggable.php on line 1171
    please help

Viewing 6 replies - 1 through 6 (of 6 total)
  • wp check wp_config.php on your database connection details.

    and now first apply this

    hello, so all what should i do is to replace this in wp-db.php on line 1515:

    $this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );

    to this:

    if ( WP_DEBUG ) {
    				$this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );
    			} else {
    				$this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );
    			}

    Please reply which php version u have used ?

    Thread Starter shashwatsingh

    (@shashwatsingh)

    hey ravi
    i am not sure what it is because i got everything set up from a third party

    I also updated WP, and getting same error like shashwatsingh saying. But the site is loading with the error on top.

    site link is – https://www.valuesfirst.in

    ” Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50542 Library:50626 in /home/value5qi/public_html/wp-includes/wp-db.php on line 1515 “

    Any solution ?? ??

    Please help…..

    HI shashwatsingh,
    Iam facing same problem as urs. Can u please help me to fix dis. I cant even access my admin panel.

    Thanks

    Anonymous User 10176140

    (@anonymized-10176140)

    HI shashwatsingh,
    Iam facing same problem as urs. Can u please help me to fix dis. I cant even access my admin panel.

    Thanks

    I see that you resolved the error on your website. I have the same – how did you solve it?

    Moderator Marius L. J.

    (@clorith)

    Hi all,

    This error is covered in our 4.5 master list (specifically this post: https://www.ads-software.com/support/topic/read-this-first-wordpress-45-master-list?replies=7&view=all#post-8274461), and is something your host should fix for you (it’s a simple fix that takes all of a few seconds, so it shouldn’t be a big deal for them to do this).

    We highly discourage editing core files, as any changes you make will both be lost the next time WordPress updates, but also because it can cause unexpected behaviors in plugins, themes, and WordPress it self.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘upgraded to v4.5 and cant access website anymore’ is closed to new replies.