Fork me on GitHub

Migrating 1.2.8 to 1.3.0  Bottom

  • I am migrating the first of my sites. I just can't seem to get past these errors: Most likely related to config.php?

    =============

    Uncaught exception Couldn't locate driver named mysql in /home/french/public_html/lib/vendor/Doctrine/Doctrine/Connection.php line, 486
    #0 /home/french/public_html/lib/vendor/Doctrine/Doctrine/Connection/Mysql.php(101): Doctrine_Connection->connect()
    #1 /home/french/public_html/lib/vendor/Doctrine/Doctrine/Connection.php(1001): Doctrine_Connection_Mysql->connect()
    #2 /home/french/public_html/lib/vendor/Doctrine/Doctrine/Connection.php(850): Doctrine_Connection->execute('SHOW TABLES', Array)
    #3 /home/french/public_html/lib/vendor/Doctrine/Doctrine/Import/Mysql.php(221): Doctrine_Connection->fetchColumn('SHOW TABLES')
    #4 /home/french/public_html/upgrade.php(526): Doctrine_Import_Mysql->listTables()
    #5 /home/french/public_html/upgrade.php(45): upgrade_getColumnsForTable(Object(Doctrine_Connection_Mysql), 'modules')
    #6 {main}

    =============

    Any ideas?

    Marc
  • Sounds like PHP doesn't have PDO/mysql compiled/loaded. If you are running your own server make sure to install PHP-mysql (CentOS/RHEL) or php5-mysql on Debian/Ubuntu.

    Drak

    --
    Zikula Lead Developer
    Board Member of the Zikula Foundation
    Follow me on twitter.com/zikuladrak
  • I don't run my own server but have servers hosted on http://www.123ehost.com. Is this extension usually present on a stock mySQL install?

    123ehost.com were great at upgrading one of their servers to PHP5.3.6 and had to trouble shoot my newly upgraded Zikulav.1.2.8 sites because they came up blank. They found that the mbstring extension had to be added. This should also be added to a " systems requirements" section on the "download page" for both Zikula v.1.2.8 and 1.3.0 Wiki. This would warn people that the mbstring extension should be installed.

    Should the PDO/mysql also be listed as a Zikula systems requirement on the download Wiki page? I notice that there is a reference here: http://code.zikula.org/core/ticket/3102 of such a problem.

    Marc
  • If you want my honest opinion, then no. Considering 99.9% of all web-apps require PHP and MySQL I cannot understand why someone would compile PHP without PDO support. In fact, it's supposed to be built in which means they specifically have disabled it during a custom compile.

    The quoted ticket is actually something else that was actually an edge case bug.

    Drak

    --
    Zikula Lead Developer
    Board Member of the Zikula Foundation
    Follow me on twitter.com/zikuladrak
  • Thanks for the reply. I've put in a request for them to check the PDO support. I'll ask them the reason if PDO has been disabled.

    Marc



    Edited by MarcPare on Oct 25, 2011 - 01:52 AM.
  • 0 users

This list is based on users active over the last 60 minutes.