Forums / Developer / Importing Data / Comment42334

Author Topic

Deane Barker

Thursday 10 February 2005 12:42:46 pm

Comment42334

I finally figured out that you need to set "debug-output" to "true" when instantiating the ezscript object, like this:

$script =& eZScript::instance(
array( 'debug-message' => '',
'debug-output' => true,
'use-session' => true,
'use-modules' => true,
'use-extensions' => true ));

When I did this, it finally told me the actual error:

Fatal error: eZINI: Undefined group: 'FileSettings' in [path]lib\ezutils\classes\ezdebug.php on line 427

So the problem I'm having with the code has nothing to do with instatiating the user object -- the actual error is far above that line.

Of course, I still don't know how to fix it, but there you go.