Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 26.05.2005, 01:12   #1
Blackmagic
Архивный участник
 
Join Date: May 2005
Posts: 5
Default php account.

Does any one know where i can get a php account creator. Cuz when i try and run the auth from asp it gets a access violation.
A php account creator whould be alsome.
Blackmagic is offline  
Old 26.05.2005, 02:52   #2
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

search for the l2cp, is a good reg php

http://drnagel.dyndns.org/ftp/l2cp.zip
SoaPy is offline  
Old 26.05.2005, 04:02   #3
Blackmagic
Архивный участник
 
Join Date: May 2005
Posts: 5
Default

thanks but i keep geting this error, i think its becouse i didnt configer something or did it wronge

Notice: Undefined index: user in c:\easyphp1-8\www\lineage2\index.php on line 3

Notice: Undefined index: pass in c:\easyphp1-8\www\lineage2\index.php on line 3

Fatal error: Call to undefined function: mssql_connect() in c:\easyphp1-8\www\lineage2\function.php on line 46


If you know how to fix this it would be great
Thanks for the files tho.
Blackmagic is offline  
Old 26.05.2005, 05:12   #4
Rikku
Архивный участник
 
Join Date: May 2005
Posts: 129
Default

yeah I got that error too very odd hehe
Rikku is offline  
Old 26.05.2005, 06:55   #5
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

first you have to enable the mssql function in the easyphp.
- open the php.ini in "C:\Archivos de programa\EasyPHP1-8\php" and search ";extension=php_mssql.dll" and delete the ";" from the begining, save the file and close, and restart the php service.
- and check in the folder of the l2cp, the file "config.php", edit and complete this fields:

$CONFIG['dbaddress'] = "127.0.0.1"; <----- here you have to put the ip of the l2db
$CONFIG['dbuser'] = "sa"; <----- here put the username of your db
$CONFIG['dbpass'] = ""; <----- here put the password of you db username

Save and close, done.
SoaPy is offline  
Old 26.05.2005, 07:05   #6
Rikku
Архивный участник
 
Join Date: May 2005
Posts: 129
Default

I did that all before while ago i think got that error I will try tomorrow going bed now.
Rikku is offline  
Old 26.05.2005, 16:18   #7
Blackmagic
Архивный участник
 
Join Date: May 2005
Posts: 5
Default

Yea i did all that but i still get the same errors
Blackmagic is offline  
Old 26.05.2005, 16:24   #8
Rikku
Архивный участник
 
Join Date: May 2005
Posts: 129
Default

yup same.
Rikku is offline  
Old 26.05.2005, 16:29   #9
Blackmagic
Архивный участник
 
Join Date: May 2005
Posts: 5
Default

ok i uploaded this to my webhost and when i did that only error i get now is

Fatal error: Call to undefined function: mssql_connect() in /home/www/sfstats.coolinc.info/l2cp/function.php on line 46
Blackmagic is offline  
Old 26.05.2005, 16:56   #10
Blackmagic
Архивный участник
 
Join Date: May 2005
Posts: 5
Default

I did search buy i all i could find was a post that said to download l2cp from ragezone but... links are dead.
Blackmagic is offline  
Old 26.05.2005, 17:06   #11
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

you've better check this.. easyphp etc sucks

https://postpacific.loc-online.com/f...opic.php?t=784
demon is offline  
Old 26.05.2005, 17:43   #12
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

call to undefined...
do you have mssql module installed and configured in your php engine?
RmzVoid is offline  
Old 26.05.2005, 18:02   #13
Rikku
Архивный участник
 
Join Date: May 2005
Posts: 129
Default

I used easyphp long time nothing else worked fine with before hmmm./
Rikku is offline  
Old 26.05.2005, 20:41   #14
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

Quote:
Originally Posted by Rikku
I used easyphp long time nothing else worked fine with before hmmm./
in found the problem, but still have anothe error but the cp load fine.

you have to seach in easyphp folder, all *.ini, (php.ini and php-safe.ini), and change the ";extension=php_mssql.dll" to "extension=php_mssql.dll", reload the apache and done. but i have another problem because the error "index.php on line 3" i think is a cookie error, and i dont know how fix this yet.

look my l2cp error
[web:98164e0d96]http://drnagel.dyndns.org/ftp/l2cperror.jpg[/web:98164e0d96]

with the appserver wasnt have this errors, but now with easyphp yes.
SoaPy is offline  
Old 26.05.2005, 20:53   #15
Dave2005
Архивный участник
 
Join Date: Apr 2005
Posts: 43
Default

Quote:
Originally Posted by SoaPy
Quote:
Originally Posted by Rikku
I used easyphp long time nothing else worked fine with before hmmm./
in found the problem, but still have anothe error but the cp load fine.

you have to seach in easyphp folder, all *.ini, (php.ini and php-safe.ini), and change the ";extension=php_mssql.dll" to "extension=php_mssql.dll", reload the apache and done. but i have another problem because the error "index.php on line 3" i think is a cookie error, and i dont know how fix this yet.

look my l2cp error
image

with the appserver wasnt have this errors, but now with easyphp yes.
Easy to fix, open your php.ini, remove everything behind "error_reporting = " and put this instead of it: "E_ALL & ~E_NOTICE"

So it will look like: error_reporting = E_ALL & ~E_NOTICE
Dave2005 is offline  
Old 26.05.2005, 20:55   #16
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

Quote:
Originally Posted by Dave2005
Quote:
Originally Posted by SoaPy
Quote:
Originally Posted by Rikku
I used easyphp long time nothing else worked fine with before hmmm./
in found the problem, but still have anothe error but the cp load fine.

you have to seach in easyphp folder, all *.ini, (php.ini and php-safe.ini), and change the ";extension=php_mssql.dll" to "extension=php_mssql.dll", reload the apache and done. but i have another problem because the error "index.php on line 3" i think is a cookie error, and i dont know how fix this yet.

look my l2cp error
image

with the appserver wasnt have this errors, but now with easyphp yes.
Easy to fix, open your php.ini, remove everything behind "error_reporting = " and put this instead of it: "E_ALL & ~E_NOTICE"

So it will look like: error_reporting = E_ALL & ~E_NOTICE
yes i read again the readme.txt and change this and done. , just i was having post the fix .
SoaPy is offline  
Old 29.05.2005, 05:25   #17
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

again but another error in another server, says the user sa is not a correct user of the db :S, check everithing and nothing works

[web:0770dc5e0c]http://drnagel.dyndns.org/ftp/error.jpg[/web:0770dc5e0c]
SoaPy is offline  
Old 29.05.2005, 19:32   #18
ThaDon
Архивный участник
 
Join Date: Apr 2005
Posts: 104
Default

i have exactly the same problem, i followed all from here

pls help :?
ThaDon is offline  
Old 29.05.2005, 19:49   #19
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

tha don your error is easy to fix, just do that

open your php.ini, search "error_reporting = " and put this instead of it: "E_ALL & ~E_NOTICE"

So it will look like: error_reporting = E_ALL & ~E_NOTICE

and done, if it doesnt work, search all php.ini files in your pc, and the php-safe, change this line in all files, reboot the php and done.
SoaPy is offline  
Old 30.05.2005, 01:47   #20
ThaDon
Архивный участник
 
Join Date: Apr 2005
Posts: 104
Default

ty, but i think its possible to inject the sql with this script :?
ThaDon is offline  
Old 30.05.2005, 05:38   #21
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

Put this in ani injection part in functions.php

<?php
function antiinjection($str) {
$banwords = array ("'", ",", ";", "--", " or ", ")", "(", " OR ", " and ", " AND ","/n","/r");
if ( eregi ( "[a-zA-Z0-9]+", $str ) ) {
$str = str_replace ( $banwords, '', strtolower ( $str ) );
} else {
$str = NULL;
}
$str = trim($str);
$str = strip_tags($str);
$str = addslashes($str);
$str = htmlspecialchars($str);
return $str;
}
BiGBoY is offline  
Old 30.05.2005, 07:58   #22
ThaDon
Архивный участник
 
Join Date: Apr 2005
Posts: 104
Default

ty but when i add this i become this, lol

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: ************ in D:\Inetpub\wwwroot\l2cp\function.php on line 50

Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in D:\Inetpub\wwwroot\l2cp\function.php on line 51

Fatal error: Call to undefined function mysql_error() in D:\Inetpub\wwwroot\l2cp\function.php on line 51
ThaDon is offline  
Old 30.05.2005, 10:17   #23
iamrend
Архивный участник
 
Join Date: May 2005
Posts: 315
Default

when i open the web: 127.0.0.1/l2cp it apperat all write. Because it can be?
iamrend is offline  
Old 30.05.2005, 18:24   #24
Rikku
Архивный участник
 
Join Date: May 2005
Posts: 129
Default

so no one has an account maker for php.. thats works aint tied into cp... There sue to be when l2 first started but can't find them..
Rikku is offline  
Old 30.05.2005, 19:27   #25
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

i fixed my errors in the cp, works great.
SoaPy is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:08.