[2016-10-03 10:04:30] (ERROR @ /home/xxx/www/core/xpdo/cache/xpdocachemanager.class.php : 278) PHP warning: file_put_contents(/home/xxx/www/core/cache/locks/_home_xxx_www_core_cache_includes_elements_modplugin_25_include_cache_php.lock.10.0.97.147.16617673225444): failed to open stream: Aucun fichier ou dossier de ce type [2016-10-03 10:04:30] (WARN @ /home/xxx/www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file /home/xxx/www/core/cache/includes/elements/modplugin/25.include.cache.php failed
[2016-10-03 08:33:29] (WARN @ /home/xxx/www/core/model/modx/processors/system/config_check.inc.php : 132) [configcheck] check core lockdown curl err: 35: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol [2016-10-03 08:33:31] (ERROR @ /home/xxx/www/core/xpdo/cache/xpdocachemanager.class.php : 279) PHP warning: link(): Le fichier existe [2016-10-03 08:33:31] (WARN @ /home/xxx/www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file /home/xxx/www/core/cache/action_map/mgr/actions.cache.php failed [2016-10-03 08:33:31] (ERROR @ /home/xxx/www/core/model/modx/modcachemanager.class.php : 400) Error caching action map mgr/actions
$config_options = [ 'use_flock' => false, ];
Hello,
Bien qu n'ayant jamais rencontré ce problème, je dirais qu'à première vue c'est lié à l'utilisation de flock.
La solution serait alors (en supposant que Revo >= 2.2.7) de modifier "core/config/{config}.inc.php" pour ajouter
$config_options = [ 'use_flock' => false, ];
Au cas où, un peu de lecture sur le problème :
* https://forums.modx.com/thread/78611/core-cache-file-locks-and-will-not-update
* https://github.com/modxcms/revolution/issues/8420
* https://github.com/modxcms/revolution/issues/9272
En espérant que cela aide.
Bon courage!
$config_options = array ( 'use_flock' => false, );
$config_options = [ 'use_flock' => false, ];
Je viens de modifier :
[2016-12-12 14:51:19] (ERROR @ www/core/xpdo/cache/xpdocachemanager.class.php : 279) PHP warning: link(): Le fichier existe [2016-12-12 14:51:19] (WARN @ www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file www/core/cache/resource/web/resources/12/7cf428b6ebbb6562f6f2645fd9307cdd.cache.php failed [2016-12-12 14:51:19] (WARN @ www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file www/core/cache/resource/web/resources/12/45edc2354da7b9194e5a7700f2359377.cache.php failed [2016-12-12 14:51:19] (ERROR @ www/core/xpdo/cache/xpdocachemanager.class.php : 279) PHP warning: link(): Le fichier existe [2016-12-12 14:51:19] (WARN @ www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file www/core/cache/resource/web/resources/12/a399f5d412c024c61acd98ef621de297.cache.php failed [2016-12-12 14:51:19] (ERROR @ www/core/xpdo/cache/xpdocachemanager.class.php : 279) PHP warning: link(): Le fichier existe [2016-12-12 14:51:19] (WARN @ www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file www/core/cache/resource/web/resources/12/30c8b52c8d56f8114da895591440d3a8.cache.php failed [2016-12-12 14:51:19] (ERROR @ www/core/xpdo/cache/xpdocachemanager.class.php : 279) PHP warning: link(): Le fichier existe [2016-12-12 14:51:19] (WARN @ www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file www/core/cache/resource/web/resources/12/c42d592fe25624bc463d97c4d4ebd568.cache.php failed
Ok je remarque quand même que 9 fois sur 10 c'est ma page "accès réservé aux membres" (unauthorized_page | id = 12) qui renvoie l'erreur suivante :
[2016-12-12 14:51:19] (ERROR @ www/core/xpdo/cache/xpdocachemanager.class.php : 279) PHP warning: link(): Le fichier existe [2016-12-12 14:51:19] (WARN @ www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file www/core/cache/resource/web/resources/12/7cf428b6ebbb6562f6f2645fd9307cdd.cache.php failed [2016-12-12 14:51:19] (WARN @ www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file www/core/cache/resource/web/resources/12/45edc2354da7b9194e5a7700f2359377.cache.php failed [2016-12-12 14:51:19] (ERROR @ www/core/xpdo/cache/xpdocachemanager.class.php : 279) PHP warning: link(): Le fichier existe [2016-12-12 14:51:19] (WARN @ www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file www/core/cache/resource/web/resources/12/a399f5d412c024c61acd98ef621de297.cache.php failed [2016-12-12 14:51:19] (ERROR @ www/core/xpdo/cache/xpdocachemanager.class.php : 279) PHP warning: link(): Le fichier existe [2016-12-12 14:51:19] (WARN @ www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file www/core/cache/resource/web/resources/12/30c8b52c8d56f8114da895591440d3a8.cache.php failed [2016-12-12 14:51:19] (ERROR @ www/core/xpdo/cache/xpdocachemanager.class.php : 279) PHP warning: link(): Le fichier existe [2016-12-12 14:51:19] (WARN @ www/core/xpdo/cache/xpdocachemanager.class.php : 288) Attempt to lock file www/core/cache/resource/web/resources/12/c42d592fe25624bc463d97c4d4ebd568.cache.php failed
Comme vous pouvez le constater, ça peut se produire plusieurs fois à la même seconde.
ce probleme est revenu avec les dernieres versions 2.6, tu as toujours ce problème ?
Quote from: blackmeridian at Mar 08, 2018, 01:11 PMce probleme est revenu avec les dernieres versions 2.6, tu as toujours ce problème ?
Non je n'ai plus de problèmes depuis que j'ai quitté OVH ;-)
Désolé, je peux pas te dire.