Menu

send_remin​ders.php error (Headers and client library minor version mismatch)

pK
2014-08-07
2015-08-21
  • pK

    pK - 2014-08-07

    Hello,

    I have been using WebCalendar without any issues on my system for quite a while, until I updated my system last week.

    I'm using Gentoo and PHP 5.3.28 and now I get this error when I run the send_reminders.php command:

    cd /var/www/localhost/htdocs/webcalendar/tools; /usr/bin/php ./send_reminders.php
    PHP Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50537 Library:50620 in /var/www/localhost/htdocs/webcalendar/includes/dbi4php.php on line 105

    I tried recompiling PHP and re-running the WebCalender install script but can't resolve the issue.

    Here are the version details for my PHP:

    PHP 5.3.28-pl3-gentoo (cli) (built: Apr 26 2014 22:33:19)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies

    I'm using WebCalendar version v1.2.7. Can anyone offer me a suggestion please?

    Thanks,
    Patrick.

     
  • pK

    pK - 2014-08-17

    I'm not sure if was just the recent upgrade of PHP on my system, but the issue seems to be resolved now and I'm no longer getting the error message about the minor version mismatch.

    Here's the PHP version I'm using now:

    PHP 5.3.29-pl0-gentoo (cli) (built: Aug 15 2014 13:32:57)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies

     
  • pK

    pK - 2015-08-21

    Well the issue reared its ugly head for me once again and never went away like it did the first time I reported it. I was finally able to resolve it by adding this line under "<?php" in the send_reminders.php:
    error_reporting(0);

    It just quiets things down. I hope this helps anyone else with the issue.

    Cheers,
    pK.

     

Log in to post a comment.