1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Import issue

Discussion in 'Support Forum' started by 2cycling, Dec 27, 2021.

  1. 2cycling

    2cycling New Member

    I trying to import the json file...but i can´t

    it´s stuck at 100%
    I don´t have any plugins install (no wordfence)
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade floating button design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    If you don’t have any plugin installed, then it’s due to your server mod_security.

    You will have to contact your host to check their mod_security error log & whitelist the action.
     
  3. 2cycling

    2cycling New Member

    hi

    can you make a how to?

    i contact my host and ask me the steps on how to do it
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade mega menu design for your Divi site without using any plugins:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    I can’t advice much on that, as it’s their server, with their own setup.

    You may confirm whether it’s mod_security issue by asking your host to temporarily disable mod_security & test the import on your side. They should know how to do that.

    If it works when mod_security disabled, then it’s mod_security issue. You will then need to ask them to search for any errors in your server log. And whitelist it. Then enable back mod_security.
     
  5. 2cycling

    2cycling New Member



    I tried to export a page from wordpress as json file.
    when I try to import that page, everything works fine.

    I noticed that the icons next to the .json file name are different from yours

    can you help me?
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Block Pro - Premade logo carousel design for your Divi site without using any plugins:View Demo
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

    Kindly check your PM for us to test the import at your site.
     
  7. Divi.Help

    Divi.Help Administrator
    Staff Member

    There's no issue with our json file.

    Upon testing, your site doesn't allow importing any inline CSS or JS code. For example, <style></style> or <script></script>
    **For those designs without any inline codes, you can import just fine: https://carbonarte.pt/24-2/
    **Thus, it should be due to mod_security false positive.

    I recorded a video to show you if I were to add the above inline CSS code on your page & save it, the save will fail: https://recordit.co/V8QfNOpNTm
    **The mod_security blocks both the import & save of the page that include the above coding.

    Thus, you may confirm whether it’s mod_security issue by asking your host to temporarily disable mod_security & test the import on your side. They should know how to do that.

    If it works when mod_security disabled, then it’s mod_security issue. You will then need to ask them to search for any errors in your server log. And whitelist it. Then enable back mod_security.
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Digital Marketing' Divi layout for all Pro members:View Demo
  8. 2cycling

    2cycling New Member

    ok, I will try to talk to than again.


    thanks for the support
     
  9. 2cycling

    2cycling New Member

    1. PRO MEMBER PERKS Divi Block Pro - Premade floating button design for your Divi site without using any plugins:View Demo
  10. Divi.Help

    Divi.Help Administrator
    Staff Member

    Based on the saving error message:

    ======

    In addition, auditing your firewall error log (such as ModSecurity) may reveal false positives that are preventing saves from completing.

    ======

    Meaning mod_security is just one of the firewall installed on the server. Perhaps your host server has other firewall installed & they should check their firewall error log instead.

    Though, based on what I’ve seen so far, most of them are related to mod_security. Here’s one of the thread regarding error in saving: https://divi.help/threads/unable-to-save-pages.4750/
     
  11. Divi.Help

    Divi.Help Administrator
    Staff Member

    Also for testing purposes, you may simply edit your page & add <style></style> to your text module content & save it & see if it works.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade promo bar / notification bar with close button for your Divi site without using any plugins:View Demo
  12. 2cycling

    2cycling New Member

    finally got it.

    In the .htaccess file was the worfence code...


    When eliminating, everything was working perfectly



    Wordfence WAF
    <IfModule LiteSpeed>
    php_value auto_prepend_file '/home/cyclingp/public_html/wordfence-waf.php'
    </IfModule>
    <IfModule lsapi_module>
    php_value auto_prepend_file '/home/cyclingp/public_html/wordfence-waf.php'
    </IfModule>
    <Files ".user.ini">
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>

    END Wordfence WAF