[Neos] Site Import Error

Christopher Hlubek hlubek at networkteam.com
Wed Dec 11 15:45:30 CET 2013


Hi,

I think we use a wrong approach for the import by doing it with SimpleXML. I had very good results in other projects using a combination of an event based processing and DOM based parsing in some places. And I think with the simple format we use for Neos a completely event based parser would be very efficient (at least from the XML side). We still would have the problem of all the objects being instantiated and persisted in one large batch, which is bound to not scale well (think about something like 1.000.000 nodes). So we have to come up with some solution that uses the Node API, but allows for better batch processing.

Greetings,

Christopher

Am 11.12.2013 um 14:02 schrieb Bastian Waidelich <bastian at typo3.org>:

> Oliver Beck wrote:
> 
> Hi Oliver,
> 
>> First: Congratulations to the neos team for the first stable release!
>> great work!
> 
> Thank you! ;)
> 
>> I get an error at the installation step 2:
>> 
>> Error: During the import of the "Sites.xml" from the package
>> "TYPO3.NeosDemoTypo3Org" an exception occurred: Error: During import an
>> exception occurred: "SimpleXMLElement::__construct() expects parameter 2
>> to be long, string given".
> 
> Not good.. It seems the LIBXML_PARSEHUGE constant we use is only available in Libxml >= 2.7.0 (see http://php.net/manual/en/libxml.constants.php#constant.libxml-parsehuge).
> But that should be included in PHP >= 5.3.2. What version are you running?
> 
> 
> -- 
> Bastian Waidelich
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos



More information about the Neos mailing list