0

On the site, the errors shown below are appearing on the bottom of the home page, and also appear when I try and complete a SagePay test payment.

Doing a bit of digging, it appears it may be something to do with a firewall blocking permission, but not sure. Can anyone confirm this, and also, does Expression Engine need to connect to a port?


A PHP Error was encountered

Severity: Warning

Message: Unknown: open(/var/lib/php/session/sess_4l2sqvju8b8ji8usse9vq4ekk7, O_RDWR) failed: Permission denied (13)

Filename: Unknown

Line Number: 0


A PHP Error was encountered

Severity: Warning

Message: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session)

Filename: Unknown

Line Number: 0


  • are you using an ecommerce addon? – Steven Grant Sep 2 '13 at 8:55
  • @StevenGrant Yes, I'm using Cartthrob. – Tom Pickering Sep 2 '13 at 10:33
1

It seems it can't write to the folder because of incorrect permissions on the folder.

Possibly change the location of where the sessions files are saved (e.g. in a tmp_sessions folder) and change the location in Plesk.

| improve this answer | |
0

given you're using CartThrob and SagePay - we had a similar problem back in December. Have a look at extload.php inside themes/third_party/cartthrob/lib and update as required.

That certainly fixed our issue.

| improve this answer | |
  • We have checked the extload.php file and it seems fine, what pieces of information did you have to update when you were having this problem? – Tom Pickering Sep 2 '13 at 12:36
  • we had to set EE_absolute_server_url and that should be the server path and not actually the url – Steven Grant Sep 2 '13 at 14:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.