Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 08:29

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP]HP IN the server

Discussion on [HELP]HP IN the server within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
.Rebel's Avatar
 
elite*gold: 60
Join Date: May 2010
Posts: 766
Received Thanks: 1,025
Exclamation [HELP]HP IN the server

Hi i have a problem i have put the HP on freebsd install the apache22 and php5 but i dont understand why i cant conect the hp to the db

i have set the ip 192.168.1.250 and the server work perfect just the the hp dont conect show me this
PHP Code:
Fatal errorCall to undefined function mysql_connect() in /usr/local/www/apache22/data/index.php on line 15 
and the line 15 and 16 are the lines of the db this ones
PHP Code:
  $sqlHp mysql_connect(SQL_HP_HOSTSQL_HP_USERSQL_HP_PASS);
  
$sqlServ mysql_connect(SQL_HOSTSQL_USERSQL_PASS); 
and this ones go get the info on the file
PHP Code:
if(!file_exists('./inc/config.inc.php')) 
and on the file is:
PHP Code:
      DEFINE('SQL_HOST''192.168.1.250');
      
DEFINE('SQL_USER''root');
      
DEFINE('SQL_PASS''metin2');
      
      
DEFINE('SQL_HP_HOST''192.168.1.250');
      
DEFINE('SQL_HP_USER''root');
      
DEFINE('SQL_HP_PASS''metin2');
      
DEFINE('SQL_HP_DB''account'); 
can someone give me a hand pls?
.Rebel is offline  
Old 07/26/2010, 17:54   #2
 
kimuraaa's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 1,533
Received Thanks: 810
Have u installed the php5 extensions?
kimuraaa is offline  
Reply




All times are GMT +1. The time now is 08:29.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.