Tagged: 

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1222002

    Hey Guys!

    I have the same issue as mentioned in this thread:

    https://kriesi.at/support/topic/learndash-quiz-results-display-issue/page/2/

    Unfortunately adding the given CSS

    dd.course_progress {
    width: 100%;
    }

    at Enfold > General Styling > Quick CSS doesn’t change anything. What I’m possibly doing wrong?

    Thank you & all the best,
    Michael

    #1222329

    Hey Michael,

    The login details you posted are not working, please check and verify. Also please point out where we can see the problem you are having on your actual site.

    Best regards,
    Rikard

    #1222484

    Hey Rikard!

    Sorry link was wrong – I attached the correct one.

    I also attached the link to the site with the issue

    Best,
    Michael

    #1224322

    Hi,
    Sorry for the late reply and thanks for the test page, but the login didn’t work. Try adding this code to the end of your functions.php file in Appearance > Editor:

    function show_quiz_results(){
      ?>
      <script>
    (function($){
    	$(window).click(function() {
    if( $('.wpProQuiz_sending').is(":visible") ){
    		$('.wpProQuiz_results').css({display: 'block'});
    	}
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'show_quiz_results');

    Then clear your browser cache and check.

    Best regards,
    Mike

    #1227704

    Hello!

    Sry for my late reply – I attached the functions.php file per google-drive-link in the private content field. Would you ad the code at the right spot? I’m not quite sure where “the end” is….

    Thank you!

    PS: I have made a security copy.

    #1227757

    Hi,
    Thanks for the link to your functions.php, I have added the script above and uploaded to DropBox, please find the link below in the Private Content area.

    In your functions.php I see you have this:

    @ini_set( 'upload_max_size' , '200M' );
    @ini_set( 'post_max_size', '200M');
    @ini_set( 'max_execution_time', '300' );

    I believe this doesn’t work to change your PHP settings, typically this is only changeable via: php.ini, .htaccess or httpd.conf,
    but if your webhost told you to put this there and it’s working for you then ok.

    Best regards,
    Mike

    #1228611

    Hello,

    sry. for the late reply. Unfortunately this functions.php file leads to a critical error of the multisite network. I reuploaded the safety copy.

    Between sending you the “old” functions.php and uploading your version to the FTP, the theme version was updatet. Can this be the issue for the critical error?

    Thank you and all the best,
    Michael

    #1228868

    Hi,
    Perhaps, what did the critical error say?

    Best regards,
    Mike

    #1229753

    Hi,

    there was only the message “A critical error occured on your homepage.” (translated from German).

    Best,
    Michael

    #1229768

    Hi,
    Perhaps it was the code I warned about above? Did you try removing it?
    If you would like us to look, please include an admin login & FTP access in the Private Content area.

    Best regards,
    Mike

    #1229844

    Hey there!

    I would be great if you can look in to it. Pls see the login credidentials attached.

    Thank you and all the best,
    Michael

    #1229926

    Hi,
    Thanks, the ftp worked, the wp login didn’t, but I still added the script above for the quiz and tested the test quiz and it seems to be working.
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1230821

    I have an identical problem with LearnDash and Enfold and I also get a crash with the code you provided above when I put it in my functions.php file. Only my error says, “There has been a critical error on your website.” (English–not translated from German as RawoAT stated his was).

    I do not have his code which you describe above in my functions.php file–so I do not think that is the reason for the crash. So it may be the code you supplied that is crashing.

    (BTW, the code he shows looks like it is to increase the default memory and goes in your PHP-config file to increase the memory size as per comments from LearnDash (WordPress default is 40mb, but it needs to be 128mb or higher if you use LearnDash and WooCommerce together).

    An interesting thing happens when your code is installed. After a quiz, LearnDash has a progress bar as it is calculating the quiz results–then it displays the quiz results and the ability to re-take, move on, etc. WHEN it is working correctly. When it is not working, it freezes about 90% through–that is the problem (I can’t continue). BTW, it works fine for about 2 – 3 quizzes in a row and THEN it freezes. So you must continue that way

    When I added your code, the test shows the results immediately and allows me to continue–but the progress bar still freezes at about 90% (again, you have to take 2 – 3 quizzes in a row before this happens (seems to work fine the first few times). Because the bar freezes–it may show the test score and display the buttons, but it may have not have written the results to the database. So it appears to work fine for 2 – 3 more quizzes and then it crashes and gives the “there has been a critical error on your website” error.

    BTW, this is only the behavior when you are logged in as a USER. I did not have the same results when I was logged in as an Administrator. In fact, I had the problem as an Admin and thought it would be the same as a USER. However, my problem as an administrator was resolved with an earlier fix in this forum. All I had to do was add the function,

    dd.course_progress {
    width: 100%;
    }

    I added this code to the theme’s “Quick CSS” section. When I did EVERYTHING worked fine for the ADMIN.

    But logging in as a user gave me the same problem–and your code fixed it (sort of), but then crashed the site.

    BTW, the support team at LearnDash worked on this off and on for several times (logging into my site). We turned all the plug-ins off but LearnDash and WooCommerce. They then used another theme and everything worked flawlessly. They tried a second basic free WordPress theme and everything worked flawlessly.

    So it was definitely something with Enfold. I also turned off the performance features, all cache is turned off, all plugins were turned off except WooCommerce (required) and LearnDash–and it was something in the theme. This ONLY happens when both of these two high-resource plugins are working–but they work together on THOUSANDS of sites just fine–so again, back to the Enfold theme.

    I have been struggling with this for over a month! I just continued adding my content, but now I am at an impass–if I want to keep the Enfold theme. I’m not using a child theme because I have never had a problem with Enfold enough to have to modify any of the original files–but I was willing to set it up if this fix worked (but it didn’t)–but I’m fine if we install it.

    I still have the QuickCSS code installed:
    dd.course_progress {
    width: 100%;
    }

    I have included login, etc. credentials in the private content below. Please document any changes.

    #1230927

    Hi,

    @tedfinch
    , I have assisted with a few LearnDash and Enfold issues, but with the different results that you are having as different users is not something I have seen yet. I will be happy to assist, but please copy your post to a new thread along with the Private Content area notes and post a link to it here so we can find it easier.
    Since this is not your thread you will not see anything we write in the Private Content area. Thank you.
    **I tested the admin login & ftp access and both work, thanks.

    Best regards,
    Mike

    #1231027

    I created a new thread here: https://kriesi.at/support/topic/learndash-and-enfold-problems-with-quiz-as-admin-and-as-user-freezes/

    LearnDash and Enfold – Problems with Quiz as Admin and as User freezes

    #1231489

    Hi,
    Thank you, I will investigate.

    Best regards,
    Mike

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