Fork me on GitHub






Crash suite à upgrade PHP
Régulier
Inscrit: 23/06/2004 17:28
Messages: 311
Bonjour tous,

souhaitant remonter au propre mon vieux portail http://www.aquasquale.com encore sous Xoops 2.4.2 et PHP 5.2.17

J'ai demandé une migration PHP en 5.5 auprès de mon hébergeur (infomaniak) afin de remonter en parallèle un nouveau xoops récent...
Mais suite au passage de mon serveur en PHP5.5.23, mon site est inaccessible... et je suis largué.
j'avais une grosse base de membres que je ne voudrais pas perde.

Une idée pour récupérer mon site SVP?
Merci

message de la page d'accueil ci-dessous :

Citation :
Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/include/common.php on line 43

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/xoopsload.php on line 90

Strict Standards: Non-static method XoopsLoad::loadCoreConfig() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/xoopsload.php on line 110

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/preload.php on line 26

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/xoopsload.php on line 90

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/preload.php on line 27

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/xoopsload.php on line 90

Strict Standards: Non-static method XoopsPreload::getInstance() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/include/common.php on line 44

Strict Standards: Non-static method XoopsCache::read() should not be called statically, assuming $this from incompatible context in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/preload.php on line 83

Strict Standards: Non-static method XoopsCache::getInstance() should not be called statically, assuming $this from incompatible context in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/cache/xoopscache.php on line 266

Strict Standards: Declaration of XoopsCacheFile::write() should be compatible with XoopsCacheEngine::write($key, &$value, $duration) in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/cache/file.php on line 311

Strict Standards: Non-static method XoopsLoad::load() should not be called statically, assuming $this from incompatible context in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/cache/file.php on line 113

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically, assuming $this from incompatible context in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/xoopsload.php on line 90

Strict Standards: Non-static method XoopsFile::getHandler() should not be called statically, assuming $this from incompatible context in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/cache/file.php on line 114

Strict Standards: Non-static method XoopsFile::load() should not be called statically, assuming $this from incompatible context in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/file/xoopsfile.php on line 113

Strict Standards: Non-static method XoopsLoad::load() should not be called statically, assuming $this from incompatible context in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/file/file.php on line 108

Strict Standards: Non-static method XoopsFile::getHandler() should not be called statically, assuming $this from incompatible context in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/file/file.php on line 109

Strict Standards: Non-static method XoopsFile::load() should not be called statically, assuming $this from incompatible context in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/file/xoopsfile.php on line 113

Strict Standards: Non-static method XoopsLists::getFileListAsArray() should not be called statically, assuming $this from incompatible context in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/preload.php on line 87

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method ProtectorCorePreload::eventCoreIncludeCommonStart() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/preload.php on line 138

Strict Standards: Non-static method Protector::getInstance() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/securite/xoops_lib/modules/protector/include/precheck_functions.php on line 12

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/include/common.php on line 51

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/xoopsload.php on line 90

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/include/common.php on line 59

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/xoopsload.php on line 90

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/include/common.php on line 66

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/xoopsload.php on line 90

Strict Standards: Non-static method XoopsLogger::getInstance() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/include/common.php on line 67

Strict Standards: Non-static method XoopsLogger::getInstance() should not be called statically in /home/www/5ff2e99ae493be47cab270a633aadc69/web/V3/class/logger/xoopslogger.php on line 371
This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Unable to connect to database

Posté le : 18/06/2015 13:17
Partager Twitter Partagez cette article sur GG+
Re: Crash suite à upgrade PHP
Admin Frxoops
Inscrit: 04/03/2011 09:10
De Lot
Messages: 2837
Au hasard, extraire les données directement de la BDD pour les insérer dans la nouvelle base du site tout neuf.

Sinon, pour information, la longue liste de message est juste là pour signaler des exceptions (erreurs PHP non bloquantes, juste là pour dire que le site n'est pas à jour)

Le message le plus important est le dernier "Unable to connect database"

La différence entre 2.4 et 2.5 est que les données de connexions ne sont pas écris dans le même fichier, avant c'était dans mainfile.php et maintenant, c'est dans ./xoops_data/data/secure.php (ce sera à vérifier mais ça doit être ce fichier là)

Posté le : 18/06/2015 14:29
Partager Twitter Partagez cette article sur GG+
Re: Crash suite à upgrade PHP
Régulier
Inscrit: 23/06/2004 17:28
Messages: 311
Merci montuy,

Je dois pouvoir extraire les données oui, mais j'avais également plein d'articles à récupérer depuis des modules qui ne fonctionnent probablement plus sous 2.5.

tu penses que je peux tout de même récupérer mon vieux site avec la nouvelle version de php?

Posté le : 18/06/2015 15:01
Partager Twitter Partagez cette article sur GG+
Re: Crash suite à upgrade PHP
Admin Frxoops
Inscrit: 04/03/2011 09:10
De Lot
Messages: 2837
Tout est récupérable, la complexité dépendra des modules et de l'état des données initiales (pense à vérifier l'encodage des données de la BDD, ils doivent être en utf8_general_ci, vu que tous les modules récents sont en UTF-8).

Je fais régulièrement ce genre de migration pour des clients, donc je connais un peu le cheminement.

Donc avant l'importation, on modifie le charset de la BDD, il est aussi important d'installer les modules dans le même ordre, ensuite on migre les données Xoops (pas les modules), là on migre les données module par module. Et on fini par le thème qu'on apsse en utf-8 (les fichiers en eux-même et aussi les paramètres HTML)
Et tant qu'à faire,on passe le thème en HTML5/CSS3

Posté le : 18/06/2015 15:11
Partager Twitter Partagez cette article sur GG+
Re: Crash suite à upgrade PHP
Régulier
Inscrit: 23/06/2004 17:28
Messages: 311
Merci, je vais donc tâcher de voir en ce sens.

J'ai déja pu récupérer ma base de membres sur une version de test, c'est un début

Posté le : 18/06/2015 16:30
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

16 Personne(s) en ligne (8 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 16 | Plus ...