ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Firebird Driver Finally!!

October 21, 2010 1:59am

Subscribe [10]
  • #16 / Apr 23, 2012 12:55pm

    Loretto

    2 posts

    Buenos días! Goof morning!

    Alguien podria ayudarme? /Someona can help me?

    Me arroja: /Throws me:

    A Database Error Occurred

    Unable to connect to your database server using the provided settings.

    Filename: C:\xampplite\htdocs\org\sitis\save\system\database\DB_driver.php

    Line Number: 124


    En el PHP.ini tengo habilitada: / In the PHP.ini have:

    extension=php_interbase.dll

    Mi database.php tiene: /My database.php have:
    $db[‘default’][‘hostname’] = “10.50.1.204”;
    $db[‘default’][‘username’] = “SYSDBA”;
    $db[‘default’][‘password’] = “zitiz”;
    $db[‘default’][‘database’] = “SAVE”;
    $db[‘default’][‘dbdriver’] = “firebird”;
    $db[‘default’][‘port’] = 3050;
    $db[‘default’][‘pconnect’] = TRUE;
    $db[‘default’][‘db_debug’] = TRUE;
    $db[‘default’][‘cache_on’] = FALSE;

  • #17 / Apr 25, 2012 11:33am

    Loretto

    2 posts

    Fixed! When you install firebird you must (if doesnt have) the next line in

    C:\WINDOWS\system32\drivers\etc\services

    gds_db         3050/tcp                   #Firebird

    And have in windows\system32

    GDS32.DLL


    I hope this can be util for someone.

  • #18 / Jun 12, 2012 1:30am

    kichik

    5 posts

    This driver does not work with session on CI 2.1.0. User_data field on database everytime after refresh page cleared. Sorry for my bad english

  • #19 / Jun 14, 2012 7:23pm

    Carlos G

    18 posts

    This driver does not work with session on CI 2.1.0. User_data field on database everytime after refresh page cleared. Sorry for my bad english

    if you are trying to use these driver with sessions managed in the database, you will have to overload your session class, because remember that firebird always returns the field names in UPPERCASE, and the session manager of codeigniter manage the fields for sessions in lowercase


    i haven’t tried it, but i think that could work

    Cheers

  • #20 / Jun 28, 2012 5:03am

    tonyyip

    1 posts

    Is this driver using PHP PDO for firebird? I have firebird database installed, can anyone show me how to install it to PHP (i using WampServer) Thanks.

  • #21 / Jul 22, 2012 2:01am

    kichik

    5 posts

    Not worked… I reload my session class to UPPERCASE (array, db row). My field user_data anything is null. My value LOGGED do not write on database, but if i disable DB it’s ALL right!

    This driver does not work with session on CI 2.1.0. User_data field on database everytime after refresh page cleared. Sorry for my bad english

    if you are trying to use these driver with sessions managed in the database, you will have to overload your session class, because remember that firebird always returns the field names in UPPERCASE, and the session manager of codeigniter manage the fields for sessions in lowercase


    i haven’t tried it, but i think that could work

    Cheers

  • #22 / Oct 15, 2014 12:54pm

    bytelord

    1 posts

    Hi, thanks a lot for this driver. Good work!

    This week, I upgraded a server from Ubuntu 10.04.x to 14.04.1, which comes with PHP 5.5.9 and my CI applications using Firebird stopped working. I just get white screens.

    I’ve notticed that there’s a new version of firebird_driver.php, from about 6 months ago (I was using your code from 2011). Thanks! But I get the same result.

    I installed a fresh virtual machine with Ubuntu 14.04.1 and got the same response, so I now know the problem is not because something got broken in my configurations during the upgrade.

    Then I installed my CI applications in another server, running Ubuntu 12.04.5 with PHP 5.3.10; I installed the php5-interbase extension and everything works OK.

    So I think the problem is with the driver.

    Commenting the connection to Firebird in /config/database.php or replacing the code in /database/drivers/firebird/firebird_driver.php with gibberish or just plain HMTL I get some response from my applications.

    ¿Is there some new way I should activate the intebrase extension in PHP 5.5.9, under Apache 2.4?

    ¿Do you know if something has changed in the way PHP 5.5 manages the interbase extension? ¿Something was deprecated?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases