Overview

Artifact ID: e9ce29db940a7d54771b7559280a11ec9e24a7f3aa7fe5b6275b6db29c737a68
Ticket: f8bd0706911150e08c031163e420e4dbc60bac61
prob installation plugin (tiers) facturation
User & Date: mehdux on 2021-02-01 23:54:59
Changes

  1. foundin changed to: "1.0.3"
  2. icomment:
    Bonjour,
    J'ai un souci de configuration de l'extension, quand je clique sur configuration j'ai l'erreur ci-dessous sur Nginx et Apache, pour Nginx je me suis inspiré de YunoHost=> https://github.com/YunoHost-Apps/garradin_ynh/blob/5832498c7478ad97a8e3480f3701d2c255d92cf9/conf/nginx.conf
    Infos:
    
    PHP 7.4
    Facturation 0.4.0 => https://gitlab.com/ramoloss/garradin-plugin-facturation
    Garradin 1.0.3
    nginx version: nginx/1.18.0
    Windows 10
    
    Merci d'avance pour votreaide
    
    Stack : 
     \__/
     (xx)
    //||\\
    
    Une erreur s'est produite
    RuntimeException
    Template file doesn't exist or is not readable: C:\001_MPW\programmes\nginx-1.18.0\www\garradin/templates\C:\001_MPW\programmes\nginx-1.18.0\www\garradin/plugins/facturation/templates/config.tpl
    in ...\include\lib\KD2/Smartyer.php:313
    
    309		}
    310
    311		if (!is_null($this->template_path) && (!is_file($this->template_path) || !is_readable($this->template_path)))
    312		{
    313			throw new \RuntimeException('Template file doesn\'t exist or is not readable: ' . $this->template_path);
    314		}
    315
    316		if (is_null($this->compiled_template_path)) {
    317			if (is_null($this->template_path))
    
    in ...\include\lib\KD2/Smartyer.php:290
    → KD2\Smartyer->fetch (0 arg.)
    
    286	{
    287		// Compatibility with legacy Smarty calls
    288		if (!is_null($template))
    289		{
    290			return (new Smartyer($template, $this))->fetch();
    291		}
    292
    293		if (is_null($this->compiled_dir))
    294		{
    
    in ...\include\lib\KD2/Smartyer.php:274
    → KD2\Smartyer->fetch (1 arg.)
    $template	
    
    string(44) ".../plugins/facturation/templates/config.tpl"
    
    270	 * @return Smartyer
    271	 */
    272	public function display($template = null)
    273	{
    274		echo $this->fetch($template);
    275		return $this;
    276	}
    277
    278	/**
    
    in ...\plugins\facturation\www\admin/config.php:126
    → KD2\Smartyer->display (1 arg.)
    $template	
    
    string(44) ".../plugins/facturation/templates/config.tpl"
    
    122$tpl->assign('ok', qg('ok') !== null);
    123
    124$tpl->assign('max_size', Utils::getMaxUploadSize());
    125
    126$tpl->display(PLUGIN_ROOT . '/templates/config.tpl');
    127
    
    in ...\include\lib\Garradin/Plugin.php:224
    → include (1 arg.)
    0	
    
    string(44) "...\plugins\facturation\www\admin\config.php"
    
    220			// Créer l'environnement d'exécution du plugin
    221			$plugin = $this;
    222			global $tpl, $config, $session, $form;
    223
    224			include $this->path() . '/www/' . $file;
    225		}
    226		else
    227		{
    228			// Récupération du type MIME à partir de l'extension
    
    in ...\www\admin/plugin.php:18
    → Garradin\Plugin->call (1 arg.)
    $file	
    
    string(16) "admin/config.php"
    
    14
    15$tpl->assign('plugin', $plugin->getInfos());
    16$tpl->assign('plugin_root', PLUGIN_ROOT);
    17
    18$plugin->call('admin/' . $page);
    19
    
    in ...\www/_route.php:42
    → require (1 arg.)
    0	
    
    string(24) "...\www\admin\plugin.php"
    
    38elseif (preg_match('!/admin/plugin/(.+?)/(.*)!', $uri, $match))
    39{
    40	$_GET['_p'] = $match[1];
    41	$_GET['_u'] = $match[2];
    42	require __DIR__ . '/admin/plugin.php';
    43}
    44elseif (preg_match('!/f/([\d\w]+)/(.+)!', $uri, $match))
    45{
    46	$_GET['id'] = $match[1];
    
    Context
    id	d2k9kd3v
    date	2021-02-01T12:28:47+01:00
    os	WINNT
    language	PHP 7.4.14
    environment	development
    php_sapi	cgi-fcgi
    remote_ip	127.0.0.1
    http_method	GET
    files_sent	array(0) { }
    rootDirectory	C:\001_MPW\programmes\nginx-1.18.0\www\garradin
    garradin_data_root	C:\001_MPW\programmes\nginx-1.18.0\www\garradin
    garradin_version	1.0.3
    url	http://garradin.local:8080/admin/plugin/facturation/config.php
    ```
    
  3. login: "mehdux"
  4. mimetype: "text/x-markdown"
  5. private_contact changed to: "503f2a43703f4bb8a059570ec234c3ae16f27a72"
  6. severity changed to: "Critique"
  7. status changed to: "Open"
  8. title changed to: "prob installation plugin (tiers) facturation"
  9. type changed to: "Bug"