En voulant modifier les droits d'une catégorie d'utilisateurs, j'ai
obtenu une belle page d'erreur (fichier joint).
Faut-il essayer de modifier la version de PHP ? (Je suis chez OVH).
Merci d'avance de tout conseil pour me débloquer.
Maurice Clerc
En tant qu'abonné à la liste j'ai bien reçu mon propre message ... sauf
que le texte avait disparu !
Alors je retente le coup.
------
En voulant modifier les droits d'une catégorie d'utilisateurs, j'ai
obtenu une belle page d'erreur (fichier joint).
Faut-il essayer de modifier la version de PHP ? (Je suis chez OVH).
Merci d'avance de tout conseil pour me débloquer.
Maurice Clerc
-------- Message transféré --------
Sujet : [garradin] Erreur en modification de droits
Date : Thu, 17 Sep 2020 22:33:18 +0200
De : Maurice.Clerc@WriteMe.com <Maurice.Clerc@WriteMe.com>
Répondre à : aide@garradin.eu
Pour : aide@garradin.eu
\__/
(xx)
//||\\
Une erreur s'est produite
KD2\Smartyer_Exception
Warning: Use of undefined constant php - assumed 'php' (this will
throw an Error in a future version of PHP)
in .../templates/admin/config/categories/*modifier.tpl*:/83/
|*79* *} *80* <dl class="droits"> *81* <dt><label
for="f_droit_membres_aucun">Gestion des membres :</label></dt>
*82* <dd>
_*83* <input type="radio" name="droit_membres"
value="{$membres::DROIT_AUCUN}" id="f_droit_membres_aucun" {if
$cat.droit_membres == $membres::DROIT_AUCUN}checked="checked"{/if} />_
*84* <label for="f_droit_membres_aucun"><b
class="aucun">M</b> Pas
d'accès</label> *85* </dd> *86* <dd> *87* <input
type="radio"
name="droit_membres" value="{$membres::DROIT_ACCES}"
id="f_droit_membres_acces" {if $cat.droit_membres ==
$membres::DROIT_ACCES}checked="checked"{/if} /> |
in .../include/lib/KD2/*Smartyer.php*:/666/
→ KD2\Smartyer->parseError /(3 arg.)/
$line
string(2) "83"
$message
string(108) "Warning: Use of undefined constant php - assumed 'php' (this
will throw an Error in a future version of PHP)"
$previous
object(ErrorException) (8) {
}
|*662* $compiled = implode("\n", $compiled); *663* *664* if
(preg_match('!//#(\d+)\?>!', $compiled, $match)) *665* { _*666*
$this->parseError($match[1], $e->getMessage(), $e);_ *667* } *668* else
*669* { *670* throw $e; |
in .../include/lib/KD2/*Smartyer.php*:/395/
→ KD2\Smartyer->compile /(0 arg.)/
|*391* $time = @filemtime($this->compiled_template_path); *392* *393* if
(!$time || (!is_null($this->template_path) &&
filemtime($this->template_path) > $time)) *394* { _*395* return
$this->compile();_ *396* } *397* *398* extract($this->variables,
EXTR_REFS); *399* |
in .../include/lib/KD2/*Smartyer.php*:/350/
→ KD2\Smartyer->fetch /(0 arg.)/
|*346* { *347* // Compatibility with legacy Smarty calls *348* if
(!is_null($template)) *349* { _*350* return (new Smartyer($template,
$this))->fetch();_ *351* } *352* *353* if (is_null($this->compiled_dir))
*354* { |
in .../include/lib/KD2/*Smartyer.php*:/334/
→ KD2\Smartyer->fetch /(1 arg.)/
$template
string(36) "admin/config/categories/modifier.tpl"
|*330* * @return Smartyer *331* */ *332* public function
display($template = null) *333* { _*334* echo $this->fetch($template);_
*335* return $this; *336* } *337* *338* /** |
in .../www/admin/config/categories/*modifier.php*:/90/
→ KD2\Smartyer->display /(1 arg.)/
$template
string(36) "admin/config/categories/modifier.tpl"
|*86*$tpl->assign('cotisations', $cotisations->listCurrent()); *87*
*88*$tpl->assign('membres', new Membres); *89*
_*90*$tpl->display('admin/config/categories/modifier.tpl');_ *91* |
PHP error
Warning: Use of undefined constant php - assumed 'php' (this will
throw an Error in a future version of PHP)
in
.../cache/compiled/*9b58762aea75f8da6174603a62a6b2c799b863f0.tpl.php.tmp*:/107/
|*103*)) == $membres::DROIT_ACCES): //#63?>checked="checked"<?php endif;
//#63?> <?php echo self::escape($readonly, $this->escape_type); //#63?>
/> *104* <label for="f_droit_connexion_acces"><b
class="acces">C</b>
Oui</label> *105* </dd> *106* </dl> _*107* <?php/*#0#_ *108* *109*
*110*
*111* |
in .../include/lib/KD2/*Smartyer.php*:/646/
→ include /(1 arg.)/
0
string(71)
".../cache/compiled/9b58762aea75f8da6174603a62a6b2c799b863f0.tpl.php.tmp"
|*642* extract($this->variables, EXTR_REFS); *643* *644* ob_start();
*645* _*646* include $this->compiled_template_path . '.tmp';_ *647*
*648* $out = ob_get_clean(); *649* } *650* catch (\Exception $e) |
in .../include/lib/KD2/*Smartyer.php*:/395/
→ KD2\Smartyer->compile /(0 arg.)/
|*391* $time = @filemtime($this->compiled_template_path); *392* *393* if
(!$time || (!is_null($this->template_path) &&
filemtime($this->template_path) > $time)) *394* { _*395* return
$this->compile();_ *396* } *397* *398* extract($this->variables,
EXTR_REFS); *399* |
in .../include/lib/KD2/*Smartyer.php*:/350/
→ KD2\Smartyer->fetch /(0 arg.)/
|*346* { *347* // Compatibility with legacy Smarty calls *348* if
(!is_null($template)) *349* { _*350* return (new Smartyer($template,
$this))->fetch();_ *351* } *352* *353* if (is_null($this->compiled_dir))
*354* { |
in .../include/lib/KD2/*Smartyer.php*:/334/
→ KD2\Smartyer->fetch /(1 arg.)/
$template
string(36) "admin/config/categories/modifier.tpl"
|*330* * @return Smartyer *331* */ *332* public function
display($template = null) *333* { _*334* echo $this->fetch($template);_
*335* return $this; *336* } *337* *338* /** |
in .../www/admin/config/categories/*modifier.php*:/90/
→ KD2\Smartyer->display /(1 arg.)/
$template
string(36) "admin/config/categories/modifier.tpl"
|*86*$tpl->assign('cotisations', $cotisations->listCurrent()); *87*
*88*$tpl->assign('membres', new Membres); *89*
_*90*$tpl->display('admin/config/categories/modifier.tpl');_ *91* |
Context
id 2bzbetdl
date 2020-09-17T22:27:38+02:00
os Linux
language PHP 7.3.18
environment development
php_sapi fpm-fcgi
remote_ip 2a01:e34:ee56:a840:8547:a512:834f:4ebf
http_method GET
files_sent array(0) { }
rootDirectory /home/fillierezg/compta
garradin_data_root /home/fillierezg/compta
garradin_version 0.9.8
url http://compta.fillierett.fr/admin/config/categories/modifier.php?id=5
Personne n'a une petite suggestion ?
C'est assez pénalisant de ne pas pouvoir modifier les droits d'une
catégorie d'utilisateurs.
Je pourrais essayer de bidouiller directement dans la base, mais où ?
-------- Message transféré --------
Sujet : Fwd: [garradin] Erreur en modification de droits
Date : Fri, 18 Sep 2020 21:14:38 +0200
De : Maurice.Clerc@WriteMe.com <Maurice.Clerc@WriteMe.com>
Répondre à : aide@garradin.eu
Pour : aide@garradin.eu <aide@garradin.eu>
En tant qu'abonné à la liste j'ai bien reçu mon propre message ... sauf
que le texte avait disparu !
Alors je retente le coup.
------
En voulant modifier les droits d'une catégorie d'utilisateurs, j'ai
obtenu une belle page d'erreur (fichier joint).
Faut-il essayer de modifier la version de PHP ? (Je suis chez OVH).
Merci d'avance de tout conseil pour me débloquer.
Maurice Clerc
-------- Message transféré --------
Sujet : [garradin] Erreur en modification de droits
Date : Thu, 17 Sep 2020 22:33:18 +0200
De : Maurice.Clerc@WriteMe.com <Maurice.Clerc@WriteMe.com>
Répondre à : aide@garradin.eu
Pour : aide@garradin.eu
\__/
(xx)
//||\\
Une erreur s'est produite
KD2\Smartyer_Exception
Warning: Use of undefined constant php - assumed 'php' (this will
throw an Error in a future version of PHP)
in .../templates/admin/config/categories/*modifier.tpl*:/83/
|*79* *} *80* <dl class="droits"> *81* <dt><label
for="f_droit_membres_aucun">Gestion des membres :</label></dt>
*82* <dd>
_*83* <input type="radio" name="droit_membres"
value="{$membres::DROIT_AUCUN}" id="f_droit_membres_aucun" {if
$cat.droit_membres == $membres::DROIT_AUCUN}checked="checked"{/if} />_
*84* <label for="f_droit_membres_aucun"><b
class="aucun">M</b> Pas
d'accès</label> *85* </dd> *86* <dd> *87* <input
type="radio"
name="droit_membres" value="{$membres::DROIT_ACCES}"
id="f_droit_membres_acces" {if $cat.droit_membres ==
$membres::DROIT_ACCES}checked="checked"{/if} /> |
in .../include/lib/KD2/*Smartyer.php*:/666/
→ KD2\Smartyer->parseError /(3 arg.)/
$line
string(2) "83"
$message
string(108) "Warning: Use of undefined constant php - assumed 'php' (this
will throw an Error in a future version of PHP)"
$previous
object(ErrorException) (8) {
}
|*662* $compiled = implode("\n", $compiled); *663* *664* if
(preg_match('!//#(\d+)\?>!', $compiled, $match)) *665* { _*666*
$this->parseError($match[1], $e->getMessage(), $e);_ *667* } *668* else
*669* { *670* throw $e; |
in .../include/lib/KD2/*Smartyer.php*:/395/
→ KD2\Smartyer->compile /(0 arg.)/
|*391* $time = @filemtime($this->compiled_template_path); *392* *393* if
(!$time || (!is_null($this->template_path) &&
filemtime($this->template_path) > $time)) *394* { _*395* return
$this->compile();_ *396* } *397* *398* extract($this->variables,
EXTR_REFS); *399* |
in .../include/lib/KD2/*Smartyer.php*:/350/
→ KD2\Smartyer->fetch /(0 arg.)/
|*346* { *347* // Compatibility with legacy Smarty calls *348* if
(!is_null($template)) *349* { _*350* return (new Smartyer($template,
$this))->fetch();_ *351* } *352* *353* if (is_null($this->compiled_dir))
*354* { |
in .../include/lib/KD2/*Smartyer.php*:/334/
→ KD2\Smartyer->fetch /(1 arg.)/
$template
string(36) "admin/config/categories/modifier.tpl"
|*330* * @return Smartyer *331* */ *332* public function
display($template = null) *333* { _*334* echo $this->fetch($template);_
*335* return $this; *336* } *337* *338* /** |
in .../www/admin/config/categories/*modifier.php*:/90/
→ KD2\Smartyer->display /(1 arg.)/
$template
string(36) "admin/config/categories/modifier.tpl"
|*86*$tpl->assign('cotisations', $cotisations->listCurrent()); *87*
*88*$tpl->assign('membres', new Membres); *89*
_*90*$tpl->display('admin/config/categories/modifier.tpl');_ *91* |
PHP error
Warning: Use of undefined constant php - assumed 'php' (this will
throw an Error in a future version of PHP)
in
.../cache/compiled/*9b58762aea75f8da6174603a62a6b2c799b863f0.tpl.php.tmp*:/107/
|*103*)) == $membres::DROIT_ACCES): //#63?>checked="checked"<?php endif;
//#63?> <?php echo self::escape($readonly, $this->escape_type); //#63?>
/> *104* <label for="f_droit_connexion_acces"><b
class="acces">C</b>
Oui</label> *105* </dd> *106* </dl> _*107* <?php/*#0#_ *108* *109*
*110*
*111* |
in .../include/lib/KD2/*Smartyer.php*:/646/
→ include /(1 arg.)/
0
string(71)
".../cache/compiled/9b58762aea75f8da6174603a62a6b2c799b863f0.tpl.php.tmp"
|*642* extract($this->variables, EXTR_REFS); *643* *644* ob_start();
*645* _*646* include $this->compiled_template_path . '.tmp';_ *647*
*648* $out = ob_get_clean(); *649* } *650* catch (\Exception $e) |
in .../include/lib/KD2/*Smartyer.php*:/395/
→ KD2\Smartyer->compile /(0 arg.)/
|*391* $time = @filemtime($this->compiled_template_path); *392* *393* if
(!$time || (!is_null($this->template_path) &&
filemtime($this->template_path) > $time)) *394* { _*395* return
$this->compile();_ *396* } *397* *398* extract($this->variables,
EXTR_REFS); *399* |
in .../include/lib/KD2/*Smartyer.php*:/350/
→ KD2\Smartyer->fetch /(0 arg.)/
|*346* { *347* // Compatibility with legacy Smarty calls *348* if
(!is_null($template)) *349* { _*350* return (new Smartyer($template,
$this))->fetch();_ *351* } *352* *353* if (is_null($this->compiled_dir))
*354* { |
in .../include/lib/KD2/*Smartyer.php*:/334/
→ KD2\Smartyer->fetch /(1 arg.)/
$template
string(36) "admin/config/categories/modifier.tpl"
|*330* * @return Smartyer *331* */ *332* public function
display($template = null) *333* { _*334* echo $this->fetch($template);_
*335* return $this; *336* } *337* *338* /** |
in .../www/admin/config/categories/*modifier.php*:/90/
→ KD2\Smartyer->display /(1 arg.)/
$template
string(36) "admin/config/categories/modifier.tpl"
|*86*$tpl->assign('cotisations', $cotisations->listCurrent()); *87*
*88*$tpl->assign('membres', new Membres); *89*
_*90*$tpl->display('admin/config/categories/modifier.tpl');_ *91* |
Context
id 2bzbetdl
date 2020-09-17T22:27:38+02:00
os Linux
language PHP 7.3.18
environment development
php_sapi fpm-fcgi
remote_ip 2a01:e34:ee56:a840:8547:a512:834f:4ebf
http_method GET
files_sent array(0) { }
rootDirectory /home/fillierezg/compta
garradin_data_root /home/fillierezg/compta
garradin_version 0.9.8
url http://compta.fillierett.fr/admin/config/categories/modifier.php?id=5
Bonsoir,
voir les messages en haut de la liste de ce mois ci avec « 098 » ou « 0.9.8 » dans le
titre du message ; la version que tu utilise présente un bug corrigé par la version
0.9.8.1 à récupérer sur le site GARRADIN.
De : Maurice.Clerc@WriteMe.com [mailto:Maurice.Clerc@WriteMe.com]
Envoyé : samedi 19 septembre 2020 13:25
À : aide@garradin.eu
Objet : [garradin] Erreur en modification de droits (3)
Personne n'a une petite suggestion ?
C'est assez pénalisant de ne pas pouvoir modifier les droits d'une catégorie
d'utilisateurs.
Je pourrais essayer de bidouiller directement dans la base, mais où ?
-------- Message transféré --------
Sujet :
Fwd: [garradin] Erreur en modification de droits
Date :
Fri, 18 Sep 2020 21:14:38 +0200
De :
Maurice.Clerc@WriteMe.com <mailto:Maurice.Clerc@WriteMe.com>
<Maurice.Clerc@WriteMe.com>
Répondre à :
aide@garradin.eu
Pour :
aide@garradin.eu <mailto:aide@garradin.eu> <aide@garradin.eu>
En tant qu'abonné à la liste j'ai bien reçu mon propre message ... sauf que
le texte avait disparu !
Alors je retente le coup.
------
En voulant modifier les droits d'une catégorie d'utilisateurs, j'ai obtenu
une belle page d'erreur (fichier joint).
Faut-il essayer de modifier la version de PHP ? (Je suis chez OVH).
Merci d'avance de tout conseil pour me débloquer.
Maurice Clerc
-------- Message transféré --------
Sujet :
[garradin] Erreur en modification de droits
Date :
Thu, 17 Sep 2020 22:33:18 +0200
De :
Maurice.Clerc@WriteMe.com <mailto:Maurice.Clerc@WriteMe.com>
<Maurice.Clerc@WriteMe.com>
Répondre à :
aide@garradin.eu
Pour :
aide@garradin.eu
\__/
(xx)
//||\\
Une erreur s'est produite
KD2\Smartyer_Exception
Warning: Use of undefined constant php - assumed 'php' (this will throw an Error
in a future version of PHP)
in .../templates/admin/config/categories/modifier.tpl:83
79 *}
80 <dl class="droits">
81 <dt><label for="f_droit_membres_aucun">Gestion des
membres :</label></dt>
82 <dd>
83 <input type="radio" name="droit_membres"
value="{$membres::DROIT_AUCUN}" id="f_droit_membres_aucun" {if
$cat.droit_membres == $membres::DROIT_AUCUN}checked="checked"{/if} />
84 <label for="f_droit_membres_aucun"><b
class="aucun">M</b> Pas d'accès</label>
85 </dd>
86 <dd>
87 <input type="radio" name="droit_membres"
value="{$membres::DROIT_ACCES}" id="f_droit_membres_acces" {if
$cat.droit_membres == $membres::DROIT_ACCES}checked="checked"{/if} />
in .../include/lib/KD2/Smartyer.php:666
→ KD2\Smartyer->parseError (3 arg.)
$line
string(2) "83"
$message
string(108) "Warning: Use of undefined constant php - assumed 'php' (this
will throw an Error in a future version of PHP)"
$previous
object(ErrorException) (8) {
}
662 $compiled = implode("\n", $compiled);
663
664 if (preg_match('!//#(\d+)\?>!', $compiled, $match))
665 {
666 $this->parseError($match[1], $e->getMessage(), $e);
667 }
668 else
669 {
670 throw $e;
in .../include/lib/KD2/Smartyer.php:395
→ KD2\Smartyer->compile (0 arg.)
391 $time = @filemtime($this->compiled_template_path);
392
393 if (!$time || (!is_null($this->template_path) &&
filemtime($this->template_path) > $time))
394 {
395 return $this->compile();
396 }
397
398 extract($this->variables, EXTR_REFS);
399
in .../include/lib/KD2/Smartyer.php:350
→ KD2\Smartyer->fetch (0 arg.)
346 {
347 // Compatibility with legacy Smarty calls
348 if (!is_null($template))
349 {
350 return (new Smartyer($template, $this))->fetch();
351 }
352
353 if (is_null($this->compiled_dir))
354 {
in .../include/lib/KD2/Smartyer.php:334
→ KD2\Smartyer->fetch (1 arg.)
$template
string(36) "admin/config/categories/modifier.tpl"
330 * @return Smartyer
331 */
332 public function display($template = null)
333 {
334 echo $this->fetch($template);
335 return $this;
336 }
337
338 /**
in .../www/admin/config/categories/modifier.php:90
→ KD2\Smartyer->display (1 arg.)
$template
string(36) "admin/config/categories/modifier.tpl"
86$tpl->assign('cotisations', $cotisations->listCurrent());
87
88$tpl->assign('membres', new Membres);
89
90$tpl->display('admin/config/categories/modifier.tpl');
91
PHP error
Warning: Use of undefined constant php - assumed 'php' (this will throw an Error
in a future version of PHP)
in .../cache/compiled/9b58762aea75f8da6174603a62a6b2c799b863f0.tpl.php.tmp:107
103)) == $membres::DROIT_ACCES): //#63?>checked="checked"<?php endif;
//#63?> <?php echo self::escape($readonly, $this->escape_type); //#63?> />
104 <label for="f_droit_connexion_acces"><b
class="acces">C</b> Oui</label>
105 </dd>
106 </dl>
107 <?php/*#0#
108
109
110
111
in .../include/lib/KD2/Smartyer.php:646
→ include (1 arg.)
0
string(71)
".../cache/compiled/9b58762aea75f8da6174603a62a6b2c799b863f0.tpl.php.tmp"
642 extract($this->variables, EXTR_REFS);
643
644 ob_start();
645
646 include $this->compiled_template_path . '.tmp';
647
648 $out = ob_get_clean();
649 }
650 catch (\Exception $e)
in .../include/lib/KD2/Smartyer.php:395
→ KD2\Smartyer->compile (0 arg.)
391 $time = @filemtime($this->compiled_template_path);
392
393 if (!$time || (!is_null($this->template_path) &&
filemtime($this->template_path) > $time))
394 {
395 return $this->compile();
396 }
397
398 extract($this->variables, EXTR_REFS);
399
in .../include/lib/KD2/Smartyer.php:350
→ KD2\Smartyer->fetch (0 arg.)
346 {
347 // Compatibility with legacy Smarty calls
348 if (!is_null($template))
349 {
350 return (new Smartyer($template, $this))->fetch();
351 }
352
353 if (is_null($this->compiled_dir))
354 {
in .../include/lib/KD2/Smartyer.php:334
→ KD2\Smartyer->fetch (1 arg.)
$template
string(36) "admin/config/categories/modifier.tpl"
330 * @return Smartyer
331 */
332 public function display($template = null)
333 {
334 echo $this->fetch($template);
335 return $this;
336 }
337
338 /**
in .../www/admin/config/categories/modifier.php:90
→ KD2\Smartyer->display (1 arg.)
$template
string(36) "admin/config/categories/modifier.tpl"
86$tpl->assign('cotisations', $cotisations->listCurrent());
87
88$tpl->assign('membres', new Membres);
89
90$tpl->display('admin/config/categories/modifier.tpl');
91
Context
id
2bzbetdl
date
2020-09-17T22:27:38+02:00
os
Linux
language
PHP 7.3.18
environment
development
php_sapi
fpm-fcgi
remote_ip
2a01:e34:ee56:a840:8547:a512:834f:4ebf
http_method
GET
files_sent
array(0) { }
rootDirectory
/home/fillierezg/compta
garradin_data_root
/home/fillierezg/compta
garradin_version
0.9.8
url
http://compta.fillierett.fr/admin/config/categories/modifier.php?id=5
c'est stabilisé ?
je suis encore en 0.9.4
Agentcobra
<https://www.signal-spam.fr>
Le sam. 19 sept. 2020 à 19:00, Kern75 <Kern75@orange.fr> a écrit :
> Bonsoir,
>
>
>
> voir les messages en haut de la liste de ce mois ci avec « 098 » ou
> « 0.9.8 » dans le titre du message ; la version que tu utilise présente un
> bug corrigé par la version 0.9.8.1 à récupérer sur le site GARRADIN.
>
>
>
>
>
>
>
> *De :* Maurice.Clerc@WriteMe.com [mailto:Maurice.Clerc@WriteMe.com]
> *Envoyé :* samedi 19 septembre 2020 13:25
> *À :* aide@garradin.eu
> *Objet :* [garradin] Erreur en modification de droits (3)
>
>
>
> Personne n'a une petite suggestion ?
> C'est assez pénalisant de ne pas pouvoir modifier les droits d'une
> catégorie d'utilisateurs.
>
> Je pourrais essayer de bidouiller directement dans la base, mais où ?
>
>
>
> -------- Message transféré --------
>
> *Sujet : *
>
> Fwd: [garradin] Erreur en modification de droits
>
> *Date : *
>
> Fri, 18 Sep 2020 21:14:38 +0200
>
> *De : *
>
> Maurice.Clerc@WriteMe.com <Maurice.Clerc@WriteMe.com>
> <Maurice.Clerc@WriteMe.com>
>
> *Répondre à : *
>
> aide@garradin.eu
>
> *Pour : *
>
> aide@garradin.eu <aide@garradin.eu> <aide@garradin.eu>
>
>
>
> En tant qu'abonné à la liste j'ai bien reçu mon propre message ...
sauf
> que le texte avait disparu !
> Alors je retente le coup.
>
> ------
> En voulant modifier les droits d'une catégorie d'utilisateurs,
j'ai obtenu
> une belle page d'erreur (fichier joint).
> Faut-il essayer de modifier la version de PHP ? (Je suis chez OVH).
>
> Merci d'avance de tout conseil pour me débloquer.
>
> Maurice Clerc
>
>
>
> -------- Message transféré --------
>
> *Sujet : *
>
> [garradin] Erreur en modification de droits
>
> *Date : *
>
> Thu, 17 Sep 2020 22:33:18 +0200
>
> *De : *
>
> Maurice.Clerc@WriteMe.com <Maurice.Clerc@WriteMe.com>
> <Maurice.Clerc@WriteMe.com>
>
> *Répondre à : *
>
> aide@garradin.eu
>
> *Pour : *
>
> aide@garradin.eu
>
>
>
>
> \__/
>
> (xx)
>
> //||\\
>
> Une erreur s'est produiteKD2\Smartyer_ExceptionWarning: Use of undefined
> constant php - assumed 'php' (this will throw an Error in a future
version
> of PHP)in .../templates/admin/config/categories/*modifier.tpl*:83
>
> 79 *}
>
> 80 <dl class="droits">
>
> 81 <dt><label for="f_droit_membres_aucun">Gestion
des membres :</label></dt>
>
> 82 <dd>
>
> 83 <input type="radio" name="droit_membres"
value="{$membres::DROIT_AUCUN}" id="f_droit_membres_aucun" {if
$cat.droit_membres == $membres::DROIT_AUCUN}checked="checked"{/if} />
>
> 84 <label for="f_droit_membres_aucun"><b
class="aucun">M</b> Pas d'accès</label>
>
> 85 </dd>
>
> 86 <dd>
>
> 87 <input type="radio" name="droit_membres"
value="{$membres::DROIT_ACCES}" id="f_droit_membres_acces" {if
$cat.droit_membres == $membres::DROIT_ACCES}checked="checked"{/if} />
>
> in .../include/lib/KD2/*Smartyer.php*:666→ KD2\Smartyer->parseError (3
> arg.)
>
> *$line*
>
> string(2) "83"
>
> *$message*
>
> string(108) "Warning: Use of undefined constant php - assumed 'php'
(this will throw an Error in a future version of PHP)"
>
> *$previous*
>
> object(ErrorException) (8) {
>
> }
>
> 662 $compiled = implode("\n", $compiled);
>
> 663
>
> 664 if (preg_match('!//#(\d+)\?>!', $compiled,
$match))
>
> 665 {
>
> 666 $this->parseError($match[1], $e->getMessage(),
$e);
>
> 667 }
>
> 668 else
>
> 669 {
>
> 670 throw $e;
>
> in .../include/lib/KD2/*Smartyer.php*:395→ KD2\Smartyer->compile (0 arg.)
>
> 391 $time = @filemtime($this->compiled_template_path);
>
> 392
>
> 393 if (!$time || (!is_null($this->template_path) &&
filemtime($this->template_path) > $time))
>
> 394 {
>
> 395 return $this->compile();
>
> 396 }
>
> 397
>
> 398 extract($this->variables, EXTR_REFS);
>
> 399
>
> in .../include/lib/KD2/*Smartyer.php*:350→ KD2\Smartyer->fetch (0 arg.)
>
> 346 {
>
> 347 // Compatibility with legacy Smarty calls
>
> 348 if (!is_null($template))
>
> 349 {
>
> 350 return (new Smartyer($template, $this))->fetch();
>
> 351 }
>
> 352
>
> 353 if (is_null($this->compiled_dir))
>
> 354 {
>
> in .../include/lib/KD2/*Smartyer.php*:334→ KD2\Smartyer->fetch (1 arg.)
>
> *$template*
>
> string(36) "admin/config/categories/modifier.tpl"
>
> 330 * @return Smartyer
>
> 331 */
>
> 332 public function display($template = null)
>
> 333 {
>
> 334 echo $this->fetch($template);
>
> 335 return $this;
>
> 336 }
>
> 337
>
> 338 /**
>
> in .../www/admin/config/categories/*modifier.php*:90→
> KD2\Smartyer->display (1 arg.)
>
> *$template*
>
> string(36) "admin/config/categories/modifier.tpl"
>
> 86$tpl->assign('cotisations', $cotisations->listCurrent());
>
> 87
>
> 88$tpl->assign('membres', new Membres);
>
> 89
>
> 90$tpl->display('admin/config/categories/modifier.tpl');
>
> 91
>
> PHP errorWarning: Use of undefined constant php - assumed 'php'
(this
> will throw an Error in a future version of PHP)in .../cache/compiled/
> *9b58762aea75f8da6174603a62a6b2c799b863f0.tpl.php.tmp*:107
>
> 103)) == $membres::DROIT_ACCES): //#63?>checked="checked"<?php
endif; //#63?> <?php echo self::escape($readonly, $this->escape_type); //#63?>
/>
>
> 104 <label for="f_droit_connexion_acces"><b
class="acces">C</b> Oui</label>
>
> 105 </dd>
>
> 106 </dl>
>
> 107 <?php/*#0#
>
> 108
>
> 109
>
> 110
>
> 111
>
> in .../include/lib/KD2/*Smartyer.php*:646→ include (1 arg.)
>
> *0*
>
> string(71)
".../cache/compiled/9b58762aea75f8da6174603a62a6b2c799b863f0.tpl.php.tmp"
>
> 642 extract($this->variables, EXTR_REFS);
>
> 643
>
> 644 ob_start();
>
> 645
>
> 646 include $this->compiled_template_path .
'.tmp';
>
> 647
>
> 648 $out = ob_get_clean();
>
> 649 }
>
> 650 catch (\Exception $e)
>
> in .../include/lib/KD2/*Smartyer.php*:395→ KD2\Smartyer->compile (0 arg.)
>
> 391 $time = @filemtime($this->compiled_template_path);
>
> 392
>
> 393 if (!$time || (!is_null($this->template_path) &&
filemtime($this->template_path) > $time))
>
> 394 {
>
> 395 return $this->compile();
>
> 396 }
>
> 397
>
> 398 extract($this->variables, EXTR_REFS);
>
> 399
>
> in .../include/lib/KD2/*Smartyer.php*:350→ KD2\Smartyer->fetch (0 arg.)
>
> 346 {
>
> 347 // Compatibility with legacy Smarty calls
>
> 348 if (!is_null($template))
>
> 349 {
>
> 350 return (new Smartyer($template, $this))->fetch();
>
> 351 }
>
> 352
>
> 353 if (is_null($this->compiled_dir))
>
> 354 {
>
> in .../include/lib/KD2/*Smartyer.php*:334→ KD2\Smartyer->fetch (1 arg.)
>
> *$template*
>
> string(36) "admin/config/categories/modifier.tpl"
>
> 330 * @return Smartyer
>
> 331 */
>
> 332 public function display($template = null)
>
> 333 {
>
> 334 echo $this->fetch($template);
>
> 335 return $this;
>
> 336 }
>
> 337
>
> 338 /**
>
> in .../www/admin/config/categories/*modifier.php*:90→
> KD2\Smartyer->display (1 arg.)
>
> *$template*
>
> string(36) "admin/config/categories/modifier.tpl"
>
> 86$tpl->assign('cotisations', $cotisations->listCurrent());
>
> 87
>
> 88$tpl->assign('membres', new Membres);
>
> 89
>
> 90$tpl->display('admin/config/categories/modifier.tpl');
>
> 91
>
> Context
>
> *id*
>
> 2bzbetdl
>
> *date*
>
> 2020-09-17T22:27:38+02:00
>
> *os*
>
> Linux
>
> *language*
>
> PHP 7.3.18
>
> *environment*
>
> development
>
> *php_sapi*
>
> fpm-fcgi
>
> *remote_ip*
>
> 2a01:e34:ee56:a840:8547:a512:834f:4ebf
>
> *http_method*
>
> GET
>
> *files_sent*
>
> array(0) { }
>
> *rootDirectory*
>
> /home/fillierezg/compta
>
> *garradin_data_root*
>
> /home/fillierezg/compta
>
> *garradin_version*
>
> 0.9.8
>
> *url*
>
> http://compta.fillierett.fr/admin/config/categories/modifier.php?id=5
>
>
>
Impeccable, merci !
Le 19/09/2020 à 18:55, Kern75 a écrit :
>
> Bonsoir,
>
> voir les messages en haut de la liste de ce mois ci avec « 098 » ou
> « 0.9.8 » dans le titre du message ; la version que tu utilises
> présente un bug corrigé par la version 0.9.8.1 à récupérer sur le site
> GARRADIN.
>
> *De :*Maurice.Clerc@WriteMe.com [mailto:Maurice.Clerc@WriteMe.com]
> *Envoyé :* samedi 19 septembre 2020 13:25
> *À :* aide@garradin.eu
> *Objet :* [garradin] Erreur en modification de droits (3)
>
> Personne n'a une petite suggestion ?
> C'est assez pénalisant de ne pas pouvoir modifier les droits d'une
> catégorie d'utilisateurs.
>
> Je pourrais essayer de bidouiller directement dans la base, mais où ?
>
> ....
>