Bonjour,
je rencontre une erreur 500 lors de l'export ical. Les autres exports fonctionnent normalement.
Version de Soplanning : 1.50.02
Version de php : 8.2.0
La fonction d'export ical fonctionnait parfaitement sous ma précédente installation de php (version 7.3).
Merci de votre aide.
Export ical - Erreur 500
-
- Site Admin
- Posts: 395
- Joined: 31 Aug 2017, 15:58
Re: Export ical - Erreur 500
Bonjour
pouvez-vous aller voir dans les logs php pour avoir l'erreur détaillée ?
merci
pouvez-vous aller voir dans les logs php pour avoir l'erreur détaillée ?
merci
Re: Export ical - Erreur 500
Bonjour,
voici ce que jai trouvé dans le log :
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$loadFilter is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$configLoad is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$getConfigVars is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$loadFilter is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$configLoad is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$getConfigVars is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$_filterHandler is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$_foreach is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/templates_c/7a6cdd51376e7cee613541f7bce1f815666c4ef9_0.file.www_planning_filtre.tpl.php on line 306
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/templates_c/7a6cdd51376e7cee613541f7bce1f815666c4ef9_0.file.www_planning_filtre.tpl.php on line 341
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/templates_c/7a6cdd51376e7cee613541f7bce1f815666c4ef9_0.file.www_planning_filtre.tpl.php on line 384
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/templates_c/7a6cdd51376e7cee613541f7bce1f815666c4ef9_0.file.www_planning_filtre.tpl.php on line 406
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/templates_c/7a6cdd51376e7cee613541f7bce1f815666c4ef9_0.file.www_planning_filtre.tpl.php on line 529
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$configload is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$_filterHandler is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:28 Europe/Paris] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /share/CACHEDEV1_DATA/Web/soplanning/includes/class_user.inc:122
Stack trace:
#0 /share/CACHEDEV1_DATA/Web/soplanning/www/process/xajax_server.php(1389): User->lienIcal(Array, Array, '3')
#1 /share/CACHEDEV1_DATA/Web/soplanning/includes/xajax.inc(994): choixIcal()
#2 /share/CACHEDEV1_DATA/Web/soplanning/includes/xajax.inc(652): xajax->_callFunction('choixIcal', Array)
#3 /share/CACHEDEV1_DATA/Web/soplanning/www/process/xajax_server.php(4171): xajax->processRequests()
#4 {main}
thrown in /share/CACHEDEV1_DATA/Web/soplanning/includes/class_user.inc on line 122
voici ce que jai trouvé dans le log :
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$loadFilter is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$configLoad is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$getConfigVars is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$loadFilter is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$configLoad is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$getConfigVars is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:22 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$_filterHandler is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$_foreach is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/templates_c/7a6cdd51376e7cee613541f7bce1f815666c4ef9_0.file.www_planning_filtre.tpl.php on line 306
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/templates_c/7a6cdd51376e7cee613541f7bce1f815666c4ef9_0.file.www_planning_filtre.tpl.php on line 341
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/templates_c/7a6cdd51376e7cee613541f7bce1f815666c4ef9_0.file.www_planning_filtre.tpl.php on line 384
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/templates_c/7a6cdd51376e7cee613541f7bce1f815666c4ef9_0.file.www_planning_filtre.tpl.php on line 406
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/templates_c/7a6cdd51376e7cee613541f7bce1f815666c4ef9_0.file.www_planning_filtre.tpl.php on line 529
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$configload is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_template.php on line 719
[31-Jul-2023 23:03:25 Europe/Paris] PHP Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$_filterHandler is deprecated in /share/CACHEDEV1_DATA/Web/soplanning/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182
[31-Jul-2023 23:03:28 Europe/Paris] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /share/CACHEDEV1_DATA/Web/soplanning/includes/class_user.inc:122
Stack trace:
#0 /share/CACHEDEV1_DATA/Web/soplanning/www/process/xajax_server.php(1389): User->lienIcal(Array, Array, '3')
#1 /share/CACHEDEV1_DATA/Web/soplanning/includes/xajax.inc(994): choixIcal()
#2 /share/CACHEDEV1_DATA/Web/soplanning/includes/xajax.inc(652): xajax->_callFunction('choixIcal', Array)
#3 /share/CACHEDEV1_DATA/Web/soplanning/www/process/xajax_server.php(4171): xajax->processRequests()
#4 {main}
thrown in /share/CACHEDEV1_DATA/Web/soplanning/includes/class_user.inc on line 122
-
- Site Admin
- Posts: 395
- Joined: 31 Aug 2017, 15:58
Re: Export ical - Erreur 500
C'est très étrange, on dirait que la sélection des projets faite pour votre lien ical n'est pas valide. Pouvez-vous générer à nouveau ce lien depuis le menu export ical ?
Si ça ne change rien, pouvez vous essayer sur notre demo si vous arrivez à reproduire le problème ?
merci de votre aide.
https://www.soplanning.org/fr/demo-en-ligne/
Si ça ne change rien, pouvez vous essayer sur notre demo si vous arrivez à reproduire le problème ?
merci de votre aide.
https://www.soplanning.org/fr/demo-en-ligne/
Re: Export ical - Erreur 500
justement, l'erreur 500 fait que je n'accède pas au menu d'export ical, donc imposible de générer un nouveau lien...
Le menu d'export ical fonctionne bien à partir de votre démo, mais je ne vois comment y reproduire l'erreur.
Etant donnée la teneur des messages du log, peut-être cela a-t-il à voir avec ceci : https://www.php.net/manual/fr/class.all ... erties.php ?
Le menu d'export ical fonctionne bien à partir de votre démo, mais je ne vois comment y reproduire l'erreur.
Etant donnée la teneur des messages du log, peut-être cela a-t-il à voir avec ceci : https://www.php.net/manual/fr/class.all ... erties.php ?
-
- Site Admin
- Posts: 395
- Joined: 31 Aug 2017, 15:58
Re: Export ical - Erreur 500
Nous avons trouvé l'explication.
La correction avait déjà été faite dans la version à paraitre, mais l'erreur remontée était différente selon la version de PHP.
Fichier /soplanning/www/process/xajax_server.php
Ligne 1389,
remplacer :
$lienIcal = $user->lienIcal(array($user->user_id), array(), '3');
par
$lienIcal = $user->lienIcal('3', array($user->user_id), array());
La correction avait déjà été faite dans la version à paraitre, mais l'erreur remontée était différente selon la version de PHP.
Fichier /soplanning/www/process/xajax_server.php
Ligne 1389,
remplacer :
$lienIcal = $user->lienIcal(array($user->user_id), array(), '3');
par
$lienIcal = $user->lienIcal('3', array($user->user_id), array());
Re: Export ical - Erreur 500
Excellent ! Tout est rentré dans l'ordre.
Merci bcp pour votre aide et pour la rapidité de vos réponses !
Merci bcp pour votre aide et pour la rapidité de vos réponses !
Re: Export ical - Erreur 500
Bonjour,
je suis allé un peu vite en besogne puisque finalement le menu d'export s'affiche désormais normalement, mais la synchronisation du lien ical ne s'effectue pas et l'export ical fichier génère lui aussi une erreur 500...
je suis allé un peu vite en besogne puisque finalement le menu d'export s'affiche désormais normalement, mais la synchronisation du lien ical ne s'effectue pas et l'export ical fichier génère lui aussi une erreur 500...
-
- Site Admin
- Posts: 395
- Joined: 31 Aug 2017, 15:58
Re: Export ical - Erreur 500
C'est probablement lié à un autre fichier qu'on avait identifié, non compatible avec votre version de PHP.
Ecrivez nous sur support @ soplanning.org, on vous enverra le fichier (inclus dans la prochaine version).
Ecrivez nous sur support @ soplanning.org, on vous enverra le fichier (inclus dans la prochaine version).
Re: Export ical - Erreur 500
Vos différentes réponses me confirment bien que le problème vient de ma version de PHP. Je l’ai donc downgradée en attendant que mes applications Web soient compatibles avec la version 8.2.
Je patienterai jusqu’à la prochaine version de Soplanning.
Merci encore pour votre aide.
Je patienterai jusqu’à la prochaine version de Soplanning.
Merci encore pour votre aide.