Importing Starting Point XML error

Permalink
I'm trying to create my own starting pont xml by using the C5 ContentExporter class. It seems to create a valid xml file and structure, but every time I test it by installing my theme on a dummy site I get some sort of error, like:

Fatal error: Call to a member function getController() on a non-object in /Users/joeanderson/Sites/digital-science-c5/neuron_testing/concrete/core/libraries/content/importer.php on line 211


Or else a similar error regarding a stack not being an object, or unable to insert into database because stID cannot be null.

I'm having a very difficult time with this... I really need to create a decent starting point for a theme template I'm making, but am not having much luck.

Does anyone have any advice.

I am using the latest version of C5, so the Sample Content Generator does not work.

joemc
 
joemc replied on at Permalink Reply
joemc
I have also stripped down my content.xml file to just a basic 1 page install with a a couple default blocks and I still get an error:

Fatal error: Call to a member function getVersionID() on a non-object in /Users/joeanderson/Sites/digital-science-c5/neuron_testing/concrete/core/models/collection.php on line 809
joemc replied on at Permalink Reply
joemc
removed
joemc replied on at Permalink Reply
joemc
Is there a way to log errors with the starting point xml file?

I'm narrowing down where certain errors are coming from with my content.xml file, but a lot of that is through trial and error and it's an extremely tedious process. The php errors that show up don't provide much info on where the error is actually coming from.