Bonjour,
Après avoir réussi une installation chez gandi mais en www.mondomaine.fr/thelia/web/ . Les fichiers étaient dans un sous répertoire /htdocs/thelia/ .
Je cherche à l'avoir en www.mondomaine.fr/
J'ai chez GANDI dans le répertoire www.mondomaine.fr un sous répertoire htdocs.
J'ai posé par filezila l'ensemble des fichiers dézipés directement dans le répertoire www.mondomaine.fr en ayant changé 'web' dans core/bootstrap.php ligne 55
define('THELIA_WEB_DIR', THELIA_ROOT . 'htdocs' .DS)
et dans core/lib/Thelia/Install/CheckPermission.php
J'obtiens en lancant install, j'ai cette collection d'érreurs :
==================
Désolé, une erreur inattendue s'est produite: Warning: count(): Parameter must be an array or an object that implements Countable
Détails:
#0 [internal function]: Symfony\Component\Debug\ErrorHandler->handleError(2, 'count(): Parame...', '/srv/data/web/v...', 33, Array)
#1 /srv/data/web/vhosts/www.mondomaine.fr/core/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/InstancePoolTrait.php(33): count(1)
#2 /srv/data/web/vhosts/www.mondomaine.fr/core/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/InstancePoolTrait.php(23): Thelia\Model\Map\AdminTableMap::getInstanceKey(Object(Thelia\Model\Admin))
#3 /srv/data/web/vhosts/www.mondomaine.fr/core/lib/Thelia/Model/Base/Admin.php(1174): Thelia\Model\Map\AdminTableMap::addInstanceToPool(Object(Thelia\Model\Admin))
#4 /srv/data/web/vhosts/www.mondomaine.fr/htdocs/install/end.php(65): Thelia\Model\Base\Admin->save()
#5 {main}
=====================
Question : Comment dépasser ce blocage? Ma stratégie est-elle bonne ?
La question d'après est : comment récupérer les données déja entrées dans l'installation précédente qui marchait ?
Merci par avance Alain.
Last edited by alain_bron (16-11-2019 10:02:00)