installation plugin

Recoupe toutes les discussions à propos de Noalyss
yakitori
Messages : 20
Enregistré le : mar. nov. 14, 2017 10:35 pm

installation plugin

Message par yakitori » mar. nov. 14, 2017 10:35 pm

Bonsoir,
J\'essaye d\'installer les plugin. J\'ai fait ceci:
1. j\'ai copié le plugin-extension_plugin-all-last.7z dans /var/wwww/noalyss/include/ext
2. j\'ai explosé le fichier
3. j\'ai fait tar xvf noalyss-plugin.tar
4. j\'ai fait chmod -R 777 ext

ensuite je me connecte et je choisi mon dossier et je clique sur Extenstion.
Il me dit \"Aucune extension disponible\"
Pouvez-vous m\'aider svp?
Cordialement

Dany
Messages : 2181
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:installation plugin

Message par Dany » mar. nov. 14, 2017 10:35 pm

Bonjour,


C\'est assez étrange, sous noalyss/include/ext vois-tu les répertoires amortis, invoicing .... ??

Pourrais-je avoir la sortie de

Code : Tout sélectionner

tar tvf noalyss-plugin.tar 

Dany
Messages : 2181
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:installation plugin

Message par Dany » mar. nov. 14, 2017 10:35 pm

D\'un autre côté, les plugins sont toujours sous format 7z, où as-tu téléchargé ce fichier ?

yakitori
Messages : 20
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:installation plugin

Message par yakitori » mar. nov. 14, 2017 10:35 pm

Bonjour Dany,
J\'ai téléchargé le 7z ici:
www.phpcompta.be/download.php?file=plug ... ll-last.7z
après l\'avoir explosé je me suis aperçu que les répertoires étaient vides. Mais il y avait un .tar a l\'interieur donc j\'ai ensuite explosé le .tar:
patrick@hpsrv:/var/www/noalyss/include/ext$ tar tvf noalyss-plugin.tar|more
-rw-rw-r-- root/root 1106 2015-03-16 19:36 .gitignore
drwxrwxr-x root/root 0 2015-03-16 19:36 amortis/
-rw-rw-r-- root/root 2696 2015-03-16 19:36 amortis/ajax.php
-rw-rw-r-- root/root 630 2015-03-16 19:36 amortis/amortis_constant.php
-rw-rw-r-- root/root 4118 2015-03-16 19:36 amortis/amortize_javascript.js
drwxrwxr-x root/root 0 2015-03-16 19:36 amortis/doc/
-rw-rw-r-- root/root 2532 2015-03-16 19:36 amortis/doc/devel.txt
drwxrwxr-x root/root 0 2015-03-16 19:36 amortis/include/
-rw-rw-r-- root/root 1794 2015-03-16 19:36 amortis/include/am_card.php
-rw-rw-r-- root/root 2447 2015-03-16 19:36 amortis/include/am_generate.inc.php
-rw-rw-r-- root/root 2254 2015-03-16 19:36 amortis/include/am_histo.inc.php
-rw-rw-r-- root/root 1934 2015-03-16 19:36 amortis/include/am_print.php
-rw-rw-r-- root/root 1751 2015-03-16 19:36 amortis/include/am_util.php
-rw-rw-r-- root/root 11852 2015-03-16 19:36 amortis/include/class_am_card.php
-rw-rw-r-- root/root 10430 2015-03-16 19:36 amortis/include/class_am_generate.php
-rw-rw-r-- root/root 6517 2015-03-16 19:36 amortis/include/class_amortissement_detail_sql.php
-rw-rw-r-- root/root 6613 2015-03-16 19:36 amortis/include/class_amortissement_histo_sql.php
-rw-rw-r-- root/root 3367 2015-03-16 19:36 amortis/include/class_amortissement_material_pdf.php
-rw-rw-r-- root/root 2463 2015-03-16 19:36 amortis/include/class_amortissement_sql.php
-rw-rw-r-- root/root 5393 2015-03-16 19:36 amortis/include/class_amortissement_table_pdf.php
-rw-rw-r-- root/root 9533 2015-03-16 19:36 amortis/include/class_install_plugin.php
-rw-rw-r-- root/root 5164 2015-03-16 19:36 amortis/include/class_pdf_card.php
-rw-rw-r-- root/root 3441 2015-03-16 19:36 amortis/include/material_add.inc.php
-rw-rw-r-- root/root 228 2015-03-16 19:36 amortis/include/material_delete.inc.php
-rw-rw-r-- root/root 1700 2015-03-16 19:36 amortis/include/material_modify.inc.php
-rw-rw-r-- root/root 1373 2015-03-16 19:36 amortis/include/material_new.inc.php
-rw-rw-r-- root/root 1087 2015-03-16 19:36 amortis/include/material_save.inc.php
-rw-rw-r-- root/root 1728 2015-03-16 19:36 amortis/include/print_all.inc.php
-rw-rw-r-- root/root 2751 2015-03-16 19:36 amortis/include/print_fiche.inc.php
-rw-rw-r-- root/root 1950 2015-03-16 19:36 amortis/include/print_table.inc.php
drwxrwxr-x root/root 0 2015-03-16 19:36 amortis/include/template/
-rw-rw-r-- root/root 2494 2015-03-16 19:36 amortis/include/template/listing_histo.php
-rw-rw-r-- root/root 3930 2015-03-16 19:36 amortis/include/template/listing_year.php
-rw-rw-r-- root/root 2697 2015-03-16 19:36 amortis/include/template/material_add.php
-rw-rw-r-- root/root 5772 2015-03-16 19:36 amortis/include/template/material_detail.php
-rw-rw-r-- root/root 3946 2015-03-16 19:36 amortis/include/template/material_display.php
-rw-rw-r-- root/root 2379 2015-03-16 19:36 amortis/include/template/material_listing.php
-rw-rw-r-- root/root 2783 2015-03-16 19:36 amortis/include/template/util_generate.php
-rw-rw-r-- root/root 2930 2015-03-16 19:36 amortis/index.php
-rw-rw-r-- root/root 1431 2015-03-16 19:36 amortis/plugin.xml
-rw-rw-r-- root/root 5056 2015-03-16 19:36 amortis/raw.php
drwxrwxr-x root/root 0 2015-03-16 19:36 amortis/sql/
-rw-rw-r-- root/root 13231 2015-03-16 19:36 amortis/sql/backup.sql

Dany
Messages : 2181
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:installation plugin

Message par Dany » mar. nov. 14, 2017 10:35 pm

Apparemment il y a une petite erreur : tu as 2 fois la même archive. L\'une incrustée dans l\'autre. Bon ce n\'est pas le problème.

Le problème est qu\'il faut que l\'application puisse accèder à

Code : Tout sélectionner

include/ext/[répertoire plugin]/plugin.xml 
.

Et là cela ne fonctionne pas apparemment, pourrais-tu te mettre en mode debug et me donner les messages d\'erreur ?

yakitori
Messages : 20
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:installation plugin

Message par yakitori » mar. nov. 14, 2017 10:35 pm

Merci Dany je vais me mettre en debug ce soir pour voir.

yakitori
Messages : 20
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:installation plugin

Message par yakitori » mar. nov. 14, 2017 10:35 pm

Salut Dany,
ok j\'ai fait les changements et je me suis connecté et je suis allé dans Extension.
Où sont les fichiers de log stp?

Dany
Messages : 2181
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:installation plugin

Message par Dany » mar. nov. 14, 2017 10:35 pm

Salut, normalement les erreurs doivent s\'afficher dans l\'écran que tu appeles, s\'il n\'y a rien c\'est que normalement tout est bon et ça c\'est bizarre. Le problème est de pouvoir reproduire pour comprendre ce qui ne va pas. Sinon, jette un oeil dans /var/log/apache2/...

yakitori
Messages : 20
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:installation plugin

Message par yakitori » mar. nov. 14, 2017 10:35 pm

j\'ai ça quand je clique sur Extension:
::1 - - [16/Apr/2015:22:24:15 +0200] \"GET /noalyss/html/do.php?gDossier=25&ac=EXT HTTP/1.1\" 200 2068 \"http://localhost/noalyss/html/do.php?gDossier=25&ac=EXT\" \"Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0\"

Dany
Messages : 2181
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:installation plugin

Message par Dany » mar. nov. 14, 2017 10:35 pm

Bon ben, tu n\'as pas d\'erreur qui s\'affiche, il ne trouve aucun fichier plugin.xml dans noalyss/include/ext/[nom_plugin]. Je n\'ai vraiment aucune idée de ce que c\'est, tu as vérifié dans /var/log/apache2/error.log ?
Tu vas devoir les installer à l\'ancienne (via le menu menu-->ajout plugin)

D.

Répondre