Jump to content

Session Path Problem on our SHop


kenhood

Recommended Posts

Hi Guys,

We are having issues with our session paths we are using php 7.1 on our installation based on a theme we use. 

Below is the error

Notice on line 101 in file /home/n******/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.php
[8] SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php71) failed: Permission denied (13)

 

I have tried to change session path to /tmp   

That solution is not working, could someone please advise what could be the problem. Do I have to do something on the permission and if yes which permission should be set. 

 

Regards

 

Link to comment
Share on other sites

1 hour ago, kenhood said:

opendir(/var/cpanel/php/sessions/ea-php71) failed: Permission denied (13)

It looks like a permissions issue, i´d clear cache and check permissions on that folder, check what permissions you have on that folder, change it to 755, test and if it solves your problem leave it like that, if not you can always set the permissions back to what they where before.

Best Regards

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...