Wednesday 21 June 2006 10:10:03 am
Hello, I'm trying to launch a script fot importing data ( moving an old site ti ezpublish) and i want to launch a script but i have an an error :
Fatal error: eZ publish did not finish its request The execution of eZ publish was abruptly ended, the debug output is present below.
include_once( 'lib/ezutils/classes/ezcli.php' );
include_once( 'kernel/classes/ezscript.php' );
$cli =& eZCLI::instance();
$script =& eZScript::instance( array( 'description' => ( "Reprise de donnees" ),
'use-session' => false,
'use-modules' => true,
'use-extensions' => true ) );
$script->initialize();
if ( !$script->isInitialized() )
{
$cli->error( 'Error initializing script: ' . $script->initializationError() . '.' );
$script->shutdown();
exit();
}
$script->startup();
$cli->output( 'Using Siteaccess '.$GLOBALS['eZCurrentAccess']['name'] );
// login as admin
include_once( 'kernel/classes/datatypes/ezuser/ezuser.php' );
$user =&eZUser::loginUser("xxx","xxx");
The script failed at this line without any error ... Is somebody can help me please.?.
thank you Gabriel
|