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

Re: Problème d'installation du plugin facturation

Fabien Bataille

15/11/2020 21:24:19

Bonjour !
 
 Je viens de regarder ma conf, je n'ai pas de Fallback dans la configuration
 Apache spécifique à Garradin,
 par contre la configuration apache spécifique à Garradin est la suivante:
 
 <VirtualHost *:80>
 #    ServerName 127.0.0.1
    ServerName garradin.agilemans.org
    DocumentRoot /var/www/garradin/www
 
    <Directory /var/www/garradin>
        AllowOverride All
        Require all granted
    </Directory>
 </VirtualHost>
 
 
 On remarque que la directive Directory ne contient pas le www final,
 contrairement à la directive DocumentRoot
 
 Daniel, est-ce que par hasard tu n'aurais pas un www en trop à la fin de la
 directive Directory ?
 
 Fabien
 
| ----- Le 15 Nov 20, à 18:46, adresse riseup adresse@riseup.net a écrit :
| 
|| Bonjour,
|| 
|| À mon avis, c'est un problème de configuration du serveur web. En fait,
|| les url des plugins sont routé dynamiquement par le fichier _route.php,
|| pour effectivement renvoyer les adresse type admin/plugin/facturation,
|| vers le dossier correspondant dans le plugins.
|| 
|| Vérifie que le routage de Garradin passe bien par ce fichier,
|| www/_route.php, sinon effectivement les plugins ne peuvent pas être
|| atteints.
|| Si tu utilises Apache, ça correspond à une ligne du genre :
|| 
|| FallbackResource garradin/www/_route.php
|| (selon ton installation, bien évidemment)
|| 
|| Il me semble que c'est un peu expliqué dans la doc quelque part (po très
|| précis, déso) :
|| https://fossil.kd2.org/garradin/wcontent
|| 
|| --
|| . ____
|| / ___|  Liste d'entraide des utilisateurs de Garradin
||| |  _   http://garradin.eu/
||| |_| |
| |  \____|  Désinscription : http://garradin.eu/aide/

Re: Problème d'installation du plugin facturation

Fabien Bataille

15/11/2020 21:31:27

Si ça aide, voici mon arborescence

 fabien@fabien-N550JV  /var/www/garradin  ls -l plugins 
total 4
drwxrwxr-x 6 www-data www-data 4096 oct.  25 00:41 facturation
 fabien@fabien-N550JV  /var/www/garradin  ls -l plugins/facturation 
total 84
-rw-rw-r-- 1 www-data www-data   588 oct.  25 00:41 CHANGELOG
-rw-rw-r-- 1 www-data www-data     4 oct.  25 00:41 config.json
-rw-rw-r-- 1 www-data www-data 34520 oct.  25 00:41 COPYING
drwxrwxr-x 2 www-data www-data  4096 oct.  25 00:41 data
-rw-rw-r-- 1 www-data www-data   270 oct.  25 00:41 garradin_plugin.ini
-rw-rw-r-- 1 www-data www-data   451 oct.  25 00:41 install.php
drwxrwxr-x 3 www-data www-data  4096 oct.  25 00:41 lib
-rw-rw-r-- 1 www-data www-data   621 oct.  25 00:41 LICENCE
-rw-rw-r-- 1 www-data www-data  3802 oct.  25 00:41 README.md
drwxrwxr-x 2 www-data www-data  4096 oct.  25 00:41 templates
-rw-rw-r-- 1 www-data www-data   113 oct.  25 00:41 uninstall.php
-rw-rw-r-- 1 www-data www-data  1042 oct.  25 00:41 upgrade.php
drwxrwxr-x 3 www-data www-data  4096 oct.  25 00:41 www
 fabien@fabien-N550JV  /var/www/garradin  ls -l plugins/facturation/www
total 4
drwxrwxr-x 2 www-data www-data 4096 oct.  25 00:41 admin
 fabien@fabien-N550JV  /var/www/garradin  ls -l plugins/facturation/www/admin 
total 64
-rw-rw-r-- 1 www-data www-data   174 oct.  25 00:41 aide.php
-rw-rw-r-- 1 www-data www-data  1031 oct.  25 00:41 client_modifier.php
-rw-rw-r-- 1 www-data www-data   423 oct.  25 00:41 client.php
-rw-rw-r-- 1 www-data www-data  1095 oct.  25 00:41 clients.php
-rw-rw-r-- 1 www-data www-data   694 oct.  25 00:41 client_supprimer.php
-rw-rw-r-- 1 www-data www-data  3718 oct.  25 00:41 config.php
-rw-rw-r-- 1 www-data www-data  2653 oct.  25 00:41 cotis_ajouter.php
-rw-rw-r-- 1 www-data www-data  3135 oct.  25 00:41 cotis_modifier.php
-rw-rw-r-- 1 www-data www-data  3363 oct.  25 00:41 facture_ajouter.php
-rw-rw-r-- 1 www-data www-data  3936 oct.  25 00:41 facture_modifier.php
-rw-rw-r-- 1 www-data www-data   602 oct.  25 00:41 facture.php
-rw-rw-r-- 1 www-data www-data   263 oct.  25 00:41 _inc.php
-rw-rw-r-- 1 www-data www-data   661 oct.  25 00:41 index.php
-rw-rw-r-- 1 www-data www-data 11124 nov.   7 19:26 pdf.php


Fabien