Announcement

Collapse
No announcement yet.

Shopping Basket & Checkout - A General Script Error Occurred

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

    Shopping Basket & Checkout - A General Script Error Occurred

    Hi,

    I've been putting the final touches to an Actinic site I've been developing. This is the first time I've worked with Actinic, so it's been a bit of a learning curve.

    My client has requested that some links are added to the top right corner of the site, going through to the shopping basket and the checkout. However when you follow the links, they produce a plain white error page:

    A General Script Error Occurred
    Error: The input is NULL
    Press the Browser back button and try again or contact the site owner.

    The values assigned to the href for the Shopping Basket link is CartPageURL, while the Checkout link is CheckOutPageURL.

    Both of these pages work fine when you click to them via Add to Basket buttons etc. But navigating direct to them in this manner doesn't seem to work.

    Could anyone please shed any light?

    Thanks,

    Andrew Gatenby
    Andrew Gatenby
    · Freelance Web Design
    · Web Development
    · SEO Consultancy

    #2
    A link, or at least some code would help us advise!
    Cheers

    David
    Located in Edinburgh UK

    http://twitter.com/mcfinster

    Comment


      #3
      Try these:
      Code:
      http://www.mydomain.co.uk/cgi-bin/ca000001.pl?ACTION=SHOWCART
      http://www.mydomain.co.uk/cgi-bin/os000001.pl?ACTION=Start

      Comment


        #4
        or

        CartPageURL?ACTION=Start

        CheckOutPageURL?ACTION=SHOWCART

        if you want to keep the variable in tact

        Comment


          #5
          Those last 2 look to have worked a treat - thanks guys!
          Andrew Gatenby
          · Freelance Web Design
          · Web Development
          · SEO Consultancy

          Comment


            #6
            Can I just double check something with this? I have the same problem and need to change the link. Do I literally just change the button link info to:

            CartPageURL?ACTION=Start

            CheckOutPageURL?ACTION=SHOWCART

            or do I need to include the rest of the <actinic:variable name="CartPageURL... etc.

            Thanks
            Charles

            _________________________
            B&M Design & Advertising Ltd
            www.bm-group.co.uk

            Comment


              #7
              CartLinkText (for the shopping cart) and OrderLinkText (for the checkout) are the best variables to use.

              Comment


                #8
                Only thing is, I'm using buttons and not text. Doesn't this just insert a text link?

                _________________________
                B&M Design & Advertising Ltd
                www.bm-group.co.uk

                Comment


                  #9
                  Use it like this...

                  <a href="CartLinkText"><img src="..." /></a>

                  Comment


                    #10
                    Thanks Chris, but I've been here before. I have 2 different templates on the site (one for DVDs, one for CDs) and if you manually code this in it uses the same button on both templates when they actually need to be different. f you change one, it changes the other.

                    Know a way around this? At the moment I keep getting 'Error: The Input is NULL' when I use CartPageURL as the link. This is especially annoying as it was working fine until 2 days ago!

                    Thanks
                    Charles

                    _________________________
                    B&M Design & Advertising Ltd
                    www.bm-group.co.uk

                    Comment


                      #11
                      Are you using Dreamweaver to control your design? If so, you probablyhave two outer layouts both using the same Dreamweaver source file - so you change one and it changes the other.

                      You need to break the link for one of them - by clicking the 'Edit Layout Details' button on the layout and removing the filepath you see there.

                      Comment


                        #12
                        Thanks for this Chris, I am indeed using Dreamweaver but from memory I think I might have tried changing this directly from inside Actinic and it still did the same?

                        Anyway, I'll give this a go. When I click on Edit Layout Details all I get is the description and layout name, should I be seeing something else?

                        Thanks
                        Charles

                        _________________________
                        B&M Design & Advertising Ltd
                        www.bm-group.co.uk

                        Comment


                          #13
                          I'd contact support if I were you. I've got no idea what's going on with your site from what you're describing. I'm sure it's something fixable though.

                          Those variables I gave you are definitely the ones to use though. They will work whether you've got SSL or not, or whether you are logged in or not. You should be using them anywhere you want to link to the shopping cart or link to the checkout.

                          Comment


                            #14
                            Don't worry Chris, sorted this. Must have been doing something wrong last time as its working like a dream now!

                            Thanks for your help with this, its much appreciated.

                            Have a good weekend.

                            Cheers
                            Charlie

                            _________________________
                            B&M Design & Advertising Ltd
                            www.bm-group.co.uk

                            Comment

                            Working...
                            X