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


2
  • are you using an ecommerce addon? Commented Sep 2, 2013 at 8:55
  • @StevenGrant Yes, I'm using Cartthrob. Commented Sep 2, 2013 at 10:33

2 Answers 2

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.

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.

2
  • 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? Commented Sep 2, 2013 at 12:36
  • we had to set EE_absolute_server_url and that should be the server path and not actually the url Commented Sep 2, 2013 at 14:04

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.