Announcement

Collapse
No announcement yet.

Adding FormMail Form to Login Page - Stops Cookies from working?

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

    Adding FormMail Form to Login Page - Stops Cookies from working?

    Hi,

    I've added a registration form to the 'Act_LoginPage.html', and it displays without any problems.

    However if I try to either Login to the site or complete the registration form and submit it the following message page is displayed: -
    This shopping application requires permission to use cookies on your machine, but this has been denied.

    This can be for several different reasons, but they are all under your control:

    - you may have disallowed cookies altogether in your browser

    - you may have the privacy policy in your browser or internet security software/firewall set to a level that stops cookies from being used by this shopping site

    Cookies in this shopping application are used to keep track of your cart contents, remember names and addresses when you ask for them to be remembered and, when relevant, keep you logged on.

    Cookies are not used in any way that abuses your privacy or security.

    Please change your settings to allow cookies either in your browser or firewall. If you choose not to, I'm afraid that we cannot complete your request.

    Please click here to return to the catalog.

    I'm using the FomMail.pl from scriptarchive.com

    Does anyone know why this should be?

    Regards

    #2
    Cookies is on your machine and not the formmail side of things, i.e. one or more elements within the page needs to record a cookie, which your machine is not allowing, hense it can not get any further through - although.........

    Did you close of the Actinic form element before openning your own form element and then restart the Actinic form element after your own forms closing element ???

    If you place your own forms inside the main areas, then it will have an impact on the actinic forms... so you will need to check those out... do a search for similar things about closing and opening of form elements etc which should bring some stuff up on this.

    Comment


      #3
      Good Morning,

      Did you close of the Actinic form element before openning your own form element and then restart the Actinic form element after your own forms closing element ???
      I will check this, but I think I did, is that correct?

      Regards

      Comment


        #4
        best to let us see the page in question to examine the html

        Comment


          #5
          Hi,

          Many thanks for the reply, below is the version of Act_LoginPage.html that causes the problem: -

          I've had to attach it, as the code is to long for posting.

          Regards
          Attached Files

          Comment


            #6
            attachment is better than inline quote....IMHO

            Anyway 2 things hit me in the face

            1 the formmail.pl you are using is very old and has the email address in the html ripe for harvesting. Find a formmail that hides the email in the cgi, (nms formmail for example) or use actinic's provided script

            2 you have forms within forms on the page

            Comment


              #7
              Hi,

              Thanks for the sugestion about the FormMail and e-mail address. I'll have a look at changing it.

              I've gone through the page and I fail to see where I have the form within a form, could you tell me where you have seen it?

              Many Thanks & Regards

              Comment


                #8
                In the attachment you have commented out one set of Form entries and used them later in the page, I would suggest removing your closing form tag and using the existing one that is right at the bottomm of the page.

                Kind regards,
                Bruce King
                SellerDeck

                Comment


                  #9
                  Bruce,

                  Many thanks for your reply.

                  Are you referring the following: -

                  Code:
                  				<tr>
                  					<td>
                  						<input type=submit value="Submit" onmouseover="this.className='buttonon'" onmouseout="this.className='button'" class="button">&nbsp;<input type=reset value="Clear" onmouseover="this.className='buttonon'" onmouseout="this.className='button'" class="button">
                  					</td>
                  				</tr>
                  			</TABLE>
                  			</form>
                  			</table>
                  
                  <!-- </FORM> -->
                  
                  <!-- The following hidden value is used for SSL redirection-->
                  <INPUT TYPE='HIDDEN' NAME='SSLBOUNCE' VALUE=NETQUOTEVAR:USESSLBOUNCE>
                  
                  <SCRIPT LANGUAGE="JavaScript">
                  <!--
                  for (nIndex = 0; nIndex < document.forms.length; nIndex++)
                  	{
                  	if (document.forms[nIndex] && document.forms[nIndex].USER)
                  		{
                  		document.forms[nIndex].USER.focus();
                  		}
                  	}
                  // -->
                  </SCRIPT>
                  <!-- LoginPage HTML end -->
                  If so, do you mean remove the lower case closing form tag?

                  Sorry but I'm slightly confused by your suggestion.

                  Regards

                  Comment


                    #10
                    Has this one been sorted as yet? I tried the site and filled in the registeration form without any of the errors you mentioned. I did not get the promised mail however.

                    Kind regards,
                    Bruce King
                    SellerDeck

                    Comment


                      #11
                      Hi Bruce,

                      No it hasn't been sorted yet.

                      What I'm try to end up with is one page that can be used for both logging in and if the customer hasn't got a Username & Password, they complete the registration form below rather than them having to click to go onto another page.

                      Surely this is do'able?

                      The site at the moment is the original without the login and combined registration form.

                      Regards

                      Comment


                        #12
                        Andrew,

                        I am working on this and will update you once I have an answer. So far have had not much luck as the form tags on the page seem to break everythin and prevents the login too from working.

                        Kind regards,
                        Bruce King
                        SellerDeck

                        Comment


                          #13
                          Any Developments?

                          Hi there Bruce,

                          Just wondered if you'd made any head way on the problem I was encountering?

                          Regards

                          Comment


                            #14
                            Andrew,

                            Apologies for the delay in getting back to you on this. You will have to add your code for the additional form after NETQUOTEVAR:FORMEND on the template you use for your login page. Go to Design | Options | Layouts and click on the 'edit' button against 'Login Page Layout'.

                            Kind regards,
                            Bruce King
                            SellerDeck

                            Comment


                              #15
                              Hi Bruce,

                              Thanks for the reply and appologise for not getting back to you sooner.

                              I'm slightly confussed by the reply. I've clicked on the 'Edit' button for the 'Login Page Layout' and this opens 'act_primary.html'. I thought the Login Page was using 'Act_LoginPage.html'?

                              This is where I've made previous changes and in it there is no NETQUOTEVAR:FORMEND ?

                              Regards,

                              Andrew

                              Comment

                              Working...
                              X