Application Android - DoliDroid FR: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 78: Line 78:


== JSERR001 ==
== JSERR001 ==
If you get this error when loaing a page/feature with DoliDroid (including tha login page), this means your Dolibarr installation on server side serve bugged pages. In a common usage of Dolibarr, this may have no visible effect for user. But when used from a smartphone, this make DoliDroid fails loading pages.
Si vous obtenez cette erreur lors de la location d'une page / fonctionnalité avec DoliDroid (y compris la page de connexion), cela signifie que votre installation Dolibarr côté serveur sert des pages boguées. Dans une utilisation courante de Dolibarr, cela peut n'avoir aucun effet visible pour l'utilisateur. Mais lorsqu'il est utilisé à partir d'un smartphone, cela empêche DoliDroid de charger les pages.
This is common things to check to solve the problem:
Voici les choses courantes à vérifier pour résoudre le problème:
* If you have installed external modules, try after disabling them (some external modules introduce bugs).
* Si vous avez installé des modules externes, essayez de les désactiver (certains modules externes introduisent des bogues).
* Try also to call login page from a standard PC by adding &dol_use_jmobile=1 as parameter of URL and check you don't have any javascript errors.
* Essayez également d'appeler la page de connexion à partir d'un PC standard en ajoutant & dol_use_jmobile = 1 comme paramètre d'URL et vérifiez que vous n'avez aucune erreur javascript.
* If you installed Dolibarr with the debian package, check into directory '''/usr/share/javascript''' that you find a directory called '''jquery''', '''jquery-ui''' and '''flot'''. If one of this directory is missing (or if all directory '''/usr/share/javascript''') is missing:
* Si vous avez installé Dolibarr avec le paquet debian, vérifiez dans le répertoire '''/usr/share/javascript''' que vous trouvez un répertoire appelé '''jquery''', '''jquery-ui''' et '''flot'''. Si l'un de ce répertoire est manquant (ou si tout le répertoire '''/usr/share/javascript''') est manquant:
- Install missing packages by launching from command line
** Installez les packages manquants en lançant à partir de la ligne de commande
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo apt-get install javascript-common libjs-jquery libjs-jquery-ui libjs-flot
sudo apt-get install javascript-common libjs-jquery libjs-jquery-ui libjs-flot
sudo apt-get install -f
sudo apt-get install -f
</syntaxhighlight>
</syntaxhighlight>
- Go into config file '''/etc/dolibarr/conf.php''' and check you have the following line uncommented (if line is not found, add it at end of file).
** Go into config file '''/etc/dolibarr/conf.php''' and check you have the following line uncommented (if line is not found, add it at end of file).
<syntaxhighlight lang="ini">
<syntaxhighlight lang="ini">
$dolibarr_js_JQUERY_FLOT='/javascript/flot';
$dolibarr_js_JQUERY_FLOT='/javascript/flot';

Navigation menu