Archives de la liste a​i​d​e​@p​a​h​e​k​o​.c​l​o​u​d​

bug sur modification écriture

Bern CLEMENT

27/11/2020 11:19:58

Bonjour

Je viens d'installer une nouvelle instance de garradin 1.0 rc1 chez 
IONOS avec une nouvelle base

j'ai fais une saisie simple recette et je peux la modifier

j'ai fais une saisie avancée dépense si je veux la modifier j'ai erreur


  Erreur interne

Désolé mais le serveur a rencontré une erreur interne et ne peut 
répondre à votre requête. Merci de ré-essayer plus tard.

Si vous suspectez un bug dans Garradin, vous pouvez suivreces 
instructions <http://dev.kd2.org/garradin/Rapporter+un+bug>pour le 
rapporter.

|L'erreur a été enregistrée dans les journaux système (error.log) sous 
la référence :*4upb0ewc*|

← Retour à la page d'accueil <https://compta.cap-pontdeberaud.fr/>

Re: bug sur modification écriture

BohwaZ/Garradin

27/11/2020 12:44:29

Merci corrigé.

RE: bug sur modification écriture

<grd32

27/11/2020 14:04:17

Bonjour,


Désolé mais encore un bug  à la modification d'une écriture:

 \__/
 (xx)
//||\\

Une erreur s'est produite
PHP error
Notice: Undefined offset: 0
in ...\cache\compiled/d1c228a989155628954c457e46231a28617423aa.tpl.php.tmp:90

86)),$chart_id), 'name' =>
$this->modifiers['args']("account_%d_%d",
$this->_magicVar($type, array (
87  0 => 'id',
88)),$key), 'label' => $this->_magicVar($account, array (
89  0 => 'label',
90)), 'required' => '1', 'default' =>
$types_accounts[$key], ], $this); //#46?>
91
92				<?php endforeach; array_pop($_i); unset($iteration); //#47?>
93
94				</dl>

in ...\include\lib\KD2/Smartyer.php:646
→ include (1 arg.)
0	

string(71)
"...\cache\compiled\d1c228a989155628954c457e46231a28617423aa.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(25) "acc/transactions/edit.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\acc\transactions/edit.php:98
→ KD2\Smartyer->display (1 arg.)
$template	

string(25) "acc/transactions/edit.tpl"

94$tpl->assign('chart_id', $chart->id());
95$tpl->assign('analytical_accounts', ['' => '--
Aucun'] + $accounts->listAnalytical());
96$tpl->assign('linked_users', $transaction->listLinkedUsersAssoc());
97
98$tpl->display('acc/transactions/edit.tpl');
99

Context
id	82sj7abo
date	2020-11-27T13:01:27+00:00
os	WINNT
language	PHP 7.3.21
environment	development
php_sapi	apache2handler
remote_ip	::1
http_method	GET
files_sent	array(0) { }
rootDirectory	L:\wamp64\www\garradin
garradin_data_root	L:\wamp64\www\garradin
garradin_version	1.0.0-rc1
url	http://garradin.loc/admin/acc/transactions/edit.php?id=360


Cordialement.

Grd
> -----Original Message-----
> From: BohwaZ/Garradin <garradin@garradin.eu>
> Sent: Friday, November 27, 2020 12:44 PM
> To: aide@garradin.eu
> Subject: Re: [garradin] bug sur modification écriture
> 
> 
> Merci corrigé.
> 
> --
> . ____
>  / ___|  Liste d'entraide des utilisateurs de Garradin
> | |  _   http://garradin.eu/
> | |_| |
>  \____|  Désinscription : http://garradin.eu/aide/

Re: bug sur modification écriture

BohwaZ/Garradin

27/11/2020 14:21:07

Oui il faut mettre à jour vers la RC2.

Cordialement.