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.

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#763 closed bug (fixed)

scripts : error loading any class from jelix...

Reported by: bibo Owned by:
Priority: normal Milestone: jelix 1.1
Component: jelix-scripts Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

If i launch any scripts loading a jelix class (such as jConfig, jAppManager, etc.) and not a script class or else, it fails...

I've verified that on an older trunk (from july), evrerything is ok.

investigating...

Change History (5)

comment:1 Changed 12 years ago by bibo

Found: it is a regression form revision 1159 (ticket #163).

in jelix-scripts/jelix.php this line has been

// include all jelix libraries and constants : needed by some commands.
include (JELIXS_INIT_PATH);

moved some lines below and do only apply for createapp and help command...

comment:2 Changed 12 years ago by laurentj

  • Milestone set to jelix 1.1

comment:3 Changed 12 years ago by bibo

  • Summary changed from scripts : error loading any class from jelix... (perhaps windows only) to scripts : error loading any class from jelix...

comment:4 Changed 12 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed

The error appears only for "old" application which doesn't have an application.init.php which include lib/jelix/init.php (as new application does).

bug fixed. r1205

comment:5 Changed 12 years ago by bibo

Verified. Great!

Note: See TracTickets for help on using tickets.