error with depselect module

Archived from the Xataface Users forum.

Jean — Thu Dec 29, 2011 3:51 am

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


ADobkin — Fri Dec 30, 2011 9:31 am

Are you using the development version (2.0) trunk? I believe that is required. There are likely other dependencies besides this one file.


shannah — Fri Dec 30, 2011 10:02 am

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');

Jean — Sat Dec 31, 2011 3:48 am

Thanks to you both