Sunday 11 April 2010 1:19:12 am
Hallo! My dev.configuration:
- Windows XP SP3
- Apache 2.2.13
- PHP 5.2.9
- eAccelerator 0.9.5.3
- eZ Publish 4.3.0
- ImportXMLData 1.4.2
And ImportXMLData not work with eAccelerator :( I see this error: Fatal error: Class 'eZDebug' not found in
C:\Poligon\site\www\extension\importXMLData\modules\importXMLData\importXMLDatafunctioncollection.php on line 157
Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended,
debug information can be found in the log files normally placed in var/log/*
This is 157 line:
157. $user =& new eZUser( $objectId );
default :
eZDebug::writeDebug( 'data_type_string: ' . $data_type_string . ' not supported', 'importXMLData' );
}
$attribute->store();
}
}
//If we have account data we have to create a ezUser persistent object and set account values to this object
if ($isAcountObject) {
//create new user
$objectId = $contentObject->attribute( 'id' );
if ($userID>0) {
$user =& new eZUser( $objectId );
$user->setAttribute('login', $parsedItems[$i]['account-login'] );
$user->setAttribute('email', $parsedItems[$i]['account-email'] );
$hashType = eZUser::hashType() . "";
$newHash = $user->createHash( $parsedItems[$i]['account-login'], $parsedItems[$i]['account-password'], eZUser::site(), $hashType );
$user->setAttribute( "password_hash_type", $hashType );
$user->setAttribute( "password_hash", $newHash );
$user->store();
} else {
eZDebug::writeError("error \$objectId invalid (value: $objectId)","ImportXMLDatafunctioncollection");
}
}
//publish the newly created node If I disable eAccelerator then ImportXMLData work properly! extension="eaccelerator.dll"
eaccelerator.shm_size="64"
eaccelerator.cache_dir="c:/php/tmp"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="3600"
eaccelerator.shm_prune_period="1800"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
How can I fix this problem?
This question on russian forum: http://ezpublish.ru/ru/Forumy/Dlya-novichkov/import_eksport_excel_xls_cvs_xml_openoffice_v_ez_publish
______________
I love eZ Publish
|