Ветвь git постоянно воссоздается при вытягивании

У меня есть ветка git, которая постоянно «воссоздается» с чередованием букв регистров каждый раз, когда я выполнить "git pull". Предполагая, что имя ветки - «a» (или «A», насколько я знаю), один «git pull» выдаст строку:

* [new branch]      a       -> origin/a

А затем следующий «git pull» выдаст:

* [new branch]      A       -> origin/A

Это никогда не прекращается. ...

I have this PHP function which has been working very well until i reinstalled my dev system:

function connectDB($database, $username, $password) {

    $DSN = "mysql:host=localhost;dbname=$database";

    try {
        $DBH = new PDO($DSN, $username, $password); <--- LINE 10
        return $DBH;
    }
    catch(PDOException $e) {
        die("Could not connect to the database.\n");
    }
}

And i'm getting the error:

PHP Fatal error:  Class 'PDO' not found in /var/www/im/tools.php on line 10

I checked phpinfo() and PDO is enabled:

PDO drivers : mysql

PDO Driver for MySQL version: 5.1.54

The interesting thing is that the interaction with th MYSQL database is ok, but i'm still getting the error when debugging.

I'm puzzled about this error! My system is Ubuntu 11.04 + NGINX + PHP 5.3

Any tip to get rid of it? Thanks!

5
задан Alastair Irvine 27 May 2014 в 04:43
поделиться