Take the 2-minute tour ×
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It's 100% free, no registration required.

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


share|improve this question
    
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

2 Answers 2

up vote 1 down vote accepted

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.

share|improve this answer

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.

share|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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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