Okay
  Public Ticket #2580843
Import Demo with LiteSpeed Server
Closed

Comments

  • Marquell Hammonds started the conversation

    Every time I am trying to import the demo theme content it gives me this error...

    "The execution failed. Please check error.log"

  •  1,114
    Max replied

    Hi Marquell,

    Which theme demo are you trying to import?

    Thanks,


    Max from the Sonaar.io Crew

  • Marquell Hammonds replied

    Mandala

  •   Max replied privately
  • Marquell Hammonds replied

    I did that but none of the demo content was imported with it. Am I doing something wrong?

  •  1,114
    Max replied

    Could you please provide me access to your wp-admin and I will gladly check the issue you have.

    Thanks,


    Max from the Sonaar.io Crew

  •   Marquell Hammonds replied privately
  •  1,114
    Max replied

    I cant access to your wordpress dashboard. see screenshot https://d.pr/i/JxJDnN

    Thanks,


    Max from the Sonaar.io Crew

  • Marquell Hammonds replied

    It should be accessible now.

  •  1,114
    Max replied

    Ok, you server is using Litespeed.

    It's necessary to perform the following steps:

    1. Connect your host via FTP in Binary Mode and open in code editor file .htaccess

    Add at the end of the file the following directive:

    RewriteRule .* - [E=noabort:1]

    Save file.

    2. Then open in code editor file wp-config.php At the end of this file add the following lines:

    define('ALTERNATE_WP_CRON', true);
    ini_set( 'allow_url_fopen', 1 );

    Save file.

    Then return in WP Dashboard => Tools => Demo Content Install and run installation once more.


    Tell me if it works


    Thanks,


    Max from the Sonaar.io Crew

  •   Marquell Hammonds replied privately
  •  1,114
    Max replied

    Please contact your webhosting about how to properly set the code in the htaccess. Your sever might use a different way to so it. 

    Thanks,


    Max from the Sonaar.io Crew

  • Marquell Hammonds replied

    So there is no other option?

  •  1,114
    Max replied

    Hi Marquell,

    Well, i dont think so..but having a chat with your web hosting and tell them to add RewriteRule .* - [E=noabort:1] to your htaccess should take like 2-3 minutes to do. They are the best people to help you out in this issue.


    Thanks,


    Max from the Sonaar.io Crew

  • Marquell Hammonds replied

    Thank you, I figured how to do it on my own. Thanks for the help. It was a simple fix. The .htaccess file was dynamically changing, so I created a duplicate file, added the directive, deleted the original .htaccess file, and renamed the new one to .htaccess. Woolah! Problem fixed. 

  •  1,114
    Max replied

    Excellent. thanks for sharing

    Thanks,


    Max from the Sonaar.io Crew