developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Opened 12 years ago
Closed 12 years ago
#783 closed bug (fixed)
Impossible de créer un module quand basePath contient un chemin virtuel
Reported by: | Surfoo | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | jelix 1.1 |
Component: | jelix-scripts | Version: | 1.1RC1 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description
Je suis parti sur une installation neuve de la 1.1RC1. Mon appli myapp est situé dans '/home/baptiste/public_html/jelix'. Après la création de l'appli, j'ai modifié la config du basePath en "/~baptiste/jelix/myapp/www/" au lieu de "".
Et quand je veux créer un module "test" avec "php lib/jelix-scripts/jelix.php --myapp createmodule test", ça me retourne :
Error: Jelix Error: basePath (/~baptiste/jelix/myapp/www/) in config file doesn't correspond to current base path. You should setup it to lib/jelix-scripts/
Par contre, si je remet le basePath vide, le module est bien crée.
Change History (2)
comment:1 Changed 12 years ago by laurentj
- Component changed from jelix to jelix-scripts
- Milestone set to jelix 1.1
- Summary changed from Impossible de créer un module quand basePath est renseigné to Impossible de créer un module quand basePath contient un chemin virtuel
comment:2 Changed 12 years ago by laurentj
- Resolution set to fixed
- Status changed from new to closed
fixed in the trunk + 1.1.x branch. r1239
Note: See
TracTickets for help on using
tickets.
À mon avis, le bug survient surtout quand le chemin du basePath est un chemin virtuel, c'est à dire ne correspondant pas à un chemin physique (au moins en partie).