Unable to import Geodirectory settings using Json file

This topic contains 2 replies, has 3 voices, and was last updated by  Kiran 4 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #536788

    Peter Chadri
    Expired Member
    Post count: 4

    Steps:
    1-On one site, configure Geodirectory plugin 2.0.0.83.
    (This is List on the top left of the image)
    2-Spin up another site (e.g. a development website) with the same Geodirectory version plugin and addons.
    (This is Log on the top left of the images)
    4-Install “Disable Real MIME Check” plugin onto target site (which is on Log).
    3-Export the Geodirectory settings from List.
    4-Import the exported file from List to Log site.

    Expected Behavior
    1-File accepted with no error message

    Actual Behavior:
    1-“Array( [error] => Sorry, this file type is not permitted for security reasons.)x”
    value displayed when file first selected
    2-“JSon file is not valid” error is given when Import Data Now is clicked.

    Other notes:
    CSV upload of categories worked. That is the only one I tried at the time.

    #536822

    Guust
    Moderator
    Post count: 29970

    That looks like a little bug, I’ll get the developers to have a closer look.
    Thanks

    #536838

    Kiran
    Moderator
    Post count: 7069

    Hi Peter,

    Add following line to your WORDPRESS_ROOT/wp-config.php file. It will allow you to upload any file but this is a security issue so you should remove immediately after import done.

    define( 'ALLOW_UNFILTERED_UPLOADS', true );

    Thanks,
    Kiran

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount