Jump to content

Edit History

zeeshan ashraf

zeeshan ashraf


DIDNT INCLUDED RESOLUTION AND SOME POINTS MISSED HELPFUL FOR TROUBLE SHOOTERS

also me having same issue, 

permissions -------- 000 app parameters.php

also this was first encountered with session path error .

Warning: require_once(/home/myuser/www/var/cache/prod/appParameters.php): failed to open stream: Permission denied in /home/myuser/www/config/bootstrap.php on line 86

Fatal error: require_once(): Failed opening required '/home/myuser/www/var/cache/prod/appParameters.php' (include_path='/home/myuser/www/vendor/pear/pear_exception:/home/myuser/www/vendor/pear/console_getopt:/home/myuser/www/vendor/pear/pear-core-minimal/src:/home/myuser/www/vendor/pear/archive_tar:.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/myuser/www/config/bootstrap.php on line 86

 

AND ALSO ERROR 

«Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir("/var/cpanel/php/sessions/ea-php70") failed: Permission denied"

 

my Conf 

PHP 7.2 , Mariadb 10.3 , PS 1.7.5.2, Fedora/Red Hat Enterprise Linux 7, Apache 2.4, https://www.nksparts.com/2-home

It encountered following errors those i fixed:

while deleting Cache manually by command i used rm -Rf* while somehow deleted 

Cache and compile folders also.

created again the folders cache and compile , using the same user of the apache / ps rights owner.

gave rights to both folder cache & compile as per prestashop installation guide.

and finally disabling the OPCACHE. 

also me having same issue, 

permissions -------- 000 app parameters.php

also this was first encountered with session path error .

Warning: require_once(/home/myuser/www/var/cache/prod/appParameters.php): failed to open stream: Permission denied in /home/myuser/www/config/bootstrap.php on line 86

Fatal error: require_once(): Failed opening required '/home/myuser/www/var/cache/prod/appParameters.php' (include_path='/home/myuser/www/vendor/pear/pear_exception:/home/myuser/www/vendor/pear/console_getopt:/home/myuser/www/vendor/pear/pear-core-minimal/src:/home/myuser/www/vendor/pear/archive_tar:.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/myuser/www/config/bootstrap.php on line 86

 

WHENEVER I WANTED TO CLEAR CACHE FROM BACK OFFICE OR ACCESS THE BO, OR INSTALL A MODULE OR ANY ACTIVITY ON BO, IT WOULD GIVE EVEN 500 ERROR ALSO.

AND I TOTALLY LOST CONTROL OF FO AND BO. AND 500 ERROR TOOK OVER.

my Conf 

PHP 7.2 , Mariadb 10.3 , PS 1.7.5.2, Fedora/Red Hat Enterprise Linux 7, Apache 2.4

HOW IT RESOLVED:

It encountered following errors those i fixed:

while deleting Cache manually by command i used rm -Rf* while somehow deleted 

Cache and compile folders also.

created again the folders cache and compile , using the same user of the apache / ps rights owner.

gave rights to both folder cache & compile as per prestashop installation guide.

and finally disabling the OPCACHE. 

CLEAR BROWSER CACHE, OR TRY TO USE ANOTHER BROWSER, DELETE PS CACHE FROM CACHE AND COMPILE AND TWIG FOLDERS.

DISABLE ALSO THE SESSION

IN some cases doing this might help also:

session.save_path : /tmp

(can be written in .users.ini, php.ini or also in software multiphp INI settings if you are using Cpanel etc.

session.gc_probability = Off
session.gc_probability=0

opcache.revalidate_freq = 0
opcache.validate_timestamps = 1
opcache.revalidate_freq = 0
opcache.fast_shutdown = 0
opcache.enable=0

 

errors for reference.

(1/1) ContextErrorException

Warning: include(/home/hygieneb/public_html/230219/var/cache/dev/translations/catalogue.bg-BG.NXhscRe.php): failed to open stream: No such file or directory

in Translator.php line 309

at include()in Translator.php line 309

at Translator->initializeCacheCatalogue('bg-BG')in Translator.php line 265

at Translator->loadCatalogue('bg-BG')in Translator.php line 241

at Translator->getCatalogue('bg-BG')in Context.php line 374

at ContextCore->getTranslatorFromLocale('bg-BG')in Context.php line 351

at ContextCore->getTranslator()in Controller.php line 224

at ControllerCore->__construct()in AdminController.php line 417

at AdminControllerCore->__construct()in LegacyContext.php line 63

at LegacyContext->getContext()in UserLocaleListener.php line 39

at UserLocaleListener->__construct(object(LegacyContext))in appDevDebugProjectContainer.php line 1815

at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()in appDevDebugProjectContainer.php line 2299

at appDevDebugProjectContainer->ContainerRmnhzxr\{closure}()in EventDispatcher.php line 229

at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61

at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 128

at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 262

at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137

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.

 

zeeshan ashraf

zeeshan ashraf


DIDNT INCLUDED RESOLUTION AND SOME POINTS MISSED HELPFUL FOR TROUBLE SHOOTERS

also me having same issue, 

permissions -------- 000 app parameters.php

also this was first encountered with session path error .

Warning: require_once(/home/myuser/www/var/cache/prod/appParameters.php): failed to open stream: Permission denied in /home/myuser/www/config/bootstrap.php on line 86

Fatal error: require_once(): Failed opening required '/home/myuser/www/var/cache/prod/appParameters.php' (include_path='/home/myuser/www/vendor/pear/pear_exception:/home/myuser/www/vendor/pear/console_getopt:/home/myuser/www/vendor/pear/pear-core-minimal/src:/home/myuser/www/vendor/pear/archive_tar:.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/myuser/www/config/bootstrap.php on line 86

my Conf 

PHP 7.2 , Mariadb 10.3 , PS 1.7.5.2, Fedora/Red Hat Enterprise Linux 7, Apache 2.4, https://www.nksparts.com/2-home

It encountered following errors those i fixed:

while deleting Cache manually by command i used rm -Rf* while somehow deleted 

Cache and compile folders also.

created again the folders cache and compile , using the same user of the apache / ps rights owner.

gave rights to both folder cache & compile as per prestashop installation guide.

and finally disabling the OPCACHE. 

also me having same issue, 

permissions -------- 000 app parameters.php

also this was first encountered with session path error .

Warning: require_once(/home/myuser/www/var/cache/prod/appParameters.php): failed to open stream: Permission denied in /home/myuser/www/config/bootstrap.php on line 86

Fatal error: require_once(): Failed opening required '/home/myuser/www/var/cache/prod/appParameters.php' (include_path='/home/myuser/www/vendor/pear/pear_exception:/home/myuser/www/vendor/pear/console_getopt:/home/myuser/www/vendor/pear/pear-core-minimal/src:/home/myuser/www/vendor/pear/archive_tar:.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/myuser/www/config/bootstrap.php on line 86

 

WHENEVER I WANTED TO CLEAR CACHE FROM BACK OFFICE OR ACCESS THE BO, OR INSTALL A MODULE OR ANY ACTIVITY ON BO, IT WOULD GIVE EVEN 500 ERROR ALSO.

AND I TOTALLY LOST CONTROL OF FO AND BO. AND 500 ERROR TOOK OVER.

my Conf 

PHP 7.2 , Mariadb 10.3 , PS 1.7.5.2, Fedora/Red Hat Enterprise Linux 7, Apache 2.4

HOW IT RESOLVED:

It encountered following errors those i fixed:

while deleting Cache manually by command i used rm -Rf* while somehow deleted 

Cache and compile folders also.

created again the folders cache and compile , using the same user of the apache / ps rights owner.

gave rights to both folder cache & compile as per prestashop installation guide.

and finally disabling the OPCACHE. 

 

errors for reference.

(1/1) ContextErrorException

Warning: include(/home/hygieneb/public_html/230219/var/cache/dev/translations/catalogue.bg-BG.NXhscRe.php): failed to open stream: No such file or directory

in Translator.php line 309

at include()in Translator.php line 309

at Translator->initializeCacheCatalogue('bg-BG')in Translator.php line 265

at Translator->loadCatalogue('bg-BG')in Translator.php line 241

at Translator->getCatalogue('bg-BG')in Context.php line 374

at ContextCore->getTranslatorFromLocale('bg-BG')in Context.php line 351

at ContextCore->getTranslator()in Controller.php line 224

at ControllerCore->__construct()in AdminController.php line 417

at AdminControllerCore->__construct()in LegacyContext.php line 63

at LegacyContext->getContext()in UserLocaleListener.php line 39

at UserLocaleListener->__construct(object(LegacyContext))in appDevDebugProjectContainer.php line 1815

at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()in appDevDebugProjectContainer.php line 2299

at appDevDebugProjectContainer->ContainerRmnhzxr\{closure}()in EventDispatcher.php line 229

at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61

at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 128

at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 262

at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137

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.

 

zeeshan ashraf

zeeshan ashraf

also me having same issue, 

permissions -------- 000 app parameters.php

also this was first encountered with session path error .

Warning: require_once(/home/myuser/www/var/cache/prod/appParameters.php): failed to open stream: Permission denied in /home/myuser/www/config/bootstrap.php on line 86

Fatal error: require_once(): Failed opening required '/home/myuser/www/var/cache/prod/appParameters.php' (include_path='/home/myuser/www/vendor/pear/pear_exception:/home/myuser/www/vendor/pear/console_getopt:/home/myuser/www/vendor/pear/pear-core-minimal/src:/home/myuser/www/vendor/pear/archive_tar:.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/myuser/www/config/bootstrap.php on line 86

my Conf 

PHP 7.2 , Mariadb 10.3 , PS 1.7.5.2, Fedora/Red Hat Enterprise Linux 7, Apache 2.4

It encountered following errors those i fixed:

while deleting Cache manually by command i used rm -Rf* while somehow deleted 

Cache and compile folders also.

created again the folders cache and compile , using the same user of the apache / ps rights owner.

gave rights to both folder cache & compile as per prestashop installation guide.

and finally disabling the OPCACHE. 

also me having same issue, 

permissions -------- 000 app parameters.php

also this was first encountered with session path error .

Warning: require_once(/home/myuser/www/var/cache/prod/appParameters.php): failed to open stream: Permission denied in /home/myuser/www/config/bootstrap.php on line 86

Fatal error: require_once(): Failed opening required '/home/myuser/www/var/cache/prod/appParameters.php' (include_path='/home/myuser/www/vendor/pear/pear_exception:/home/myuser/www/vendor/pear/console_getopt:/home/myuser/www/vendor/pear/pear-core-minimal/src:/home/myuser/www/vendor/pear/archive_tar:.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/myuser/www/config/bootstrap.php on line 86

my Conf 

PHP 7.2 , Mariadb 10.3 , PS 1.7.5.2, Fedora/Red Hat Enterprise Linux 7, Apache 2.4

It encountered following errors those i fixed:

while deleting Cache manually by command i used rm -Rf* while somehow deleted 

Cache and compile folders also.

created again the folders cache and compile , using the same user of the apache / ps rights owner.

gave rights to both folder cache & compile as per prestashop installation guide.

and finally disabling the OPCACHE. 

 

errors for reference.

(1/1) ContextErrorException

Warning: include(/home/hygieneb/public_html/230219/var/cache/dev/translations/catalogue.bg-BG.NXhscRe.php): failed to open stream: No such file or directory

in Translator.php line 309

at include()in Translator.php line 309

at Translator->initializeCacheCatalogue('bg-BG')in Translator.php line 265

at Translator->loadCatalogue('bg-BG')in Translator.php line 241

at Translator->getCatalogue('bg-BG')in Context.php line 374

at ContextCore->getTranslatorFromLocale('bg-BG')in Context.php line 351

at ContextCore->getTranslator()in Controller.php line 224

at ControllerCore->__construct()in AdminController.php line 417

at AdminControllerCore->__construct()in LegacyContext.php line 63

at LegacyContext->getContext()in UserLocaleListener.php line 39

at UserLocaleListener->__construct(object(LegacyContext))in appDevDebugProjectContainer.php line 1815

at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()in appDevDebugProjectContainer.php line 2299

at appDevDebugProjectContainer->ContainerRmnhzxr\{closure}()in EventDispatcher.php line 229

at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61

at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 128

at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 262

at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137

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.

 

×
×
  • Create New...