PHP paFileDB error - an error relating to admin login.

free web hosting
Free Web Hosting > Computers & Tech > Programming > Scripting > PHP

PHP paFileDB error - an error relating to admin login.

sha
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 ?

Reply

prodigy
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


Reply

lhunath
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.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Recent Queries:-
  1. pafiledb error - 563.59 hr back. (1)
Similar Topics

Keywords : php, pafiledb, error, error, relating, admin, login

  1. Php Configuration Error?
    (6)
  2. Cant Find The Error
    (2)
    In this code I want to retrieve the energy and max energy of a players account, then add 8% to
    energy of maxenergy, hen if energy is bigger than maxenergy, energy is then made equal to maxenergy.
    Then the database is updated. I don't understand why it's not working.
    $query=mysql_query("SELECT MAX(id) as maxid FROM `accounts` LIMIT 1"); $row =
    mysql_fetch_assoc($query); $id = $row ; $query = "SELECT * FROM `accounts`";
    $result=mysql_query($query); while ($row=mysql_fetch_assoc($result)) { $energy = $row ; $maxenergy
    = $row ; } for($i=1; $i $query = "SELECT....
  3. Php Login Script
    (0)
    login script click the link to get your free php login script installer just follow the
    instuctions the exe gives you and it will give you the script just place the code in the sever and
    open index.html and follow on from there. what it has: it has reg page, login protection code ect.
    it is simple to use and i think quite fun but im BORN TO BE WEIRD,you will need at least one working
    mysql data base /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif"
    /> hope you enjoy it. iknow i did from the alexmedia crew....
  4. Writing And Testing My Own Login Script [solved]
    (20)
    i have this error QUOTE Warning: session_start() : Cannot send session cache limiter - headers
    already sent (output started at /home/eggie/public_html/race.php:2) in
    /home/eggie/public_html/race.php on line 5 in every page i have with session start...what's
    the problem?? CODE Race include("style.css"); include("config.php"); session_start();
    if(!session_is_registered(myusername)){ echo 'Your Session has Expired!'; exit;} //If you
    click race... if ($_GET =='race') { $asa=$_POST ; if(!isset($asa)) { echo 'You
    didn\'t select an....
  5. Php Error-where To Put "?>"
    (2)
    lol....lately i have many problems in writing my scripts and i dont know if i should create post
    only for purpose so ppl can help me or should i create many post like i am doing right now...i am
    NOT making this to get many credits...i am doing it because i need help and many people here help
    me! CODE if ($_GET !='race'){ Who do you wanna race?           Derbi Senda 50
         Honda NS 50 R      Suzuki ZR 50      Yamaha DT 50 MX      Aprilia RS 50      - ?        
    } i have this code...if i put after it i get QUOTE Parse error: syntax....
  6. Login Script
    (8)
    I have another question--- i downloaded script of a game and it worked until my server changed to
    newer version of php after which it didn't work... the most probable reason is that globals are
    not enabled... now i need someone who can tell me what to put instead of what to make it work...
    this is my login.php script CODE if (!$user || !$pass) {     include("head.php");     print
    "Please fill out all fields.";     include("foot.php");     exit; } include("head.php"); $password =
    md5($pass); $password2 = md5($password); $password3 = md5($password2); $password4 =....
  7. Warning: Mysql_num_rows()
    What is the error :S (1)
    Hey! I've made a register script.. Some time ago it worked. And I ain't sure if I changed
    something since then.. The error I am getting is this: Warning: mysql_num_rows(): supplied argument
    is not a valid MySQL result resource in /home/feelay/public_html/regcheck.php on line 31 Here is
    the code on theese lines: CODE $sqlCheckForDuplicate = "SELECT username FROM user WHERE username
    = '". $username ."'";                 if( mysql_num_rows( mysql_query(
    $sqlCheckForDuplicate ) ) == 0 )         {             $sqlRegUser =     "INSERT INTO            ....
  8. Php Math Error
    (4)
    I cant get php to do simple math. Anyway
    I need to run a math problem from the mysql database (dont ask why). So lets say I have an entrie: 5
    +5. I get it from my db then eval it but nothing happens? How could I make it so that it runs the 5+
    5 rather then just displaying it? Thanks, Sparkx Also: I have no clue if it is just my browser or
    what but my post breaks to boarder for some odd reason?....
  9. Unexpected Error
    Undefined variable??? (2)
    Is this script correct? index.php : CODE     if (isset($_COOKIE ))           $_GET =
    $_COOKIE ;     else         setcookie("disp_name", Anonymous, date()+99); ?>              
    Display Name - DZN                                                                   
                    Dislpay Name: name="name" />                                                
         proccess.php : CODE      Proccessing Request...           Please wait...
        setcookie("disp_name", $_GET , date()+99); ?> main.php : CODE     function customErr....
  10. How To Disable Safe Mode In Direct Admin.
    (1)
    Please anyone know how to disable safe mode in direct admin control panel.....
  11. Login Script
    PHP Help #3 - Need help creating one (5)
    It turns out that the authentication script that I copied from
    http://www.php-mysql-tutorial.com/user-aut...on/database.php doesn't work even when it is left
    unchanged. What a crappy piece of code. Now I am trying to build by own login script from scratch.
    I already have a little knowledge on how to do this (connecting, echoing, retrieving) but I need
    some more examples and/or tips. I know what I need and maybe this could help you out: Note: Green
    items are fixed. No duplicate username in MySQL Database Authorized users only. I have to
    authorize each....
  12. Error On Submit Page
    (10)
    I am writing a new submit page for one of my sites and am doing a few things to stretch my
    experience. I am getting an error (naturally.) Here is part pf the page where the error might be:
    CODE //Check to see if the web page called itself     if (strtoupper($action) == "CHECK") {
            //The web page called itself, so run the error checking code         //Declare a variable to
    hold the error messages     $error = '';      // variable names:    name, cat, sub_cat, url,
    date, status, email, other, area_code, city          $name = $_POST ;     $cat = $_P....
  13. Got A Wee Error - Can You Help?
    (13)
    I'm taking a PHP course at college and am working on an assignment. There's no database
    involved. I've declared my variables from a submit form on another page, and on the page
    I'm working on I'm trying to bring them up in a table. But my start-table command is
    outputting an error. Here's the code relating to where the error is: CODE //Get First
    Item     if (isset($_GET )) {                 $item_1_product = $_GET ;     } else {
            $item_1_product = ""; //Default value if data missing     }          if (isset($_GET ))
    {            ....
  14. Should This Great Site Offer Imagemagick ?
    May be the admin of this site think over it. (3)
    Hi As we all know that this website is very good and offering good services. I just wanna know if
    other people also want ImageMagick to be installed on this server with free accounts... so please
    let me know and lets check if the Admin of this site can isntall it..... Fun....
  15. E-mail List Error
    (4)
    I just coded this e-mail list, it works well for entering data into database, but if user leaves
    the field blank or adds an already exist e-mail it gives him the error message and stops loading the
    rest of the page. CODE // Connects to your Database mysql_connect("localhost", "my_username",
    "mypassword") or die(mysql_error()); mysql_select_db("Database name") or die(mysql_error()); //This
    code runs if the form has been submitted if (isset($_POST )) { //This makes sure they did not leave
    any fields blank if (!$_POST ) {die(' No e-mail added '); } ....
  16. Login
    (5)
    Hey I need a Log in System for my site, What I want to do is where they have there own profiles for
    members only to view. Then Have it where they see pages which Non members don't see.. Also I
    want it where I can Only add Usernames or Passwords. Basicly its going to be like this Guest Page:
    No Log is needed Any one can See Members Page: Log in Needed to see, May only log in from Admin
    adding there name, Can Delete there name if they quit member ship, or change there password to
    banned them. Also The Members pages cannot be viewed Even if U type in the link to the ....
  17. Uploading Image Via Admin Menu?
    (2)
    There's never much action in here. Here's a question for all you php guys out there.
    Here's what I want. Let's say I create a simple administration menu for someone to
    Add/Edit/Delete a record/item from a database. Now in the add function, let's say I want to
    store a URL to a image. Rather than having to go in and FTP that image up on the server, how could
    a person create a 'Browse' button and find that image on your harddrive, then create a
    script to upload the image to the server? Just wondering how to do it, or if it could be done e....
  18. In Php, How To Not Display Mysql Connection Error?
    Don't want mysql_connect() message (4)
    In PHP, if the mysql database server cannot be connected, for example database server is handed or
    turned off, an error message will be displayed: Warning: mysql_connect(): Unknown MySQL Server Host
    "mysql.example.com" ... My question is how to not display this warning message? or can I customise
    the error message? if so, how? Thank you.....
  19. Php Problem Error Message
    I'm working from a book (9)
    I get this error message when I try to view a small webpage. QUOTE Parse error: parse error,
    unexpected T_STRING, expecting ',' or ';' in
    /home/nilsc/public_html/bobs/processorder.php on line 27 Line 27 is in this php part: CODE
    echo ' Order processed. '; echo $tireqty. ' tires '; echo $oilqty. ' bottles
    of oil '; echo $sparkqty. ' spark plugs '; $totalqty = 0; $totalqty = $tireqty +
    $oilqty + $spakqty; echo 'Items ordered: ' .$totalqty.' ; $totalamount = 0.00;
    define('TIREPRICE....
  20. Need Help With Phpsecurepages Installation & Conf.
    login (2)
    has any one here ever user phpsecurepages and installed it on there astahost account cause i for
    some reason my does not work so can u tell me how u did it so ican make my thing work to?....
  21. PHP paFileDB error
    an error relating to admin login (0)
    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 hel....

    1. Looking for php, pafiledb, error, error, relating, admin, login






*SIMILAR VIDEOS*
Searching Video's for php, pafiledb, error, error, relating, admin, login
advertisement




PHP paFileDB error - an error relating to admin login.