import issues with svg files

Support Forums Kampina import issues with svg files

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #270
    Nicolas
    Participant

    Hello, I’m experiencing import issues that seem to be related to the demo SVG files. How can I import them? Here is the error log from the import.
    Thanks in advance.
    Nicolas

    Log :
    [ERROR] Failed to import “footer-logo” (Fichier média)
    [ERROR] Failed to import “home-heading” (Fichier média)
    [ERROR] Failed to import “icon-tent” (Fichier média)
    [ERROR] Failed to import “icon-cottage” (Fichier média)
    [ERROR] Failed to import “icon-mountains” (Fichier média)
    [ERROR] Failed to import “icon-barbecue” (Fichier média)
    [ERROR] Failed to import “icon-camper” (Fichier média)
    [ERROR] Failed to import “icon-trail-map” (Fichier média)
    [ERROR] Failed to import “about-bg” (Fichier média)
    [ERROR] Failed to import “icon-about-expert-staff” (Fichier média)
    [ERROR] Failed to import “icon-about-beautiful-location” (Fichier média)
    [ERROR] Failed to import “icon-about-exciting-activities” (Fichier média)
    [ERROR] Failed to import “icon-about-community-spirit” (Fichier média)
    [ERROR] Failed to import “icon-about-wild-camp-life” (Fichier média)
    [ERROR] Failed to import “icon-about-closer-to-nature” (Fichier média)
    [ERROR] Failed to import “icon-air-condition” (Fichier média)
    [ERROR] Failed to import “icon-barbeque” (Fichier média)
    [ERROR] Failed to import “icon-double-bed” (Fichier média)
    [ERROR] Failed to import “icon-fridge” (Fichier média)
    [ERROR] Failed to import “icon-internet” (Fichier média)
    [ERROR] Failed to import “icon-microwave” (Fichier média)
    [ERROR] Failed to import “icon-parking” (Fichier média)
    [ERROR] Failed to import “icon-shower” (Fichier média)
    [ERROR] Failed to import “icon-wardrobe” (Fichier média)
    [ERROR] Failed to import “icon-campfires” (Fichier média)
    [ERROR] Failed to import “icon-montain-biking” (Fichier média)
    [ERROR] Failed to import “icon-montain-hiking” (Fichier média)
    [ERROR] Failed to import “icon-wildlife-watching” (Fichier média)
    [ERROR] Failed to import “icon-phone” (Fichier média)
    [ERROR] Failed to import “icon-email” (Fichier média)
    [ERROR] Failed to import “icon-location” (Fichier média)
    [ERROR] Failed to import “logo-adventa” (Fichier média)
    [ERROR] Failed to import “logo-travelo” (Fichier média)
    [ERROR] Failed to import “logo-happy-trails” (Fichier média)
    [ERROR] Failed to import “logo-pinescape” (Fichier média)
    [ERROR] Failed to import “logo-nature-nomads” (Fichier média)
    [ERROR] Failed to import “home-bg” (Fichier média)
    [ERROR] Failed to import “logo” (Fichier média)

    #271
    TigriWeb
    Keymaster

    Hello Nicolas,

    The import errors are happening because the required SVG plugin wasn’t installed or activated. Our demo import relies on it to handle SVG files like footer-logo, home-heading, icon-tent, etc.

    Please make sure the required SVG plugin (e.g., Safe SVG) is installed and active, then try the import again — it should work without errors.

    Best regards,
    TigriWeb Team

    #272
    Nicolas
    Participant

    (Hi) again,
    The Safe SVG plugin was already installed and activated during the import. I tried the import again and I’m still getting the same errors. However, I had deactivated the Mailchimp plugin because I’m using MailPoet, but I don’t think that’s related.
    Thanks for your help.
    Nicolas

    #273
    TigriWeb
    Keymaster

    Could you create a user “administrator” and send access to the admin panel to the email – tw-dev@tigriweb.dev ?

    Best regards,
    TigriWeb Team

    #274
    Nicolas
    Participant

    The administrator account has been created; you should have received an automatic email. You need to add the “?access” parameter at the end of the URL to access the administration area.
    Nicolas

    #275
    TigriWeb
    Keymaster

    Could you please remove the ?access parameter temporarily so we can check if the import issue is related to that security layer?

    Best regards,
    TigriWeb Team

    #276
    TigriWeb
    Keymaster

    And Enable debugging:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    define( 'WP_DEBUG_LOG', true );

    Best regards,
    TigriWeb Team

    #277
    Nicolas
    Participant

    Ok, it’s done.
    Thanks
    Nicolas

    #278
    Nicolas
    Participant

    Another detail that might help you: during the first import, I had unchecked the installation of WooCommerce. I thought the accommodation listings were custom posts.
    Nicolas

    #279
    TigriWeb
    Keymaster

    Okay, something seems to have changed since the last update. I also tried it on my staging site and had the same issue.

    This code should help — add it to your functions.php before the import:

    add_filter( 'upload_mimes', function ( $mimes ) {
    	$mimes['svg'] = 'image/svg+xml';
    
    	return $mimes;
    } );

    P.S. I got blocked by “Protection par ParFeu · Acantic”, IP 185.5.218.15.
    I added a debugging plugin there — it can be removed..))

    Best regards,
    TigriWeb Team

    #280
    Nicolas
    Participant

    Thank you, I’ve just redone an import using the filter you sent me in functions.php and it worked. However, do I need to keep this filter in place permanently, or can I remove it? The Safe SVG plugin should be enough, right? Thanks for getting back to me.
    Nicolas

    #281
    TigriWeb
    Keymaster

    Great to hear it worked! You don’t need to keep the filter permanently — it was only needed to allow SVG uploads during the import. Once the import is done, you can safely remove it.

    Yes, the Safe SVG plugin is enough for ongoing SVG uploads and handling.

    Best regards,
    TigriWeb Team

    #282
    Nicolas
    Participant

    OK, thank you very much for your quick response.
    Nicolas

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.