BBPress David Hahn : Replies Created

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Will only import 100 records #413114
    David Hahn
    Participant

    Found the typo in the child theme’s functions.php file, and that was indeed causing the problem, the import works correctly now.

    So not a problem with Connections at all.

    Thanks for your help!

    in reply to: Will only import 100 records #413113
    David Hahn
    Participant

    Ah, thanks, that tip to look at the Network tab and into the admin-ajax.php revealed what seems to be an error in our functions.php file in our child theme. I saw a “?>” at the beginning of the request; temporarily removed our functions.php file completely; and the import worked correctly, with multiple admin-ajax.php firings.

    So we’ll look through our functions.php file to see if we can find the error, most likely a typo somewhere.

    Will let you know how it turns out.

    in reply to: Will only import 100 records #413087
    David Hahn
    Participant

    Disabling the calendar plugin got rid of the ai1ec-related javascript errors, so no errors on the Map page, but still only imported the first 100 records and has these errors after clicking the “Import” button:

    load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:9 JQMIGRATE: Migrate is installed, version 1.4.1
    VM2113:2 Uncaught SyntaxError: Unexpected token ? in JSON at position 1
    at JSON.parse (<anonymous>)
    at Function.n.parseJSON (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4)
    at Function.a.parseJSON (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:9)
    at Object.<anonymous> (admin.php?page=connections_csv&action=import:387)
    at i (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2)
    at y (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4)
    at XMLHttpRequest.c (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4)
    n.parseJSON @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4
    a.parseJSON @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:9
    (anonymous) @ admin.php?page=connections_csv&action=import:387
    i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2
    fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2
    y @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4
    c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4

    in reply to: Will only import 100 records #413086
    David Hahn
    Participant

    Okay, here is what I got.

    After hitting the “Map” button, the following shows up on console:

    load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:9 JQMIGRATE: Migrate is installed, version 1.4.1
    admin.php?page=connections_csv&action=map:439 GET http://localhost/?ai1ec_render_js=common_backend&is_backend=true&ver=2.5.16 net::ERR_CONTENT_DECODING_FAILED

    And then after clicking “Import” the console shows:

    load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:9 JQMIGRATE: Migrate is installed, version 1.4.1
    admin.php?page=connections_csv&action=import:462 GET http://localhost/?ai1ec_render_js=common_backend&is_backend=true&ver=2.5.16 net::ERR_CONTENT_DECODING_FAILED
    VM626:2 Uncaught SyntaxError: Unexpected token ? in JSON at position 1
    at JSON.parse (<anonymous>)
    at Function.n.parseJSON (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4)
    at Function.a.parseJSON (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:9)
    at Object.<anonymous> (admin.php?page=connections_csv&action=import:413)
    at i (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2)
    at y (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4)
    at XMLHttpRequest.c (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4)
    n.parseJSON @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4
    a.parseJSON @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:9
    (anonymous) @ admin.php?page=connections_csv&action=import:413
    i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2
    fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2
    y @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4
    c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:4

    The “ai1ec” referenced there is the All In One Events Calendar plugin, I’ll try disabling that and see if that makes a difference.

    in reply to: Will only import 100 records #413073
    David Hahn
    Participant
    This reply has been marked as private.
    in reply to: Preferred Method for Custom Fields #407615
    David Hahn
    Participant

    Yep, got it. We’ll register the custom fields in code as recommended in that QuickTip.

    Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)