Announcement

Collapse
No announcement yet.

Genral Script Error After Payment

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

    Genral Script Error After Payment

    We getting "Genral Script Error" after customers have added thier Credit Card Number at the Sage Pay Payment Page, once they have clicked for Authorisation, the bar on top moves however instead of getting the Actinic Receipt, they get "Genral Script Error". The order comes through to us however customers think order has failed.

    Error: ./acatalog/86Z152Z200Z82A1234879055B4648.session can not be locked during Session init!

    We also notice when hitting the buy button on prodcuts it takes longer then normal to add to basket, also sometimes it gives the same above error.

    It seems there might be a CGI error??

    We have tried the following:

    1. Purge catalog
    2. Compact Data Base
    3. Changed CGI setting from 1 to 2.
    4. Done full refresh of the website and upload.

    The problem is still there, please advise.
    www.swerve.co.uk
    Discounted Designer Clothing

    #2
    Check the permissions on the folders. Actinic recommends 777 on acatalog and 755 on the cgi-bin.

    It looks like your running on an IIS server which limits any further advice I can give. Sorry.

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

    First Tackle - Fly Fishing and Game Angling

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

    Comment


      #3
      I wonder if it's related to this http://community.actinic.com/showthread.php?t=29821

      For some reason this didn't appear the first time I searched for it.

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

      First Tackle - Fly Fishing and Game Angling

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

      Comment


        #4
        We manage to work out what was causing the script errors, we accept Paypal payment, the Paypal sessions were causing the problem.

        We removed the Paypal payment option and we are error free!

        Now the question is, if we were to do the following as suggested in another post will it fix the script errors, if were were to put the Paypal payment option back on??

        This error is a known bug and it started to occure when we made a fix to a PayPal and Nochex problem.

        Can you please try this:

        Edit ActinicConstants.pm and search for PAYPAL.

        You should see...

        $::PAYMENT_PAYPAL = 900;
        $::PAYMENT_NOCHEX = 52;

        comment these lines out by preceding the lines with '#' so it reads...

        # $::PAYMENT_PAYPAL = 900;
        # $::PAYMENT_NOCHEX = 52;

        Save and exit
        Update the site.

        Does the problem still occur? If it does try:

        Edit Session.pm
        Search for 'sub GetSessionFileName' you will see...

        sub GetSessionFileName
        {
        my $Self = shift;
        my $sID = shift;
        my $sPath = $Self->GetSessionFileFolder();
        return ($sPath . $sID . '.session');
        }

        Insert after this ...

        sub DESTROY
        {
        my $Self = shift;
        $Self->{_LOCKER}->Unlock()
        }

        Save and exit
        Update the site
        www.swerve.co.uk
        Discounted Designer Clothing

        Comment


          #5
          Just to let anyone know who may come across this problem, we did the above changes and fixed the problem. We have Paypal back up and running on the site. Many thanks for all he help.
          www.swerve.co.uk
          Discounted Designer Clothing

          Comment

          Working...
          X