error when try to setup site flyff by Xampp

Results 1 to 10 of 10
  1. #1
    Registered hossamx is offline
    MemberRank
    Mar 2021 Join Date
    9Posts

    sad error when try to setup site flyff by Xampp

    Hello!

    i tried to setup Site flyff by useing Xampp but when i configration all thing to make a connection to sql i saw this error when i try to open site .
    Error :
    Fatal error: Uncaught Error: Call to undefined function odbc_connect() in C:\xampp\htdocs\includes\xinc_config.php:18 Stack trace: #0 C:\xampp\htdocs\index.php(4): require_once() #1 {main} thrown in C:\xampp\htdocs\includes\xinc_config.php on line 18

    i maked sure all info for connection its correct.


  2. #2
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    LocalhostLocation
    1,842Posts

    Re: error when try to setup site flyff by Xampp

    Make sure the SQL Driver for PHP is installed and that you enable both odbc extensions in php.ini
    Discord: ηєxυѕ#0003 | Forum Contact: Click Here | Community Rules & Guidelines: Click Here

  3. #3
    Registered hossamx is offline
    MemberRank
    Mar 2021 Join Date
    9Posts

    Re: error when try to setup site flyff by Xampp

    Quote Originally Posted by Ketchup View Post
    Make sure the SQL Driver for PHP is installed and that you enable both odbc extensions in php.ini
    yes i installed it and add this on php.ini
    extension=php_pdo_sqlsrv_80_ts_x64.dllextension=php_sqlsrv_80_ts_x64.dll

  4. #4
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    LocalhostLocation
    1,842Posts

    Re: error when try to setup site flyff by Xampp

    odbc_connect < is a sign that ODBC is not enabled in php.ini.

    There are 2 instances of it and both need to be enabled and apache rebooted.
    Discord: ηєxυѕ#0003 | Forum Contact: Click Here | Community Rules & Guidelines: Click Here

  5. #5
    Registered hossamx is offline
    MemberRank
    Mar 2021 Join Date
    9Posts

    sad Re: error when try to setup site flyff by Xampp

    Quote Originally Posted by Ketchup View Post
    odbc_connect < is a sign that ODBC is not enabled in php.ini.

    There are 2 instances of it and both need to be enabled and apache rebooted.
    i tried this also in Laragon its get the same problem

    Fatal error: Uncaught Error: Call to undefined function odbc_connect() in C:\laragon\www\includes\xinc_config.php:17 Stack trace: #0 C:\laragon\www\index.php(4): require_once() #1 {main} thrown in C:\laragon\www\includes\xinc_config.php on line 17

  6. #6
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    LocalhostLocation
    1,842Posts

    Re: error when try to setup site flyff by Xampp

    Post your php.ini of XAMPP not laragon.
    Discord: ηєxυѕ#0003 | Forum Contact: Click Here | Community Rules & Guidelines: Click Here

  7. #7
    Registered hossamx is offline
    MemberRank
    Mar 2021 Join Date
    9Posts

    Re: error when try to setup site flyff by Xampp


  8. #8
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    LocalhostLocation
    1,842Posts

    Re: error when try to setup site flyff by Xampp

    Quote Originally Posted by hossamx View Post
    It's because ODBC is not enabled like I said and it shows in your php.ini.

    Make these two:
    Code:
    ;extension=odbc
    ;extension=pdo_odbc
    Look like:
    Code:
    extension=odbc
    extension=pdo_odbc
    Save and then restart apache.
    Discord: ηєxυѕ#0003 | Forum Contact: Click Here | Community Rules & Guidelines: Click Here

  9. #9
    Registered hossamx is offline
    MemberRank
    Mar 2021 Join Date
    9Posts

    Re: error when try to setup site flyff by Xampp

    this is my php.in
    https://pastelink.net/35qyb

  10. #10
    Registered hossamx is offline
    MemberRank
    Mar 2021 Join Date
    9Posts

    Re: error when try to setup site flyff by Xampp

    THX Problem Solved
    iam very Thx bro for your Help .



Advertisement