Announcement

Collapse
No announcement yet.

A General Script Error Occurred - Second opinion?

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

    A General Script Error Occurred - Second opinion?

    Hi,

    I just need to run this by someone else, before all my hair is gone!

    This is happening on two sites, and both were working fine yesterday. (I did update both the websites yesterday, one with minor design update, one with regular stock updates).

    I’m getting the “A General Script Error Occurred”/ “The input is NULL” message when going to the checkout. I know it’s been covered before but I couldn’t find a resolution and I just want a second opinion of my thoughts.

    I’ve noticed that the URL generated by the checkout buttons is different for the cart page and the catalogue page and the cart button.

    The URL on the catalogue page is simply http://<site>/cgi-bin/os000001.pl?ACTION=Start and that seems to work.

    The URL on the cart page is http://www.<site>.com/cgi-bin/os000001.pl?ACTION=Start&REFPAGE=http%3a%2f%2fwww%2e<site>%2ecom%2f and that doesn’t work. (If I delete everything after “...ACTION=Start” then it does, unsurprisingly).

    The URL on the button below the cart is http://www.<site>.com/cgi-bin/os000001.pl?ACTION=Start&REFPAGE=http%3a%2f%2fwww%2e<site>%2ecom%2f&ACTINIC_REFERRER=http%3a%2f%2fwww%2e<site>%2ecom%2fcgi%2dbin%2fca000001%2epl%3fACTION%3dSHOWCART&REFPAGE=http%3a%2f%2fwww%2e<site>%2ecom%2f this doesn’t work either.

    I’ve checked the code and both links are being generated with a <a href=”CartLinkText”... , though I’m not sure about the button under the cart.

    I’ve tried turning off SSL, rolling back to an earlier snapshot, changing perl script numbers, deleting from server and reloading etc. etc. etc.

    In desperation I’ve:

    Uninstalled Actinic, renamed any folders that were left and reinstalled, so it’s a pretty clean starting point.

    FTP’d and deleted all the files from the server.

    Imported the network settings from the bad site into a fresh “site1” (ie out of the box). Tested OK.

    Uploaded the site.

    Put a copy of Great Expectations in to the basket and gone to the checkout.

    Same thing happens - checkout button in non-cart page works ok, but the one in the cart doesn’t (urls similar to above).

    Hosting company say they’ve tested the server and run scripts and they don’t have any errors their end.

    So where can the problem creep in? From my end or the server end?

    Any ideas.
    David

    #2
    Did I understand correctly in that you have reinstalled Actinic and uploaded the default store and still experience the problem?

    Comment


      #3
      Originally posted by drounding View Post
      Did I understand correctly in that you have reinstalled Actinic and uploaded the default store and still experience the problem?
      Yup! Absolutely

      Comment


        #4
        With SSL off at the time?

        Comment


          #5
          Originally posted by drounding View Post
          With SSL off at the time?
          Yes, the only thing changed from default was to import the network config.

          Comment


            #6
            It sounds remarkably similar to this one http://community.actinic.com/showthread.php?p=295621

            Try Lee's suggestion as they don't seem to say what the solution was (but didn't complain anymore which suggests it was fixed).

            Mike
            -----------------------------------------

            First Tackle - Fly Fishing and Game Angling

            -----------------------------------------

            Comment


              #7
              Originally posted by olderscot View Post
              Try Lee's suggestion
              Already have, forgot to mention it.

              Originally posted by olderscot View Post
              they don't seem to say what the solution was (but didn't complain anymore which suggests it was fixed).
              Wish they had said.

              It happened on two sites on the same server, and on a new "clean" one too. They insist they've made no canges, and don't have a fault on the server, but I can't see that it's anything but the server.

              Comment


                #8
                Maybe try it out on some Actinic trial hosting.
                Who's the host?

                Comment


                  #9
                  33 hours after raising the support ticket I get a flippant email saying “the issue is believed to be resolved”, and it is - providing ssl is turned off.


                  A lot of that time was spent convincing them the problem was at their end.

                  Comment


                    #10
                    In the mean time I cobbled together a temporary solution:

                    Created a new variable called “UseActinicDefaultCodeForCheckoutAndBasketButtons” (ok it was a bit shorter than that really) and put it in site options to make it easy to switch. Then put the original Actinic CartLinkText and OrderLinkText inside blocks (if true), and hard-coded direct links inside another block (if false). Finally, hashed up something as an alternative to the button at the bottom of the shopping cart page, again switchable with blocks.

                    Not the best way to go (not least because it doesn’t fix all the issues) but it’s better than having no checkout.

                    Comment

                    Working...
                    X