Jump to content

ERR_TOO_MANY_REDIRECTS for certain site sections


nedrahaj

Recommended Posts

Good morning
Please, when I just accessed certain sections of my prestashop site, I got the error;
ERR_TOO_MANY_REDIRECTS
in debug mode the result is as follows, see the capture

(1/1) ContextErrorException

Warning: SessionHandler::read(): open(/var/cpanel/php/sessions/alt-php74/sess_f4e7ec8b9cb9c487914da0f179492740, O_RDWR) failed: No such file or directory (2)

in StrictSessionHandler.php line 48

at StrictSessionHandler->doRead('f4e7ec8b9cb9c487914da0f179492740')in AbstractSessionHandler.php line 103

at AbstractSessionHandler->read('f4e7ec8b9cb9c487914da0f179492740')in SessionHandlerProxy.php line 59

at SessionHandlerProxy->read('f4e7ec8b9cb9c487914da0f179492740')

at session_start()in NativeSessionStorage.php line 154

at NativeSessionStorage->start()in NativeSessionStorage.php line 321

at NativeSessionStorage->getBag('attributes')in Session.php line 256

at Session->getBag('attributes')in Session.php line 280

at Session->getAttributeBag()in Session.php line 73

at Session->get('_security_main')in ContextListener.php line 91

at ContextListener->handle(object(GetResponseEvent))in WrappedListener.php line 46

at WrappedListener->handle(object(GetResponseEvent))in TraceableFirewallListener.php line 35

at TraceableFirewallListener->handleRequest(object(GetResponseEvent), object(Generator))in Firewall.php line 84

at Firewall->onKernelRequest(object(GetResponseEvent))in FirewallListener.php line 48

at FirewallListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))in WrappedListener.php line 115

at WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))in EventDispatcher.php line 214

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), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))in EventDispatcher.php line 44

at EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in TraceableEventDispatcher.php line 143

at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php line 127

at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php line 68

at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200

at Kernel->handle(object(Request), 1, false)in index.php line 82

 


Please help me knowing that I cannot even access the settings sections

Capture d’écran 2024-05-20 161224.png

Link to comment
Share on other sites

Hello,
 

Here are the steps you need to take to resolve this:

1) Verify Session Save Path: Ensure the session save path /var/cpanel/php/sessions/alt-php74 exists and is writable.

2) Permissions Check: Ensure the directory has the correct permissions.

3) PHP Configuration: Verify or set the session save path in your PHP configuration or .htaccess file.

4) PrestaShop Configuration: Check the URL settings in the PrestaShop configuration to avoid misconfiguration.

5) Clear Cache: Manually clear the PrestaShop cache to remove any cached redirects.

6) Session Handler: Ensure the session handler is correctly configured in config/config.inc.php.

Also, Could you please confirm the version of PrestaShop/PHP you are currently using?

Good day

Link to comment
Share on other sites

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