Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> PHP paFileDB error, an error relating to admin login.
sha
post Oct 5 2004, 03:30 AM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 18
Joined: 4-October 04
Member No.: 1,030



does any body know how to over come an error in paFileDB which says


Warning: Cannot modify header information - headers already sent by (output started at /home/paltalkh/public_html/pafiledb/includes/mysql.php:86) in /home/paltalkh/public_html/pafiledb/includes/admin/login.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/paltalkh/public_html/pafiledb/includes/mysql.php:86) in /home/paltalkh/public_html/pafiledb/includes/admin/login.php on line 38


i have downloaded the php from phparena.net directly.

Any help ?
Go to the top of the page
 
+Quote Post
prodigy
post Oct 17 2004, 05:42 AM
Post #2





Guests






I believe this is just a buffer error, and a simple edit to yuor .htaccess file will remove this error. This is an error that occurs in forums,, ect..

*If you don't have a .htaccess file in your public_html folder or root folder please create one and upload it.

*Edit the .htaccess you just uploaded with filemanager in cpanel. Add this line anywhere (normally at top) in the file:

PHP_FLAG output_buffering On

Hope this helps smile.gif

Go to the top of the page
 
+Quote Post
lhunath
post Oct 17 2004, 10:31 AM
Post #3


Premium Member
Group Icon

Group: [HOSTED]
Posts: 224
Joined: 13-October 04
From: Belgium
Member No.: 1,160



No, it's not that. This error occuers because you're trying to send extra header information after having sent content of a page.
When you send a page you send something like this:
Headers:
Content: text/html
blahbla
Content:
<html>
<head>
blablah

Now, after sending some content, you can't send any more headers, because you can't go back in time, of course. Basically,
Wrong:
HTML
<?php echo "lala"; ?>
<?php header("Location: blah.html"); ?>
Right:
HTML
<?php header("Location: blah.html"); ?>
<?php echo "lala"; ?>

Hope this helps you.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Php Problem Error Message(9)
  2. In Php, How To Not Display Mysql Connection Error?(4)
  3. Uploading Image Via Admin Menu?(2)
  4. Login(5)
  5. E-mail List Error(4)
  6. Should This Great Site Offer Imagemagick ?(3)
  7. Got A Wee Error - Can You Help?(13)
  8. Error On Submit Page(10)
  9. Login Script(5)
  10. How To Disable Safe Mode In Direct Admin.(1)
  11. Unexpected Error(2)
  12. Php Math Error(4)
  13. Warning: Mysql_num_rows()(1)
  14. Login Script(8)
  15. Php Error-where To Put "?>"(2)
  1. Writing And Testing My Own Login Script [solved](20)
  2. Php Login Script(0)
  3. Cant Find The Error(2)
  4. Php Configuration Error?(6)


 



- Lo-Fi Version Time is now: 22nd November 2008 - 04:38 PM