Announcement

Collapse
No announcement yet.

I get an error with the following in it: .session can not be locked during Session...

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

  • I get an error with the following in it: .session can not be locked during Session...

    I get an error with the following in it: .session can not be locked during Session init!

    The full error will look something like:

    A General Script Error Occurred

    Error: ../acatalog/217Z41Z217Z22A1181659957B14645.session can not be locked during Session init!

    Try the following:

    1. go to 'Help Menu | Troubleshooting | Website Purge and Refresh' (tick all boxes but be aware that any customised perl scripts will be overwritten with the originals)

    2. check the cgi-bin (755) and acatalog (777) permissions

    3. if you use Paypal or Nochex, edit 'Session.pm (from your site folder) as follows (fixed in 8.5.2 and above):

    * Search for 'sub GetSessionFileName' you will see...

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

    * Insert the following after this ...

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

    * Save and exit the file

    * Update the site.
Working...
X