Jump to content
runastoreperu

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

Recommended Posts

Hello friends when entering the administration part of the store I find this error when I want to go to the catalog option of the store to enter new products, please could help me, I know it is a php error, but I can not find the Solution, the error says so:
 
 
ContextErrorException in classes.php line 429: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php56) failed: Permission denied (13)
  1. in classes.php line 429
  2. at ErrorHandler->handleError('8', 'SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php56) failed: Permission denied (13)', '/home/wwwrunastoreperu/public_html/app/cache/dev/classes.php', '429', array('maxlifetime' => '1440'))
  3. at SessionHandler->gc('1440') in classes.php line 429
  4. at SessionHandlerProxy->gc('1440')
  5. at session_start() in classes.php line 117
  6. at NativeSessionStorage->start() in classes.php line 192
  7. at NativeSessionStorage->getBag('attributes') in classes.php line 492
  8. at Session->get('_security_main') in ContextListener.php line 78
  9. at ContextListener->handle(object(GetResponseEvent)) in classes.php line 2604
  10. at Firewall->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
  11. at call_user_func(array(object(Firewall), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in WrappedListener.php line 61
  12. at WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
  13. at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in classes.php line 1863
  14. at EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) in classes.php line 1778
  15. at EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in TraceableEventDispatcher.php line 140
  16. at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in bootstrap.php.cache line 3236
  17. at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3206
  18. at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3360
  19. at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2562
  20. at Kernel->handle(object(Request), '1', false) in index.php line 86

 

Share this post


Link to post
Share on other sites

Hello,

 

I had the same problem. 
 
I solved it by changing the session_path to / tmp, in the php.ini
 
Regards
Edited by FuenRob (see edit history)
  • Like 3

Share this post


Link to post
Share on other sites

As FuenRob said. it is a server configuration problem, follow his instructions and report if solved. If not than you should contact your provider and he should solve the server configuration problem.

Share this post


Link to post
Share on other sites

In my case,i had uploaded an 1.6 module to prestashop 1.7.

I had to restore an backup,because it was not possible to see and delete the module.

 

Share this post


Link to post
Share on other sites
On 6/13/2017 at 0:19 PM, FuenRob said:

Hello,

 

I had the same problem. 
 
I solved it by changing the session_path to / tmp, in the php.ini
 
Regards

Hi

Could you please give me more details. How did you do it?

I use cPanel

Share this post


Link to post
Share on other sites
On 30/12/2017 at 8:55 PM, erkange said:

Hi

Could you please give me more details. How did you do it?

I use cPanel

 

In the files of your web (DocummentRoot), do you have the file php.ini?

Share this post


Link to post
Share on other sites
On 1/2/2018 at 8:11 PM, FuenRob said:

 

In the files of your web (DocummentRoot), do you have the file php.ini?

 

I have VDS, so i can reach to php.ini. But what change i need to do exactlty? 

I have below line in php.ini, 

session.save_path = "/var/cpanel/php/sessions/ea-php56"

 

do you suggest to change it to below one?

session.save_path = "/tmp"

 

Share this post


Link to post
Share on other sites
On 6/1/2018 at 6:52 PM, erkange said:

 

I have VDS, so i can reach to php.ini. But what change i need to do exactlty? 

I have below line in php.ini, 

session.save_path = "/var/cpanel/php/sessions/ea-php56"

 

do you suggest to change it to below one?

session.save_path = "/tmp"

 

 

Yes, you must done this change.

Please, comment with your results.

Share this post


Link to post
Share on other sites
1 hour ago, FuenRob said:

 

Yes, you must done this change.

Please, comment with your results.

 

thanks it worked. 

I have done below updates;

 

max_execution_time = 600     ; Maximum execution time of each script, in seconds
max_input_time = 600 ;  Maximum amount of time each script may spend parsing request data
memory_limit = 128M      ; Maximum amount of memory a script may consume (32MB)
max_input_vars = 7000 ;
 
session.save_path : /tmp

Share this post


Link to post
Share on other sites
1 hour ago, erkange said:

 

thanks it worked. 

I have done below updates;

 

max_execution_time = 600     ; Maximum execution time of each script, in seconds
max_input_time = 600 ;  Maximum amount of time each script may spend parsing request data
memory_limit = 128M      ; Maximum amount of memory a script may consume (32MB)
max_input_vars = 7000 ;
 
session.save_path : /tmp

 

Perfect :D

Share this post


Link to post
Share on other sites

I have this same error, changed the path file to /tmp in php.ini yet the same error is showing.

  • Like 1
  • Sad 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More