• Topic
  • Discussion
  • UdaWikiWeb.CallToUndefinedFunction(Last) -- Owiki? , 2016-08-19 14:59:40 Edit owiki 2016-08-19 14:59:40

    Error Messages (C)

    A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #

    Call to undefined function: odbc_connect()

    "Call to undefined function: odbc_connect()" error messages suggest that ODBC support was not compiled into PHP. You can check by viewing the output of the phpinfo() command. Create a simple page like:

    <?php
    phpinfo();
    ?>
    

    Load this page into your browser and review the ODBC section.

    The failure of "odbc_connect()" being defined may indicate that you have more than one PHP instance on your machine. Use the same phpinfo(); tag to check the odbc status of your PHP installation. If it doesn't show enabled with iODBC, then you may have some "default" PHP running on your client host, and the wrong one is getting started.


    Referenced by...