THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline


Bonjour, je viens d'installer la dernière version de Thelia sur une VPS chez OVH. Tout a bien fonctionné jusqu'à la phase 6 :

========================
Désolé, une erreur inattendue s'est produite: Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.
Détails:
#0 [internal function]: Symfony\Component\Debug\ErrorHandler->handleError(2, 'date(): It is n...', '/var/www/vhosts...', 689, Array)
#1 /var/www/vhosts/xxx.com/httpdocs/boutik/core/lib/Thelia/Log/Tlog.php(689): date('Y-m-d')
#2 /var/www/vhosts/xxx.com/httpdocs/boutik/core/lib/Thelia/Log/Tlog.php(519): Thelia\Log\Tlog->out('ERROR', 'Warning: date()...', Array)
#3 /var/www/vhosts/xxx.com/httpdocs/boutik/core/lib/Thelia/Log/Tlog.php(379): Thelia\Log\Tlog->log(500, 'Warning: date()...', Array)
#4 /var/www/vhosts/xxx.com/httpdocs/boutik/core/lib/Thelia/Core/DependencyInjection/Loader/XmlFileLoader.php(405): Thelia\Log\Tlog->error('Warning: date()...')
#5 [internal function]: Thelia\Core\DependencyInjection\Loader\XmlFileLoader->parseExportCategories(Object(Symfony\Component\DependencyInjection\SimpleXMLElement))
#6 /var/www/vhosts/xxx.com/httpdocs/boutik/core/lib/Thelia/Core/DependencyInjection/Loader/XmlFileLoader.php(108): call_user_func(Array, Object(Symfony\Component\DependencyInjection\SimpleXMLElement))
#7 /var/www/vhosts/xxx.com/httpdocs/boutik/core/lib/Thelia/Core/DependencyInjection/Loader/XmlFileLoader.php(87): Thelia\Core\DependencyInjection\Loader\XmlFileLoader->propelOnlyRun(Array, Object(Symfony\Component\DependencyInjection\SimpleXMLElement))
#8 /var/www/vhosts/xxx.com/httpdocs/boutik/core/lib/Thelia/Core/Thelia.php(218): Thelia\Core\DependencyInjection\Loader\XmlFileLoader->load('export.xml')
#9 /var/www/vhosts/xxx.com/httpdocs/boutik/core/lib/Thelia/Core/Thelia.php(411): Thelia\Core\Thelia->loadConfiguration(Object(Thelia\Core\TheliaContainerBuilder))
#10 /var/www/vhosts/xxx.com/httpdocs/boutik/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php(533): Thelia\Core\Thelia->buildContainer()
#11 /var/www/vhosts/xxx.com/httpdocs/boutik/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php(130): Symfony\Component\HttpKernel\Kernel->initializeContainer()
#12 /var/www/vhosts/xxx.com/httpdocs/boutik/core/lib/Thelia/Core/Thelia.php(143): Symfony\Component\HttpKernel\Kernel->boot()
#13 /var/www/vhosts/xxx.com/httpdocs/boutik/web/install/end.php(59): Thelia\Core\Thelia->boot()
#14 {main}
===============================

Si je vais à la page d'accueil de la boutique (front office) j'ai une page blanche.

Merci pour votre aide, Chris

Last edited by ChrisBobber (06-08-2015 22:29:09)

Offline


Résolu, il manquait la "Time Zone" dans le fichier php.ini du serveur, une fois ajoutée tout est rentré dans l'ordre