|
|
|
|
![]() ![]() |
Oct 5 2004, 03:30 AM
Post
#1
|
|
|
Newbie [ Level 2 ] 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 ? |
|
|
|
| prodigy |
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 |
|
|
|
Oct 17 2004, 10:31 AM
Post
#3
|
|
|
Premium Member 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"; ?> Right:<?php header("Location: blah.html"); ?> HTML <?php header("Location: blah.html"); ?> <?php echo "lala"; ?> Hope this helps you. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 22nd November 2008 - 04:38 PM |