Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 23.02.2007, 10:26   #1
Spire
Архивный участник
 
Join Date: Feb 2007
Posts: 19
Default L2cp Reborn Problem

Ok, i use apache for webserver and installed php, i changed ntwdblib in the php folder. So that error was fixed but i still got one problem. When i want to open index.php it say's
Quote:

Warning: mssql_select_db() [function.mssql-select-db]: Unable to select database: in C:\Program Files (x86)\xampp\htdocs\l2cpreborn\load\functions.php on line 66
But i configured it right. I even tested an old version of l2cp and that one works :s.

Thanks in advance
Spire is offline  
Old 23.02.2007, 13:22   #2
~Marquis~
Архивный участник
 
Join Date: Dec 2006
Posts: 252
Default

Have you done all the modifications in the php.ini?
~Marquis~ is offline  
Old 23.02.2007, 13:44   #3
JotaC
Архивный участник
 
Join Date: Mar 2006
Posts: 69
Default

Quote:
Originally Posted by ~Marquis~ View Post
Have you done all the modifications in the php.ini?
do you wanna bet he didnt? =P
JotaC is offline  
Old 23.02.2007, 13:56   #4
Spire
Архивный участник
 
Join Date: Feb 2007
Posts: 19
Default

lol, i did. I removed ; from ' extension=php_mssql.dll ' . Or do i more extension's?
Spire is offline  
Old 23.02.2007, 14:14   #5
JotaC
Архивный участник
 
Join Date: Mar 2006
Posts: 69
Default

Hum..
U changed the:

Code:
/*Lineage II Database Database Name	[Default: lin2db]*/
$CONFIG['dbdbname'] = "lin2db";

/*Lineage II World Database Name	[Default: lin2world]	*/
$CONFIG['worlddbname'] = "lin2world";
part in config.ini? dont change that


If thats not the problem re-check config.php and try to put the page in any free webhost to see if you configured something wrong, i cant help you apache cause i dont work with it but here goes a tipe: use the diskW that comes in almost all L2j server packs =)
JotaC is offline  
Old 23.02.2007, 14:26   #6
Spire
Архивный участник
 
Join Date: Feb 2007
Posts: 19
Default

Mmm, no it's still the same. I'm going to install easyphp. Maybe that pack works...
Spire is offline  
Old 23.02.2007, 14:43   #7
Spire
Архивный участник
 
Join Date: Feb 2007
Posts: 19
Default

Ok, i installed easyphp. But still the same error.

Quote:
Notice: Undefined index: user in c:\program files (x86)\easyphp1-8\www\l2cpreborn\index.php on line 3

Notice: Undefined index: pass in c:\program files (x86)\easyphp1-8\www\l2cpreborn\index.php on line 3

Fatal error: Call to undefined function: mssql_connect() in c:\program files (x86)\easyphp1-8\www\l2cpreborn\load\functions.php on line 65
Spire is offline  
Old 23.02.2007, 15:02   #8
JotaC
Архивный участник
 
Join Date: Mar 2006
Posts: 69
Default

Quote:
Originally Posted by Spire View Post
Ok, i installed easyphp. But still the same error.



well... its a different error
do what i said, check for any l2j Pack with the DiskW
JotaC is offline  
Old 23.02.2007, 15:33   #9
dirkr
Архивный участник
 
Join Date: Nov 2006
Posts: 204
Default

Quote:
Originally Posted by Spire View Post
Ok, i installed easyphp. But still the same error.



this means the mssql extension isnt activated in the php.ini
you can do that easy with easyphp ( duh ) go to the config for easyphp and go to php_extensions (or press ctrl+x ) .. there you look for php_mssql ( there is also a php_msql so make sure you check the right one ) then just press the apply button ( or w/e its called ) and you should be good to go
dirkr is offline  
Old 23.02.2007, 15:50   #10
Spire
Архивный участник
 
Join Date: Feb 2007
Posts: 19
Default

i know i allready done that many time's. The weard thing is that an old version of L2CP the one in l2tools ( i think ) and that one connect's to my database's of mssql. But when i try this with the reborn edition i get that error.
Spire is offline  
Old 23.02.2007, 15:55   #11
dirkr
Архивный участник
 
Join Date: Nov 2006
Posts: 204
Default

strange.. cause that error basicly means

'i dont know the function that you are using' => the mssql isnt activated in the php
with easyphp tho just changing it in the php.ini doesnt work .. gotta do it thru the config->php extensions panel in the program itself
dirkr is offline  
Old 23.02.2007, 17:11   #12
~Marquis~
Архивный участник
 
Join Date: Dec 2006
Posts: 252
Default

Appserv is better and safer than easyphp ^^
~Marquis~ is offline  
Old 23.02.2007, 17:21   #13
Spire
Архивный участник
 
Join Date: Feb 2007
Posts: 19
Default

Still, l2cp the old one can connect, but not the new one lol :s.
Spire is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:49.