runastoreperu Posted May 14, 2017 Share Posted May 14, 2017 Hola amigos, buenas para todos hace dos dias ya que llevo con este problema y he leido pero aun no encuentro solucion al ingresar al back office del prestashop 1.7.x e ir a la opcion de catalogo me encuentro con el siguiente problema: ContextErrorException in classes.php line 429: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php56) failed: Permission denied (13) in classes.php line 429 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')) at SessionHandler->gc('1440') in classes.php line 429 at SessionHandlerProxy->gc('1440') at session_start() in classes.php line 117 at NativeSessionStorage->start() in classes.php line 192 at NativeSessionStorage->getBag('attributes') in classes.php line 492 at Session->get('_security_main') in ContextListener.php line 78 at ContextListener->handle(object(GetResponseEvent)) in classes.php line 2604 at Firewall->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) at call_user_func(array(object(Firewall), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in WrappedListener.php line 61 at WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in classes.php line 1863 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 at EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in TraceableEventDispatcher.php line 140 at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in bootstrap.php.cache line 3236 at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3206 at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3360 at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2562 at Kernel->handle(object(Request), '1', false) in index.php line 86 Aun no encuentro la solucion se que es un tipo de error de php, pero no puedo resolverlo me ayudarian? Link to comment Share on other sites More sharing options...
diegoalcon Posted June 22, 2017 Share Posted June 22, 2017 Aparentemente ese problema es generado por la imposibilidad de escritura de variables de sesión, para solucionar el problema, en tu php.ini añade una ruta fija: session.save_path = /home/public_html/tmp (< - ejemplo) y asegurate de que la ruta existe y el directorio tmp tiene permisos 755, en principio te debe solucionar todos los problemas causados por el error comentado. Link to comment Share on other sites More sharing options...
maurocommerce Posted March 29, 2018 Share Posted March 29, 2018 (edited) Hola tengo este mismo problema, y tengo acceso a el php.ini, pero no entiendo que debo poner exactamente, actualmente esta asi: session.save_path = "/var/cpanel/php/sessions/ea-php70", agradezco su ayuda. Nota tengo un servidor vps y mirando los directorios no veo alguno llamado tmp, ¿puedo crear el directorio y darle los permisos? Edited March 29, 2018 by maurocommerce (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now