ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Parsing XML error

February 24, 2011 2:43pm

Subscribe [2]
  • #1 / Feb 24, 2011 2:43pm

    vlad

    213 posts

    I am trying to import an XML file and getting this error…
    Hello EE gurus,

    Need some help.
    Is this an EE setting or should I talk to my hosting guy or the Xml parser guy?

    ( ! ) Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 40 bytes) in ***/expressionengine/libraries/Xmlparser.php on line 290
    Call Stack
    #    Time    Memory    Function    Location
    1    0.0009    128308    {main}( )    ../index.php:0
    2    0.0026    179152    require_once( '***/codeigniter/system/core/CodeIgniter.php' )    ../index.php:222
    3    0.3290    7277200    call_user_func_array ( )    ../CodeIgniter.php:297
    4    0.3290    7277200    Addons_modules->show_module_cp( )    ../CodeIgniter.php:0
    5    0.3838    7791652    Ajw_datagrab_mcp->check_settings( )    ../addons_modules.php:353
    6    0.4241    8974568    Ajw_xml->fetch( )    ../mcp.ajw_datagrab.php:145
    7    4.6715    10400000    EE_XMLparser->parse_xml( )    ../dt.ajw_xml.php:69
    8    4.6715    10400000    EE_XMLparser->parse_into_struct( )    ../Xmlparser.php:70
    9    4.6997    11747640    xml_parse_into_struct ( )    ../Xmlparser.php:290

    Thanks
    V

  • #2 / Feb 24, 2011 3:04pm

    vlad

    213 posts

    Build:  20101220 v2.1.3

    Trying to import WP database into EE so I can use EE to do all the things WP couldn’t.

    Have the XML file leaned up and ready using AJW DataGrab to import it.

    /;P

  • #3 / Feb 25, 2011 10:06am

    Ingmar

    29245 posts

    You are running out of memory, it seems. Try to increase the amount of PHP memory to more than 16 MB (or break the XML up into smaller files).

  • #4 / Feb 25, 2011 11:16am

    vlad

    213 posts

    Ok that was resolved, adding more memory helped. BUT this is a tip of the iceberg.

    I am having a huge issue importing WP database into EE it seems EE stopped providing an importer for anything in the 2.0 series. WHY?

    All the tutorials lead to 1x version.

    It seems the only way to make this happen is build 1.x site, import WP database into it and then upgrade to 2x…

    UNLESS you guys have a better idea! Please tel me you got one.

    V

  • #5 / Feb 25, 2011 11:25am

    Ingmar

    29245 posts

    ... it seems EE stopped providing an importer for anything in the 2.0 series. WHY?

    No such first-party tool is available at this point, that is correct. There are plans to provide an importer in the future, but I can’t be more specific than that, unfortunately.

    It seems the only way to make this happen is build 1.x site, import WP database into it and then upgrade to 2x…

    That’s certainly one way to do it, yes. Or, use some custom PHP/SQL code.

  • #6 / Feb 25, 2011 11:39am

    vlad

    213 posts

    Used the custom PHP/SQL code method. You guys are evil when it comes to database building we cant clearly map the fields. 😠

    I guess its back to 1+ then again to 2+ sigh.

    ^%$#*&

  • #7 / Feb 25, 2011 3:53pm

    Barry Cogan

    291 posts

    Sorry about that vlad,

    Please do post if you encounter any future issues.

    Best regards,
    Barry

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases