Results 1 to 11 of 11

Thread: error message
      
   

  1. #1
    scubadiver's Avatar
    scubadiver is offline Lieutenant Colonel
    Join Date
    Aug 2006
    Location
    Hawaii
    Posts
    553

    Default error message

    Aloha:

    I changed my header on my "Buy" page and when I input the infor as if I am going to purchase the item and click submit, I receive this error message:
    Warning: Header may not contain more than a single header, new line detected. in /home/ddnttrn/public_html/abvfp.php on line 278

    Now the header was in 2 parts. We made it into a single part. It made not difference. I have since made a different header and it still makes no difference.

    Can anyone help with this? I don't know how to get to this path that it says the error is in. Thanks for anyone's help.

  2. #2
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: error message

    In order to figure out what is wrong, please paste your php code here so we may have a look.

    Andy
    PHP- is a blast!

  3. #3
    scubadiver's Avatar
    scubadiver is offline Lieutenant Colonel
    Join Date
    Aug 2006
    Location
    Hawaii
    Posts
    553

    Default Re: error message

    I'm so sorry!
    Warning: Header may not contain more than a single header, new line detected. in /home/ddnttrn/public_html/abvfp.php on line 278

  4. #4
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: error message

    Not the error message - the php code that processes the form.

    Andy
    PHP- is a blast!

  5. #5
    scubadiver's Avatar
    scubadiver is offline Lieutenant Colonel
    Join Date
    Aug 2006
    Location
    Hawaii
    Posts
    553

    Default Re: error message

    Here it is:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
    <HEAD>
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <TITLE>buy</TITLE>
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-811784-1";
    urchinTracker();
    </script>
    <META http-equiv="Page-Enter" content="blendTrans(Duration=1)">
    <META name="GENERATOR" content="Created by BlueVoda">
    <STYLE type="text/css">
    div#container
    {
    width: 800px;
    position: relative;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    }
    body
    {
    text-align: center;
    margin: 0;
    }
    </STYLE>
    <SCRIPT type="text/javascript">
    <!--
    function SwapImage()
    {
    var doc=document, args=arguments;
    doc.$imgSwaps = new Array();
    for(var i=2; i<args.length; i+=2)
    {
    var elem=FindObject(args[i]);
    if(elem)
    {
    doc.$imgSwaps[doc.$imgSwaps.length]=elem;
    elem.$src=elem.src;
    elem.src=args[i+1];
    }
    }
    }
    function FindObject(id, doc)
    {
    var child, elem;
    if(!doc)
    doc=document;
    if(doc.getElementById)
    elem=doc.getElementById(id);
    else
    if(doc.layers)
    child=doc.layers;
    else
    if(doc.all)
    elem=doc.all[id];
    if(elem)
    return elem;
    if(doc.id==id || doc.name==id)
    return doc;
    if(doc.childNodes)
    child=doc.childNodes;
    if(child)
    {
    for(var i=0; i<child.length; i++)
    {
    elem=FindObject(id,child[i]);
    if(elem)
    return elem;
    }
    }
    var frm=doc.forms;
    if(frm)
    {
    for(var i=0; i<frm.length; i++)
    {
    var elems=frm[i].elements;
    for(var j=0; j<elems.length; j++)
    {
    elem=FindObject(id,elems[i]);
    if(elem) return elem;
    }
    }
    }
    return null;
    }
    // -->
    </SCRIPT>
    </HEAD>
    <BODY background="water031.gif" bgcolor="#FFFFFF" text="#000000" alink="#0000FF" style="SCROLLBAR-FACE-COLOR:#E0DFE3;SCROLLBAR-ARROW-COLOR:#000000;SCROLLBAR-3DLIGHT-COLOR:#E0DFE3;SCROLLBAR-DARKSHADOW-COLOR:#716F64;SCROLLBAR-HIGHLIGHT-COLOR:#FFFFFF;SCROLLBAR-SHADOW-COLOR:#9D9DA1;SCROLLBAR-TRACK-COLOR:#D4D0C8;">
    <DIV id="container">
    <IMG src="background5.jpg" alt="" align="top" border="0" width="479" height="372" style="position:absolute;left:152px;top:241px;widt h:479px;height:372px;z-index:9">
    <DIV style="position:absolute;left:152px;top:272px;widt h:472px;height:342px;z-index:10" align="left">
    <FORM name="Buy Form" method="POST" action="abvfp.php" enctype="multipart/form-data">
    <INPUT type="hidden" name="ndpage" value="buy">
    <DIV style="position:absolute;left:37px;top:80px;width: 172px;height:18px;z-index:0" align="left">
    <FONT style="font-size:16px" color="#497C78" face="Arial CE">First &amp; Last Name</FONT>
    </DIV>
    <DIV style="position:absolute;left:38px;top:127px;width :132px;height:18px;z-index:1" align="left">
    <FONT style="font-size:16px" color="#497C78" face="Arial CE">Email Address</FONT><FONT style="font-size:13px" color="#497C78" face="Arial CE">s</FONT>
    </DIV>
    <DIV style="position:absolute;left:40px;top:178px;width :54px;height:18px;z-index:2" align="left">
    <FONT style="font-size:16px" color="#497C78" face="Arial CE">City</FONT>
    </DIV>
    <DIV style="position:absolute;left:39px;top:226px;width :58px;height:18px;z-index:3" align="left">
    <FONT style="font-size:16px" color="#497C78" face="Arial CE">State</FONT>
    </DIV>
    <INPUT type="text" style="position:absolute;left:216px;top:222px;widt h:224px;z-index:4" size="28" name="State-RA" value="">
    <INPUT type="text" style="position:absolute;left:216px;top:174px;widt h:224px;z-index:5" size="28" name="City-RA" value="">
    <INPUT type="text" style="position:absolute;left:216px;top:127px;widt h:224px;z-index:6" size="28" name="Emil-RE" value="">
    <INPUT type="text" style="position:absolute;left:216px;top:77px;width :224px;z-index:7" size="28" name="Firt_LastName-RB" value="">
    <INPUT type="submit" name="submit" value="Submit" style="position:absolute;left:195px;top:285px;widt h:75px;height:24px;z-index:8">
    </FORM>
    </DIV>
    <DIV style="position:absolute;left:192px;top:265px;widt h:348px;height:54px;z-index:11" align="left">
    <FONT style="font-size:16px" color="#497C78" face="Arial CE">To continue with the purchase of the insider's guide, please fill out this simple form.&nbsp; You will then be directed to payment options.</FONT>
    </DIV>
    <IMG src="image002.gif" alt="" align="top" border="0" width="1" height="1" style="position:absolute;left:83px;top:72px;width: 1px;height:1px;z-index:12">
    <IMG src="coral header.jpg" alt="" align="top" border="0" width="750" height="150" style="position:absolute;left:32px;top:6px;width:7 50px;height:150px;z-index:13">
    <DIV style="position:absolute;left:80px;top:180px;width :641px;height:35px;z-index:14" align="center">
    <TABLE border="0" cellpadding="0" cellspacing="0">
    <TR>
    <TD align="left" valign="top" width="125" height="35"><A href="http://www.hawaiionyourown.com/contact.html"><IMG id="bv01071" src="bv01071.gif" alt="http://www.hawaiionyourown.com/contact.html" align="top" border="0" width="125" height="35" onmouseover="SwapImage(1,0,'bv01071','bv01071_over .gif')" onmouseout="SwapImage(0,0,'bv01071','bv01071.gif') "></A></TD>
    <TD width="4"></TD><TD align="left" valign="top" width="125" height="35"><A href="http://www.hawaiionyourown.com/traveling-tips.html"><IMG id="bv01072" src="bv01072.gif" alt="http://www.hawaiionyourown.com/traveling-tips.html" align="top" border="0" width="125" height="35" onmouseover="SwapImage(1,0,'bv01072','bv01072_over .gif')" onmouseout="SwapImage(0,0,'bv01072','bv01072.gif') "></A></TD>
    <TD width="4"></TD><TD align="left" valign="top" width="125" height="35"><A href="http://www.hawaiionyourown.com/calendarofevents.html"><IMG id="bv01073" src="bv01073.gif" alt="http://www.hawaiionyourown.com/calendarofevents.html" align="top" border="0" width="125" height="35" onmouseover="SwapImage(1,0,'bv01073','bv01073_over .gif')" onmouseout="SwapImage(0,0,'bv01073','bv01073.gif') "></A></TD>
    <TD width="4"></TD><TD align="left" valign="top" width="125" height="35"><A href="http://www.hawaiionyourown.com/preview.html"><IMG id="bv01074" src="bv01074.gif" alt="http://www.hawaiionyourown.com/preview.html" align="top" border="0" width="125" height="35" onmouseover="SwapImage(1,0,'bv01074','bv01074_over .gif')" onmouseout="SwapImage(0,0,'bv01074','bv01074.gif') "></A></TD>
    <TD width="4"></TD><TD align="left" valign="top" width="125" height="35"><A href="http://www.hawaiionyourown.com/buy.html"><IMG id="bv01075" src="bv01075.gif" alt="http://www.hawaiionyourown.com/buy.html" align="top" border="0" width="125" height="35" onmouseover="SwapImage(1,0,'bv01075','bv01075_over .gif')" onmouseout="SwapImage(0,0,'bv01075','bv01075.gif') "></A></TD>
    </TR>
    </TABLE>
    </DIV>
    <IMG src="footer.jpg" alt="" align="top" border="0" width="400" height="103" style="position:absolute;left:207px;top:622px;widt h:400px;height:103px;z-index:15">
    </DIV>
    </BODY>
    </HTML>

  6. #6
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: error message

    That is the web-page that contains the form. I will have to defer to Navaldesign as it is his script / process method that you are using.

    Sorry not of much help,

    Andy
    PHP- is a blast!

  7. #7
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: error message

    Hi Scuba,

    i fixed it again for you. Please note that you are having mistakes in your forms:

    In the contact form, the field Email is set as "Email-RE". The correct is "Email-Re".

    In the Buy form, the email is set as "Emil-RE" instead of the correct "Email-Re". Also, the name field, is named "Firt_LastName-RB" instead of "First_LastName-RB"

    Open your BV pages, correct those names, save and republish your forms, otherwise the visitors will NOT be able to send you their Email address. They will receive an error message about the "Email field" containing the @ symbol.

    However this was not the problem you have encountered. You had run the ndadmin.php page, but you had left blank spaces in the beggining of each input. You had also put a semicolon ";" at the end of one field. Since semicolon is used by php to separate command lines, this has messed up completely the configuration file. I fixed it for you.

    Please note that if you simply change visual parts of your forms, without changing something in the fields themselves, you DON'T need to run the ndadmin.php again.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  8. #8
    scubadiver's Avatar
    scubadiver is offline Lieutenant Colonel
    Join Date
    Aug 2006
    Location
    Hawaii
    Posts
    553

    Default Re: error message

    I thought that I have made all the necessary changes to the admin but I guess not. Sorry for the trouble.

  9. #9
    Bethers's Avatar
    Bethers is offline Major General & Forum Moderator
    Join Date
    Feb 2006
    Posts
    5,232

    Default Re: error message

    Navaldesign - On her form, you can't tab through the form in order -

    On forms I've made with other programs, I know that it only works properly that way if the items are put in the form in order and any changes made, needed to be made to all starting at the top to keep the order. Is that what's necessary here to get it to tab properly?

    Thanks,
    Beth

  10. #10
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: error message

    Hi Beth,

    Here's the 'official way' to change the TAB order of the elements on an existing form:
    Right click the first element of the form and select 'Move to front'
    Do this for all your form elements in the order you want the tab to go.

    At the end Save and publish again.

    Posted by Pablo.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  11. #11
    Bethers's Avatar
    Bethers is offline Major General & Forum Moderator
    Join Date
    Feb 2006
    Posts
    5,232

    Default Re: error message

    Knew there had to be a simpler way than what I've done in the past.

    Thank you :)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49