[Résolu] Erreurs lors l'usage de SPIP_LOADER

Bonjour,
j’exploite un site depuis longtemps sur Nuxit.
Depuis quelques jours, la page principale du site renvoie une erreur ( Fatal error : Cannot redeclare ass() (previously declared in /web2/ringot/westhoek-book/spip.php:12) in /web2/ringot/westhoek-book/ecrire/inc_version.php on line 66), alors que tout marchait correctement jusqu’ici.
Je tente donc de faire un upgrade de SPIP, en utilisant SPIP-Loader.
L’exécution me renvoie le message d’erreur suivant : Parse error : syntax error, unexpected T_STRING in /web2/ringot/www/spip_loader.php on line 3
Je n’ai pas trouvé cela dans les FAQ, auriez vous une idée ?
Merci d’avance de votre aide
Bien cordialement

Bonjour,

Dans

as-tu bien respecté :

Attention : Le script étant compressé, si vous utilisez le protocole FTP, configurez votre logiciel client en mode binaire pour ce transfert

?

Oui, mon client FTP est en mode « binary ».
Et le fichier s’exécuterait, puisqu’il y a des messages d’erreur.
J’étais en php 6, je suis passé en php 8.2, et maintenant, le message d’erreur est encore plus grand : " Deprecated : preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /web2/ringot/westhoek-book/ecrire/inc_version.php on line 66

Warning : Undefined array key « HTTP_REFERER » in /web2/ringot/westhoek-book/ecrire/inc_version.php on line 66

Fatal error : Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /web2/ringot/westhoek-book/config/ecran_securite.php:113 Stack trace: #0 /web2/ringot/westhoek-book/ecrire/inc_version.php(88): include() #1 phar:///web2/ringot/westhoek-book/spip_loader.php/src/Spip.php(148): include_once(’/web2/ringot/we…’) #2 phar:///web2/ringot/westhoek-book/spip_loader.php/src/Spip.php(155): Spip\Loader\Spip->start() #3 phar:///web2/ringot/westhoek-book/spip_loader.php/src/Check/Authentication.php(11): Spip\Loader\Spip->isUsable() #4 phar:///web2/ringot/westhoek-book/spip_loader.php/src/Application.php(92): Spip\Loader\Check\Authentication->__invoke(Object(Spip\Loader\Config\Config), Object(Spip\Loader\Spip), Object(Spip\Loader\Template\Page)) #5 phar:///web2/ringot/westhoek-book/spip_loader.php/src/Application.php(48): Spip\Loader\Application->checks() #6 phar:///web2/ringot/westhoek-book/spip_loader.php/public/index.php(31): Spip\Loader\Application->run() #7 phar:///web2/ringot/westhoek-book/spip_loader.php/index.php(1): require(‹ phar:///web2/ri… ›) #8 /web2/ringot/westhoek-book/spip_loader.php(58): Phar::webPhar(‹ spip_loader.pha… ›, NULL, NULL, Array, Object(Closure)) #9 /web2/ringot/westhoek-book/spip_loader.php(41): Spip\Loader\Stub->handle_web() #10 /web2/ringot/westhoek-book/spip_loader.php(129): Spip\Loader\Stub->handle() #11 {main} thrown in /web2/ringot/westhoek-book/config/ecran_securite.php on line 113"

Je ne sais pas s’il faut un compte pour lancer slip_loader, mais vous pouvez essayer : http://westhoek-book.fr/spip_loader.php

Je suis un peu désemparé.

Bien cordialement

Par ailleurs, j’ai un autre site sur le même hébergeur (même compte client), qui fonctionne bien.

Sinon, comment peut on vérifier que le fichier chargé a bien été transféré en mode binaire ?

Bonjour à tous
Mon hébergeur a bricolé quelque chose (il m’a décrit ce qu’il a fait, mais je n’ai pas compris), et ça remarche.
Merci a SPIP pour les nouvelles versions
bien cordialement