Announcement

Collapse
No announcement yet.

Request Login on Shop Entry Error

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

    Request Login on Shop Entry Error

    I have just ticked the box which says "Request login on Shop entry" and now I get the following error when previewing my page :

    Line: 18
    Char: 18
    Expected ')'
    Code: 0
    URL: file://C:\Program Files\Actinic v7\Sites\Caledonia Dist\PreviewHTML\P_catalogbody.html

    How can I fix this?

    O.

    #2
    I have been trying to sort this all day and I havent got any further with it, can anyone shed some light on it.
    I cant seem to find the correct template to change so the error does not appear. Its only happening when I view a shop page which has products in it.

    Owain.

    Comment


      #3
      Can anyone help?

      Im pulling my hair out trying to sort this now

      The error does not appear when I allow anyone to place an order, but the minute I say only registered customers can order I get ther error.

      O.

      Comment


        #4
        Hi,

        Is this on the Actinic preview or on an uploaded site? can you try uploading the site and see if the error persists. Do you have customer accounts and product groups setup as yet?

        Kind regards,
        Bruce King
        SellerDeck

        Comment


          #5
          Hi,
          Sorry in the delay in getting back to you. I was getting email support from Actinic but for some reason when you view it on your machines the problem doesnt happen.

          This error only occurs when previewing in Actinic, and only happens when viewing products.
          We have customer accounts set up and product groups.

          O.

          Comment


            #6
            Hi Owain,

            Did you send your snapshot through to us to take a look at. If not, then I suggest that you do that so we can see if there is anything unusual with your site.
            ********************
            Tracey
            SellerDeck

            Comment


              #7
              I have sent a snapshot and the actual site folder. Both times I have been told that there is no problem at your end. It only happens when I click the box to 'lock down' the website from unauthorised users. The site works fine (in preview) when the box is not checked.

              I have uploaded the site and it all seems to be working but this doesnt help when I try and preview.

              O.

              Comment


                #8
                Hi Owain,

                I have got your snapshot and get the error all the time, even without the 'Request Login on Shop Entry' ticked. I have narrowed it down to 'Design | Text | Go To | ID 207'. It seems that this field does not like having HTML in it. At the moment you have:

                <img src="images/PROHIBITIONsm.jpg" width="20" height="20" />This catalogue is reserved for registered customers only. Please contact us on 01592 655 646 to gain access to our extensive range of safety signs. Alternatively <a href="Contact_Us_Form.html">click here</a> to complete our online contact form.

                If you remove:

                '<img src="images/PROHIBITIONsm.jpg" width="20" height="20" />'

                and

                '<a href="Contact_Us_Form.html">click here</a>'

                Then you don't get the javascript error in preview.

                I will ask our development team if this is supposed to happen but it looks like a bug to me.
                ********************
                Tracey
                SellerDeck

                Comment


                  #9
                  Brilliant news, well, at least I know its not just my machine. Out of interest, why didnt the other actinic support person have any error messages??

                  O.

                  Comment


                    #10
                    Hi,

                    Out of interest, why didnt the other actinic support person have any error messages??
                    To be honest, I'm not sure why it did not occur on my colleagues machine. One other thing I found out after posting is that the error also only occurs if you do not allow unregistered customers (ie in View | Business Settings | Ordering tab | untick 'Allow Orders from Unregistered Customers'). With that option ticked there is no error. Our development team are looking into this at the moment.
                    ********************
                    Tracey
                    SellerDeck

                    Comment


                      #11
                      Thanks Tracey, I noticed that the error went away when you unticked the box. I have uploaded the website and it seems to work as planned but it would still be good to get rid of the error message on my screen.

                      Owain.

                      Comment


                        #12
                        Any update on this problem?

                        Comment


                          #13
                          Hi,

                          Sorry for the delay in getting back to you on this but we are having problems getting that prompt to recognise the <IMG> tag. You can get the link to work by encoding the quote marks - ie:

                          <a href=&#34;Contact_Us_Form.html&#34;>click here</a>

                          We are still looking into getting the image to display.
                          ********************
                          Tracey
                          SellerDeck

                          Comment


                            #14
                            Hi,

                            We have finally found the solution and it is so simple. Can you just replace your double quotes for single quotes:

                            so change:

                            <img src="images/PROHIBITIONsm.jpg" width="20" height="20" />

                            to

                            <img src='images/PROHIBITIONsm.jpg' width='20' height='20' />
                            ********************
                            Tracey
                            SellerDeck

                            Comment


                              #15
                              Hi,
                              Brilliant, thanks for that. As you say, so simple.

                              Now, my next question is, which template do I find that in ?

                              Owain.

                              Comment

                              Working...
                              X