error on login.php

Started on the old forum in August 2013 · view the original in the archive · old links redirect here

2 replies · 1,009 views · started 13 years ago · 1 min read

3 participants
talhap Newbie · 1 posts #1

Hi please help me fix this is what I get on my login page....Warning: fopen(../logs/unknown.txt): failed to open stream: No such file or directory in /home/u179878720/public_html/login.php on line 103 Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/u179878720/public_html/login.php on line 104 Warning: fclose() expects parameter 1 to be resource, boolean given in /home/u179878720/public_html/login.php on line 105 You have logged in successfully as unknown

nclemale36 Lead · 537 posts #2

remove all the code that relates to that error. unless you wanna get hacked daily . i presume its a lava edit ???

ozziemale31 Lead · 861 posts #3

talhap wrote: Hi please help me fix this is what I get on my login page....Warning: fopen(../logs/unknown.txt): failed to open stream: No such file or directory in /home/u179878720/public_html/login.php on line 103 Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/u179878720/public_html/login.php on line 104 Warning: fclose() expects parameter 1 to be resource, boolean given in /home/u179878720/public_html/login.php on line 105 You have logged in successfully as unknown

../logs/ refers to it writing info to a txt page in the given directory in this case logs/ make the diretory chmod it to 777 and ull have error gone. fclose means closing the info being stored 🙂 i sugest if u use that piece of code make sure u password protect the directory and place an index.php inside

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

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