Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

error when try to setup site flyff by Xampp

Status
Not open for further replies.
Newbie Spellweaver
Joined
Mar 7, 2021
Messages
10
Reaction score
1
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.
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
Make sure the SQL Driver for PHP is installed and that you enable both odbc extensions in php.ini
 
Newbie Spellweaver
Joined
Mar 7, 2021
Messages
10
Reaction score
1
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
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
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.
 
Newbie Spellweaver
Joined
Mar 7, 2021
Messages
10
Reaction score
1
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
hossamx - error when try to setup site flyff by Xampp - RaGEZONE Forums
hossamx - error when try to setup site flyff by Xampp - RaGEZONE Forums
hossamx - error when try to setup site flyff by Xampp - RaGEZONE Forums
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830

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.
 
Newbie Spellweaver
Joined
Mar 7, 2021
Messages
10
Reaction score
1
this is my php.in
 
Status
Not open for further replies.
Back
Top