Forums / General / Fetch By Attribute Value / Comment33601
Łukasz Serwatka
Thursday 08 June 2006 2:04:13 pm
Hmm, I think you were testing the fetch from the CLI script, right? ;)
Then you need to tell script to use modules:
replace line:
$script =& eZScript::instance();
with:
$script =& eZScript::instance( array( 'use-modules' => true ) );
Then it will work.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog