Page 1 of 1

error with depselect module

PostPosted: Thu Dec 29, 2011 3:51 am
by Jean
Hello Steve and all,
I just installed the depselect module (very useful). I have this message
Fatal error: Class 'Dataface_JavascriptTool' not found in C:\xampp\htdocs\archibase\modules\depselect\widget.php on line 72

Although I have the file JavascriptTool.php in the Dataface folder, in which file do I load this class ?

Thank you
Jean

Re: error with depselect module

PostPosted: Fri Dec 30, 2011 9:31 am
by ADobkin
Are you using the development version (2.0) trunk? I believe that is required. There are likely other dependencies besides this one file.

Re: error with depselect module

PostPosted: Fri Dec 30, 2011 10:02 am
by shannah
As Alan mentioned, you do need the 2.0 trunk in order to use the depselect module.

However, if you are in the "debugging" mood, you can load the javascript tool with a line like:
Code: Select all
import('Dataface/JavascriptTool.php');

Re: error with depselect module

PostPosted: Sat Dec 31, 2011 3:48 am
by Jean
Thanks to you both :)