THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

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

Offline


Bonjour à tous,

En voulant installer Thelia 2 sur mon mutualisé, j'obtiens ces deux erreurs après l'étape 5 :

1/2 : ErrorException: Runtime Notice: strtotime(): 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 'Europe/Berlin' for 'CEST/2.0/DST' instead in /homepages/7/d221652477/htdocs/thyno/core/vendor/propel/propel/src/Propel/Runtime/Util/PropelDateTime.php line 51
in /homepages/7/d221652477/htdocs/thyno/core/vendor/propel/propel/src/Propel/Runtime/Util/PropelDateTime.php line 51
at ErrorHandler->handle('2048', 'strtotime(): 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 'Europe/Berlin' for 'CEST/2.0/DST' instead', '/homepages/7/d221652477/htdocs/thyno/core/vendor/propel/propel/src/Propel/Runtime/Util/PropelDateTime.php', '51', array('value' => '1405877825'))
at strtotime('1405877825') in /homepages/7/d221652477/htdocs/thyno/core/vendor/propel/propel/src/Propel/Runtime/Util/PropelDateTime.php line 51
at PropelDateTime::isTimestamp('1405877825') in /homepages/7/d221652477/htdocs/thyno/core/vendor/propel/propel/src/Propel/Runtime/Util/PropelDateTime.php line 84
at PropelDateTime::newInstance('1405877825', null, '\DateTime') in /homepages/7/d221652477/htdocs/thyno/core/lib/Thelia/Model/Base/Admin.php line 813
at Admin->setCreatedAt('1405877825') in /homepages/7/d221652477/htdocs/thyno/core/lib/Thelia/Model/Base/Admin.php line 1072
at Admin->save() in /homepages/7/d221652477/htdocs/thyno/web/install/end.php line 37



2/2 : PropelException: Error parsing date/time value: 1405877825
in /homepages/7/d221652477/htdocs/thyno/core/vendor/propel/propel/src/Propel/Runtime/Util/PropelDateTime.php line 98
at PropelDateTime::newInstance('1405877825', null, '\DateTime') in /homepages/7/d221652477/htdocs/thyno/core/lib/Thelia/Model/Base/Admin.php line 813
at Admin->setCreatedAt('1405877825') in /homepages/7/d221652477/htdocs/thyno/core/lib/Thelia/Model/Base/Admin.php line 1072
at Admin->save() in /homepages/7/d221652477/htdocs/thyno/web/install/end.php line 37


Une idée du pourquoi du comment et surtout du comment ?
Merci pour votre aide

Last edited by Aurels (20-07-2014 18:45:22)

Offline


You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

Il te faut positionner "date.timezone" dans le fichier php.ini à Europe/Paris.


OpenStudio Toulouse

Offline


Merci ! Après avoir vidé mon dossier FTP et réuploadé Thelia, j'ai refait l'installation, dans une nouvelle base de données vide, mais maintenant, un nouveau message apparaît :

ErrorException: Warning: Cannot modify header information - headers already sent by (output started at /homepages/7/d221652477/htdocs/thyno/web/install/header.php:58) in /homepages/7/d221652477/htdocs/thyno/web/install/end.php line 27

Heuuu ??

Last edited by Aurels (20-07-2014 21:41:44)

Offline


Bravo, tu as trouvé un bug !

Le problème: les mots de passe admin que tu as donné à l'état précédente ne sont pas les même.


OpenStudio Toulouse

Offline


roadster31 wrote:

Le problème: les mots de passe admin que tu as donné à l'état précédente ne sont pas les même.

Ben justement, si o.O

bon, je vais refaire une install depuis un nouveau répertoire, une nouvelle BDD, enfin bref je repars de zéro mais avec le bon php.ini direct, on verra bien !

Last edited by Aurels (21-07-2014 08:36:17)