PDA

View Full Version : L2cp Reborn Problem


Spire
23.02.2007, 10:26
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


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

~Marquis~
23.02.2007, 13:22
Have you done all the modifications in the php.ini?

JotaC
23.02.2007, 13:44
Have you done all the modifications in the php.ini?

do you wanna bet he didnt? =P

Spire
23.02.2007, 13:56
lol, i did. I removed ; from ' extension=php_mssql.dll ' . Or do i more extension's?

JotaC
23.02.2007, 14:14
Hum..
U changed the:

/*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 =)

Spire
23.02.2007, 14:26
Mmm, no it's still the same. I'm going to install easyphp. Maybe that pack works...

Spire
23.02.2007, 14:43
Ok, i installed easyphp. But still the same error.


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


:(

JotaC
23.02.2007, 15:02
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 ;)

dirkr
23.02.2007, 15:33
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 :p ) 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

Spire
23.02.2007, 15:50
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.

dirkr
23.02.2007, 15:55
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

~Marquis~
23.02.2007, 17:11
Appserv is better and safer than easyphp ^^

Spire
23.02.2007, 17:21
Still, l2cp the old one can connect, but not the new one lol :s.