Erreur lors de l'installation/Activation memoization

Bonsoir,

A l'installation de memoization le site plante complètement : pages
blanches ...

J'ai supprimé les fichiers du plugin, vider le cache et c'est reparti,
sans memoization.

L'erreur est :

[Thu Dec 13 18:02:58.254609 2018] [proxy_fcgi:error] [pid 8564:tid
139934320523008] [client 77.136.87.185:57488] AH01071: Got error 'PHP
message: PHP Fatal error: Uncaught Error: Call to undefined function
apc_fetch() in
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memo/apc.i
nc:49\nStack trace:\n#0
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memoizatio
n_options.php(70): MCacheBackend_apc->get('tw-35850e5794d9...')\n#1
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memoizatio
n_options.php(155): MCache->get('tw-35850e5794d9...')\n#2
/home/domain.tld/public_html/plugins-
dist/textwheel/inc/textwheel.php(137): cache_get('tw-
35850e5794d9...')\n#3 /home/domain.tld/public_html/plugins-
dist/textwheel/inc/textwheel.php(102): tw_cache_get('tw-
35850e5794d9...')\n#4 /home/domain.tld/public_html/plugins-
dist/textwheel/inc/texte.php(161):
SPIPTextWheelRuleset::loader(Array)\n#5
/home/domain.tld/public_html/tmp/cache/skel/html_12eca9bc02ead06eac7dde
af4d3d84ac.php(446): interdire_scripts('<img src='../pr...')\n#6
/home/domain.tld/public_html/ecrire/public/parametrer...\n', referer: h
ttps://www.domain.tld.net/ecrire/?exec=article&id_article=3369

Je n'ai encore configuré aucun cache.

Cordialement,

Eric

B9nsoir

Un soucis de config serveur ?
Activer les erreur PHP pour voir le soucis.

Le jeu. 13 déc. 2018 à 18:16, eric <webmaster@opalesurfcasting.net> a écrit :

Bonsoir,

A l’installation de memoization le site plante complètement : pages
blanches …

J’ai supprimé les fichiers du plugin, vider le cache et c’est reparti,
sans memoization.

L’erreur est :

[Thu Dec 13 18:02:58.254609 2018] [proxy_fcgi:error] [pid 8564:tid
139934320523008] [client 77.136.87.185:57488] AH01071: Got error ‹ PHP
message: PHP Fatal error: Uncaught Error: Call to undefined function
apc_fetch() in
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memo/apc.i
nc:49\nStack trace:\n#0
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memoizatio
n_options.php(70): MCacheBackend_apc->get(‹ tw-35850e5794d9… ›)\n#1
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memoizatio
n_options.php(155): MCache->get(‹ tw-35850e5794d9… ›)\n#2
/home/domain.tld/public_html/plugins-
dist/textwheel/inc/textwheel.php(137): cache_get(‹ tw-
35850e5794d9… ›)\n#3 /home/domain.tld/public_html/plugins-
dist/textwheel/inc/textwheel.php(102): tw_cache_get(‹ tw-
35850e5794d9… ›)\n#4 /home/domain.tld/public_html/plugins-
dist/textwheel/inc/texte.php(161):
SPIPTextWheelRuleset::loader(Array)\n#5
/home/domain.tld/public_html/tmp/cache/skel/html_12eca9bc02ead06eac7dde
af4d3d84ac.php(446): interdire_scripts( ›<img src=‹ …/pr… ›)\n#6
/home/domain.tld/public_html/ecrire/public/parametrer…\n’, referer: h
ttps://www.domain.tld.net/ecrire/?exec=article&id_article=3369

Je n’ai encore configuré aucun cache.

Cordialement,

Eric


liste spip
spip@rezo.net - désabonnement : envoyer un mail à spip-off@rezo.net

Archives : https://www.mail-archive.com/spip@rezo.net/maillist.html

Infos : https://listes.rezo.net/mailman/listinfo/spip

Documentation de SPIP : http://www.spip.net/

Irc : de l’aide à toute heure : http://spip.net/irc

Nouvelle tentative

J'ai fait l'installation en deux étapes : téléchargement puis
activation.

Les logs (caviardés):

2018-12-14 00:25:20 000.000.000.000 (pid 24475) :Pri:info: Demande
d'activation de : auto/memoization/v2.1.1

Ici un script non trouvé :
2018-12-14 00:25:20 000.000.000.000 (pid 24475) :Pri:info: include_spip
plugins/ajouter_dependances.php non trouve

là, c'est en raison de ma config php-fpm (en prod c'est bon):
2018-12-14 00:25:20 000.000.000.000 (pid 24475) :Pri:!INFO: Probleme de
configuration opcache.revalidate_freq 2s

Le plugin est activé :
2018-12-14 00:25:23 000.000.000.000 (pid 24475) :Pri:debug:
L’activation du plugin « @plugin@ » (version : @version@) s’est
correctement déroulée: variables inutilisees version_maj
2018-12-14 00:25:29 207.46.13.17 (pid 1437) :Pub:debug: Connexion
MySQLi vers localhost, base mabase, prefixe spip operationnelle

Le script non trouvé :
2018-12-14 00:25:37 000.000.000.000 (pid 9950) :Pri:info: include_spip
plugins/ajouter_dependances.php non trouve

2018-12-14 00:25:40 157.55.39.107 (pid 6991) :Pub:debug: GET
/rubrique/page.html - config/connect.php
2018-12-14 00:25:40 000.000.000.000 (pid 9950) :Pri:info: COMPIL (0.145
ms) [../prive/style_prive.css.html]
html_4c575d62dd2b9d6afb749c124258a185.php
2018-12-14 00:25:40 000.000.000.000 (pid 9950) :Pri:info: COMPIL (1.196
ms) [../prive/themes/spip/style_prive.css.html]
html_d4a0d77984cfd16083161bd5229b6c13.php

Et ici un autre script non trouvé :
2018-12-14 00:25:40 000.000.000.000 (pid 9950) :Pri:info: include_spip
balise/ffc.php non trouve

Et d'autres suivent :

2018-12-14 00:25:40 000.000.000.000 (pid 9950) :Pri:info: include_spip
balise/fdfdfd.php non trouve

Dans les logs PHP - toujours la même erreur:

```
[client 207.46.13.17:27303] AH01071: Got error 'PHP message: PHP Fatal
error: Uncaught Error: Call to undefined function apc_fetch() in
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memo/apc.i
nc:49\nStack trace:\n#0
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memoizatio
n_options.php(70): MCacheBackend_apc->get('cache:19c1580fe...')\n#1
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/public/cac
her.php(305): MCache->get('cache:19c1580fe...')\n#2
/home/domain.tld/public_html/ecrire/public/assembler.php(46):
public_cacher(Array, NULL, 'cache:19c1580fe...', Array, 0)\n#3
/home/domain.tld/public_html/ecrire/public.php(117): assembler('forum',
NULL)\n#4 /home/domain.tld/public_html/spip.php(26):
include('/home/opalesurf...')\n#5 {main}\n thrown in
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memo/apc.i
nc on line 49\n'

Bonsoir,

Verification de memoization dans spip_meta : s3:"apc"

Passer methode à s9:"filecache".

Réactivation de memoization : OK.

Sans doute un reste des tests de début d'année 2018.

Mea culpa.

Merci P.

Cordialement,

Eric

eric a écrit le 13/12/2018 à 18:14 :

Bonsoir,

A l'installation de memoization le site plante complètement : pages
blanches ...

J'ai supprimé les fichiers du plugin, vider le cache et c'est reparti,
sans memoization.

L'erreur est :

[Thu Dec 13 18:02:58.254609 2018] [proxy_fcgi:error] [pid 8564:tid
139934320523008] [client 77.136.87.185:57488] AH01071: Got error 'PHP
message: PHP Fatal error: Uncaught Error: Call to undefined function
apc_fetch() in
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memo/apc.i
nc:49\nStack trace:\n#0
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memoizatio
n_options.php(70): MCacheBackend_apc->get('tw-35850e5794d9...')\n#1
/home/domain.tld/public_html/plugins/auto/memoization/v2.1.1/memoizatio
n_options.php(155): MCache->get('tw-35850e5794d9...')\n#2
/home/domain.tld/public_html/plugins-
dist/textwheel/inc/textwheel.php(137): cache_get('tw-
35850e5794d9...')\n#3 /home/domain.tld/public_html/plugins-
dist/textwheel/inc/textwheel.php(102): tw_cache_get('tw-
35850e5794d9...')\n#4 /home/domain.tld/public_html/plugins-
dist/textwheel/inc/texte.php(161):
SPIPTextWheelRuleset::loader(Array)\n#5
/home/domain.tld/public_html/tmp/cache/skel/html_12eca9bc02ead06eac7dde
af4d3d84ac.php(446): interdire_scripts('<img src='../pr...')\n#6
/home/domain.tld/public_html/ecrire/public/parametrer...\n', referer: h
ttps://www.domain.tld.net/ecrire/?exec=article&id_article=3369

Je n'ai encore configuré aucun cache.

Dans config/mes_options.php, rajoute :
define('_CACHE_KEY','zzz');

--
RealET

define('_CACHE_KEY','zzz');

Bonjour,

J'ai ajouté cela à mes_options.php

Cela sert à éviter l' "autoconfiguration" de
mes_options_memoization.php ?

Merci,

Eric