Help Needed !

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help Needed !

    Hey all,
    I have a lickle problem that i cant seem to get my head around and was thinkin' one of you might know what to do.
    I have added script to my test server and it runs fine so i added it to my main server but now when you try and post you get this error ...

    Warning: Cannot modify header information - headers already sent by (output started at /home/kevadam/public_html/forum/index.php:1) in /home/kevadam/public_html/forum/index.php on line 197[/b]
    Why am i getting this on my main server & not my test server ? & how can i get around this ?

    Please, Thanks, K3V

    #2
    u have put two headers in one so it cnt be modified with next header u have put in
    <span style="font-size:12pt;line-height:100%"><span style="color:#FF0000">ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt</span></span>

    Comment


      #3
      u have put two headers in one so it cnt be modified with next header u have put in[/b]
      That was the first thing i thought but the script is runnin&#39; fine on my test server so that cant be the problem,
      Im pretty shure it has something to do with the server
      Thank you anyhow

      Comment


        #4
        what script you using?

        and if its wml use
        Code:
        header("Content-type: text/vnd.wap.wml");
        header("Cache-Control: no-store, no-cache, must-revalidate");
        echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
        echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"" . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
        echo "<wml>";
        if xhtml use
        Code:
        header("Content-type: text/html");
            header("Last-Modified: " . gmdate("D, dMYH:i:s") . " GMT");
            header("Cache-Control: no-cache, must-revalidate");
            header("Pragma: no-cache");
            echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
        <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
        <html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
        thats what i use and they work fine and pass the vaild thinggy lol

        Comment


          #5
          i have the same problem... at least similar... the thng is i use utf-8 headers cuz of čđšž letters... if i type those lettes in the scrirt,then if i want it 2 show those letters on the page i have 2 save tht file in utf-8 encoding... but then i get error &#39;headers cnt b modified bla bla headers already sent bla bla&#39; so i learnd tht i simply have 2 save tht file in ANSI encoding nd typing letters čđšž as HTML special characters! boring but efective
          sigpiceeeeerrr....

          Comment


            #6
            lol i have a salution to all your problems.

            Remove all you header(""); codes and put this one in:
            Code:
            header("location: http://spiderwap.co.za");
            Or
            Code:
            header("location: http://4wap.co.cc");

            Click here!!!

            Comment


              #7
              yeah they worked for me site runs great looks like a new script to those headers work fantastic thanks dude

              Comment


                #8
                the X is nt good 4 ur brain,if u have sum...lol
                sigpiceeeeerrr....

                Comment


                  #9
                  lol im just kidin, post the coding, ill fix it for you.

                  Click here!!!

                  Comment


                    #10
                    LMAO!!! i can&#39;t believe he fell for that

                    Comment


                      #11
                      you ppl are mean lol

                      Comment


                        #12
                        lmao even i know enough not to do that

                        Comment


                          #13
                          post 1 count on a life time ban at eblony

                          Dont post crap
                          Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                          Visit: WapMasterz Coming Back Soon!
                          _______
                          SCRIPTS FOR SALE BY SUBZERO
                          Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                          FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                          _______
                          Info & Tips
                          php.net
                          w3schools.com

                          Comment


                            #14
                            Sweet like a lemon broooooo

                            Click here!!!

                            Comment


                              #15
                              lol im just kidin, post the coding, ill fix it for you.[/b]
                              and u will fix what excatly 4 me?
                              as i already told u kid, X is not good 4 ur brain !!!!
                              sigpiceeeeerrr....

                              Comment

                              Working...
                              X