• Resolved guibo

    (@guibo)


    Hi
    I’d like to mass import Events for Events Manager…
    I tried Supra CSV importer, tried a lot of combinations but…
    i get new lines in wp_post, in wp_postmeta, but nothing in wp_em_events.
    Debug Ingestion mode always says Successfully ingested
    I’m on wp 3.3.1..Could it be the problem ? or just my ignorance ?
    could you help ?
    thanks

    here is Debug ingestion

    Array
    (
        [post_id] =>
        [function] => wp.newPost
        [args] => Array
            (
                [post_title] => SWING IT
                [post_type] => event
                [terms_names] =>
                [terms] =>
                [custom_fields] => Array
                    (
                        [0] => Array
                            (
                                [key] => _event_start_time
                                [value] => 22:00:00
                            )
    
                        [1] => Array
                            (
                                [key] => _event_end_time
                                [value] => 22:00:00
                            )
    
                        [2] => Array
                            (
                                [key] => _event_start_date
                                [value] => 10/12/12 00:00
                            )
    
                        [3] => Array
                            (
                                [key] => _event_end_date
                                [value] => 10/12/12 00:00
                            )
    
                        [4] => Array
                            (
                                [key] => _event_name
                                [value] => SWING IT
                            )
    
                        [5] => Array
                            (
                                [key] => _event_owner
                                [value] => 2
                            )
    
                        [6] => Array
                            (
                                [key] => _post_content
                                [value] => 22h Glacier
                            )
    
                        [7] => Array
                            (
                                [key] => _location_id
                                [value] => 100
                            )
    
                    )
    
                [post_status] => publish
                [post_author] => 2
                [post_password] =>
                [post_excerpt] =>
                [post_date] =>
                [post_date_gmt] =>
                [post_thumbnail] =>
                [comment_status] =>
                [ping_status] =>
                [post_format] =>
                [enclosure] =>
                [post_content] => defaut description
            )
    
    )
    
    POST /wp-content/plugins/supra-csv-parser//xmlrpc/supra_xmlrpc.php HTTP/1.0
    Host: francejazz.fr
    Content-Type: text/xml
    User-Agent: The Incutio XML-RPC PHP Library
    Content-Length: 3226
    
    <?xml version="1.0"?>
    <methodCall>
    <methodName>wp.newPost</methodName>
    <params>
    <param><value><string></string></value></param>
    <param><value><string>Zenbear</string></value></param>
    <param><value><string>240260Lei</string></value></param>
    <param><value><struct>
      <member><name>post_title</name><value><string>SWING IT</string></value></member>
      <member><name>post_type</name><value><string>event</string></value></member>
      <member><name>terms_names</name><value><string></string></value></member>
      <member><name>terms</name><value><string></string></value></member>
      <member><name>custom_fields</name><value><array><data>
      <value><struct>
      <member><name>key</name><value><string>_event_start_time</string></value></member>
      <member><name>value</name><value><string>22:00:00</string></value></member>
    </struct></value>
      <value><struct>
      <member><name>key</name><value><string>_event_end_time</string></value></member>
      <member><name>value</name><value><string>22:00:00</string></value></member>
    </struct></value>
      <value><struct>
      <member><name>key</name><value><string>_event_start_date</string></value></member>
      <member><name>value</name><value><string>10/12/12 00:00</string></value></member>
    </struct></value>
      <value><struct>
      <member><name>key</name><value><string>_event_end_date</string></value></member>
      <member><name>value</name><value><string>10/12/12 00:00</string></value></member>
    </struct></value>
      <value><struct>
      <member><name>key</name><value><string>_event_name</string></value></member>
      <member><name>value</name><value><string>SWING IT</string></value></member>
    </struct></value>
      <value><struct>
      <member><name>key</name><value><string>_event_owner</string></value></member>
      <member><name>value</name><value><string>2</string></value></member>
    </struct></value>
      <value><struct>
      <member><name>key</name><value><string>_post_content</string></value></member>
      <member><name>value</name><value><string>22h Glacier</string></value></member>
    </struct></value>
      <value><struct>
      <member><name>key</name><value><string>_location_id</string></value></member>
      <member><name>value</name><value><string>100</string></value></member>
    </struct></value>
    </data></array></value></member>
      <member><name>post_status</name><value><string>publish</string></value></member>
      <member><name>post_author</name><value><string>2</string></value></member>
      <member><name>post_password</name><value><string></string></value></member>
      <member><name>post_excerpt</name><value><string></string></value></member>
      <member><name>post_date</name><value><string></string></value></member>
      <member><name>post_date_gmt</name><value><string></string></value></member>
      <member><name>post_thumbnail</name><value><string></string></value></member>
      <member><name>comment_status</name><value><string></string></value></member>
      <member><name>ping_status</name><value><string></string></value></member>
      <member><name>post_format</name><value><string></string></value></member>
      <member><name>enclosure</name><value><string></string></value></member>
      <member><name>post_content</name><value><string>defaut description</string></value></member>
    </struct></value></param>
    </params></methodCall>
    
    HTTP/1.1 200 OK
    Server: o2switch 2.40.0
    Date: Tue, 27 Nov 2012 16:59:13 GMT
    Content-Type: text/xml
    Content-Length: 163
    Connection: close
    X-Powered-By: PHP/5.3.16
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Set-Cookie: PHPSESSID=4d50b84e53121056e4222e09985ad92d; path=/
    
    <?xml version="1.0"?>
    <methodResponse>
      <params>
        <param>
          <value>
          <string>15849</string>
          </value>
        </param>
      </params>
    </methodResponse>

    Successfully ingested SWING IT’

    https://www.ads-software.com/extend/plugins/supra-csv-parser/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joseph Persie

    (@zmijevik)

    wp_em_events is a proprietary table created by some other application that this plugin will never know about.

    Thread Starter guibo

    (@guibo)

    Yes…I understood that problem this morning ??
    if I import a csv file in wp_em_events and add the post_id after Supra ingestion, I can now see the new posts in the frontend events list, but I can’t open them.. And I can’t edit them in the dashboard…
    Could you give me suggestions, using Supra or not ?
    thank you

    Plugin Author Joseph Persie

    (@zmijevik)

    I would have to look at the convention but i would discourage using plugins that deviate from wordpress convetion as this is doing by creating tables to store data

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘no custom post created’ is closed to new replies.