Jump to content

Recommended Posts

ContextErrorException in classes.php line 93:

Warning: session_cache_limiter(): Cannot change cache limiter when session is active

 

  1. in classes.php line 93
  2. at ErrorHandler->handleError('2', 'session_cache_limiter(): Cannot change cache limiter when session is active', '/var/www/web326/html/brazil-dreams/prestashop/app/cache/dev/classes.php', '93', array('options' => array('cookie_httponly' => true, 'gc_probability' => '1'), 'handler' => null, 'metaBag' => object(MetadataBag)))
  3. at session_cache_limiter('') in classes.php line 93
  4. at NativeSessionStorage->__construct(array('cookie_httponly' => true, 'gc_probability' => '1'), null, object(MetadataBag)) in appDevDebugProjectContainer.php line 3892
  5. at appDevDebugProjectContainer->getSession_Storage_NativeService() in bootstrap.php.cache line 2248
  6. at Container->get('session.storage.native') in appDevDebugProjectContainer.php line 3862
  7. at appDevDebugProjectContainer->getSessionService() in bootstrap.php.cache line 2248
  8. at Container->get('session') in appDevDebugProjectContainer.php line 3601
  9. at appDevDebugProjectContainer->getSecurity_Csrf_TokenManagerService() in bootstrap.php.cache line 2248
  10. at Container->get('security.csrf.token_manager') in appDevDebugProjectContainer.php line 2965
  11. at appDevDebugProjectContainer->getPrestashop_RouterService() in bootstrap.php.cache line 2248
  12. at Container->get('prestashop.router', '2') in appDevDebugProjectContainer.php line 1810
  13. at appDevDebugProjectContainer->getLocaleListenerService() in bootstrap.php.cache line 2248
  14. at Container->get('locale_listener') in classes.php line 1970
  15. at ContainerAwareEventDispatcher->lazyLoad('kernel.finish_request') in classes.php line 1938
  16. at ContainerAwareEventDispatcher->getListeners('kernel.finish_request') in TraceableEventDispatcher.php line 245
  17. at TraceableEventDispatcher->preProcess('kernel.finish_request') in TraceableEventDispatcher.php line 135
  18. at TraceableEventDispatcher->dispatch('kernel.finish_request', object(FinishRequestEvent)) in bootstrap.php.cache line 3272
  19. at HttpKernel->finishRequest(object(Request), '1') in bootstrap.php.cache line 3211
  20. at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3359
  21. at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2562
  22. at Kernel->handle(object(Request), '1', false) in index.php line 86
Edited by Diegovgoulart (see edit history)
Link to comment
Share on other sites

Ativou o modo debug ? Mais erros sendo escritos ? Pelos erros que postou, vc. está tendo algum problema com o cache do seu servidor.

A versao PS 1.7.3 está cheia de erros. Eu sugiro já que está comecando a montar uma loja, vc. use a versao PS 1.6. que é estável. PS 1.7. é uma versao em desenvolvimento, nao estável.

 

Link to comment
Share on other sites

O Resultado apresentado foi esse:

ContextErrorException in NativeSessionStorage.php line 106: Warning: session_cache_limiter(): Cannot change cache limiter when session is active

 

  1. in NativeSessionStorage.php line 106
  2. at ErrorHandler->handleError('2', 'session_cache_limiter(): Cannot change cache limiter when session is active', '/var/www/web326/html/brazil-dreams/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php', '106', array('options' => array('cookie_httponly' => true, 'gc_probability' => '1'), 'handler' => null, 'metaBag' => object(MetadataBag)))
  3. at session_cache_limiter('') in NativeSessionStorage.php line 106
  4. at NativeSessionStorage->__construct(array('cookie_httponly' => true, 'gc_probability' => '1'), null, object(MetadataBag)) in appDevDebugProjectContainer.php line 3892
  5. at appDevDebugProjectContainer->getSession_Storage_NativeService() in bootstrap.php.cache line 2248
  6. at Container->get('session.storage.native') in appDevDebugProjectContainer.php line 3862
  7. at appDevDebugProjectContainer->getSessionService() in bootstrap.php.cache line 2248
  8. at Container->get('session') in appDevDebugProjectContainer.php line 3601
  9. at appDevDebugProjectContainer->getSecurity_Csrf_TokenManagerService() in bootstrap.php.cache line 2248
  10. at Container->get('security.csrf.token_manager') in appDevDebugProjectContainer.php line 2965
  11. at appDevDebugProjectContainer->getPrestashop_RouterService() in bootstrap.php.cache line 2248
  12. at Container->get('prestashop.router') in appDevDebugProjectContainer.php line 522
  13. at appDevDebugProjectContainer->getCacheWarmerService() in bootstrap.php.cache line 2248
  14. at Container->get('cache_warmer') in bootstrap.php.cache line 2762
  15. at Kernel->initializeContainer() in bootstrap.php.cache line 2529
  16. at Kernel->boot() in bootstrap.php.cache line 2560
  17. at Kernel->handle(object(Request), '1', false) in index.php line 86

 

Edited by Diegovgoulart (see edit history)
Link to comment
Share on other sites

Vc. está tentando instalar o Prestashop em um xampp ? Se sim desista. O xampp somente emula um servidor. Melhor é vc. usar um servidor em producao. Instale o Prestashop em uma pasta com login protegido. Ou entao use em vez do xampp o virtual box. Instale lá um lamp e depois instale o Prestashop.

O problema está relacionado a um cache nao existente, sem funcionalidade ou direitos de escrita erroneos.

Link to comment
Share on other sites

Vc. após instalar deletou a pasta /install ? Renomeou a pasta /admin para outro qualquer nome ? Apesar de ter instalado agora mesmo a versao PS 1.7.3.1 nao deparei com nehum erro, o que deixa suspeitar que o erro está no seu servidor. Cache mal configurado, direitos de escrita mal configurados.

Memos o erro: Warning: session_cache_limiter(): Cannot change cache limiter when session is active  diz que o script nao pode alterar parametros (no seu banco de dados). O que na verdade é u problema de leitura/escrita ou entao um ficheiro corrupto/nao existente. Se já tentou 4 vezes, entao o problema somente fica no seu servidor. Entre em contato com o provedor. Este deverá ler todos os logs de erro do servidor, e ir acertando os problemas.

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