Jump to content
xisto Community
Sign in to follow this  
sha1405241471

PHP paFileDB error an error relating to admin login.

Recommended Posts

does any body know how to over come an error in paFileDB which saysWarning: 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 36Warning: 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 ?

Share this post


Link to post
Share on other sites

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 OnHope this helps :)

Share this post


Link to post
Share on other sites

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:

<?php echo "lala"; ?>
<?php header("Location: blah.html"); ?>

Right:

<?php header("Location: blah.html"); ?>
<?php echo "lala"; ?>

Hope this helps you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.