PLEASE HELP ASAP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
.hybrid
Forum Newbie
Posts: 2
Joined: Wed Sep 07, 2005 10:40 pm
Location: tulsa, ok

PLEASE HELP ASAP

Post by .hybrid »

my forums at http://www.humbleperformance.com/forum are messed up in a way...everything is functional but at the very top it says this...

Warning: fgets(): Length parameter must be greater than 0. in /home/humblepe/public_html/forum/index_add.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/humblepe/public_html/forum/index_add.php:24) in /home/humblepe/public_html/forum/index_add.php on line 33

Warning: Cannot modify header information - headers already sent by (output started at /home/humblepe/public_html/forum/index_add.php:24) in /home/humblepe/public_html/forum/header.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /home/humblepe/public_html/forum/index_add.php:24) in /home/humblepe/public_html/forum/header.php on line 65

Warning: Cannot modify header information - headers already sent by (output started at /home/humblepe/public_html/forum/index_add.php:24) in /home/humblepe/public_html/forum/header.php on line 66

Warning: Cannot modify header information - headers already sent by (output started at /home/humblepe/public_html/forum/index_add.php:24) in /home/humblepe/public_html/forum/header.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/humblepe/public_html/forum/index_add.php:24) in /home/humblepe/public_html/forum/header.php on line 162


please help me AIM ME: wcapsidw
ASAP, please i need to fix this ASAP
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

Ignore the header problems, those will probably go away after you deal with the first issue.
Warning: fgets(): Length parameter must be greater than 0. in /home/humblepe/public_html/forum/index_add.php on line 24


The fgets requires a parameter for the size of what ever file it is trying to open in "index_add.php". What ever file it is trying to get is missing or it can't get the file size information. That's where I'd start my hunt. I can't tell you much more than that. I don't know much about the board system you are using. I hope that will get you started.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

.hybrid
Forum Newbie
Posts: 2
Joined: Wed Sep 07, 2005 10:40 pm
Location: tulsa, ok

Post by .hybrid »

im really lost when it comes to this stuff, im not good at php, but im tryin, is there anyway u can help me out if i give u permission to the site?
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

.hybrid wrote:is there anyway u can help me out if i give u permission to the site?
NEVER do that unless you know and trust the person in real life. This is like going on a busy road and asking strangers: "I've lost my key in my wallet, could you please help me find it?" and then giving them your wallet. If you think you're in trouble now, forget it. You will learn about trouble if you invite anyone to access the server.

What do you do when you have problems? You sit down, think calmly about why things could have gone wrong and, if you follow this link ( http://www.catb.org/~esr/faqs/smart-questions.html ), you will learn about asking precise questions. A precise question yields a precise answer. Describe what you've done, what exactly the problem is, what you've done to solve the problem and then, after you have re-assessed the situation, ask the question.
Post Reply