Viewing 15 replies - 16 through 30 (of 35 total)
  • Thread Starter AngeloLazzari

    (@angelolazzari)

    hello, no, no error message, here is the video of inspection https://youtu.be/3Z3m4nWkFDE

    Thread Starter AngeloLazzari

    (@angelolazzari)

    thank you very much!!!

    Hello @angelolazzari,

    It sounds like you’re experiencing a continuous spinning issue. We can help you troubleshoot this.

    To get started, please enable the debug log and share the debug.log file with us. Here’s how you can do it:Enable Debug Log

    • Navigate to your WordPress root directory: This is typically where you’ll find the wp-content folder.
    • Open wp-config.php: Locate and open this file for editing.
    • Add the debug code: Just before the line that says /* That's all, stop editing! Happy publishing. */, insert the following lines of code:PHPdefine('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
    • Save the file.
    • Reproduce the issue: Go back to your site and perform the actions that cause the continuous spinning.

    After you’ve reproduced the issue, please check your wp-content folder to see if a debug.log file has been generated.

    • If the file is present, please share it with us.
    • If you don’t find the file, please let us know, and we’ll provide further guidance.

    Thanks,

    Edwiser Support

    Thread Starter AngeloLazzari

    (@angelolazzari)

    HEllo, sorry dor the delay. No debug log is generated.

    Do you have any idea of what is happening?

    Hello @angelolazzari ,

    We’ve re-evaluated the process and want to ensure you haven’t missed any steps or set anything up incorrectly.

    We have added error_logs to the files. You just need to override the following files at the specified paths:

    • File 1: /wordpress/wp-content/plugins/edwiser-bridge/admin/assets/js/eb-admin.js
    • File 2: /wordpress/wp-content/plugins/edwiser-bridge/includes/class-eb-course-manager.php
    • File 3: /wordpress/wp-content/plugins/edwiser-bridge/admin/class-eb-settings-ajax-initiater.php

    Please follow the steps below to debug the issue:

    Step 1: Enable Debug Logging

    Add the following lines of code to your wp-config.php file:

    PHP

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

    Step 2: Run Synchronization Test Again

    • Go to Edwiser Bridge > Settings > Synchronization.
    • Check the “Sync Course images from moodle” checkbox.
    • Click “Start Synchronization.”
    • Allow it to run for a few minutes.

    Step 3: Check Debug Logs

    • Monitor the debug log in real time.
    • The path of the debug.log file is /wordpress/wp-content/debug.log.
    • Please share this log file with us, along with any console errors that may occur.

    Please let us know once you have completed these steps if yes, then you can share log at edwiser@wisdmlabs.com. We’ll be ready to analyze them and help you get this resolved.

    Thanks,

    Team Edwiser

    Thread Starter AngeloLazzari

    (@angelolazzari)

    Hello, where I can get the new files that I have to use? thanks

    Kindly use the below-mentioned link to download the files:

    https://we.tl/t-COmQm0msD8

    Thanks,

    Thread Starter AngeloLazzari

    (@angelolazzari)

    Good morning, we tested with the files, now the we don’t have the infinite loop problem, all the courses are loaded but we still have the image problem… you can download the debug file here….

    We still have empty images as you can see here… staging.asaservizi.eu/wp-content/uploads/2025/08/preposto.png that is this moodle image https://corsi.asaweb.systems/pluginfile.php/124/course/overviewfiles/preposto.png but in the log is called like https://corsi.asaweb.systems/webservice/pluginfile.php/124/course/overviewfiles/preposto.png?token=xxxxxxxxx

    dont know whta is happen… thank you!

    Hello again,

    Please follow these steps to provide us with the necessary information:

    • Enable Debug Mode:
      • Access your site’s wp-config.php file.
      • Add or update the following lines of code within that file:define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
    • Reproduce the Issue:
      • Once you have enabled debug mode, please try to perform the same action that caused the error or issue to appear (e.g., checkout, login, etc.).
    • Send Us the Following Information:
      • The debug.log file, located at /wp-content/debug.log. Please download and share this file with us.
      • A screenshot of your browser’s console. You can typically open the console by pressing F12 (or right-clicking and selecting Inspect, then going to the Console tab).
      • A confirmation of whether these steps were performed after our latest changes/fixes were implemented.

    Thanks,

    Team Edwiser

    Thread Starter AngeloLazzari

    (@angelolazzari)

    Hello, I already did all you are saying yesterday, please see my reply here https://wordpress.org/support/topic/installed-perfectly-but-i-have-some-questions/page/2/#post-18585600

    Can you see it? thanks

    Hello there,

    To help us investigate further, we need you to provide the debug.log file, which will give us a record of any errors or warnings on your site.

    To enable and locate the log file, please follow these steps:

    • Access the wp-config.php file in your WordPress folder.
    • Add the following code to the file:

    PHP

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    
    • Save the file, refresh your site, and try to reproduce the issue. This will ensure that the errors are logged.
    • Once you have reproduced the issue, check the wp-content/ folder. You will find the debug.log file there.

    Please share the debug.log file with us. We have provided a link for you to download the file. Please remember to download, save, and install the file before it expires in three days.

    Here is the link to download the log file: https://we.tl/t-ggd6x1nVh9

    Thanks,

    Team Edwiser

    Thread Starter AngeloLazzari

    (@angelolazzari)

    HEllo, sorry for the delay but I thought I replyed to this.

    You can see the file here https://we.tl/t-LRQs77Bqdt thanks

    Note that we still have empty images as you can see here… staging.asaservizi.eu/wp-content/uploads/2025/08/preposto.png that is this moodle image https://corsi.asaweb.systems/pluginfile.php/124/course/overviewfiles/preposto.png but in the log is called like https://corsi.asaweb.systems/webservice/pluginfile.php/124/course/overviewfiles/preposto.png?token=xxxxxxxxx

    Hello,

    We have received an update from our developer’s team. Kindly refer to the details provided below:

    After a thorough analysis, we have identified several possible reasons for the error you are experiencing. Our Edwiser logs indicate that the plugin successfully downloads the image from the URL https://corsi.asaweb.systems/webservice/pluginfile.php/.../haccp.png?token=XXXX with a 200 response code. However, the downloaded file size is only 132 bytes, rendering it invalid. This strongly suggests that the issue resides within the Moodle environment, not the WordPress installation.

    To resolve this, we recommend checking the following configurations on your Moodle site. Please ensure all these settings are correctly configured:

    • The user associated with the token is active and has not been suspended.
    • The token user possesses the following two permissions:
      • moodle/course:viewhiddencourses
      • moodle/course:downloadfiles
    • The Edwiser Bridge webservice has the “Download files” option enabled.
    • The course images in Moodle are uploaded as non-protected files.

    Additionally, please verify that the URL https://corsi.asaweb.systems/webservice/pluginfile.php/.../image.png?token=XXX returns the actual image when tested in a browser or via curl from the server.

    Once these points have been addressed, Edwiser Bridge will automatically import the correct image files, and the issue with the empty images will be resolved.

    Thanks,

    Team Edwiser

    Thread Starter AngeloLazzari

    (@angelolazzari)

    I only done a new wizard and all now is working, I think I had a problem on the token, I really don’t know…

    Now I have this page ( created from your plugin ) All Courses and I have a question: how can I have the courses ordered and grouped for category?

    I used in this page Corsi the follow shortcode [eb_courses group_by_cat=”yes” per_page=”12″ horizontally_scroll=”yes”] but is not showing anything…

    thank you!

    Hello,

    • Based on the code analysis, the issue is most likely that:
      1. No courses exist in the eb_course post type, or
      2. No categories exist in the eb_course_cat taxonomy, or
      3. Courses exist but are not assigned to categories
      4. The shortcode logic requires both courses and categories to exist for the grouping to work properly.

    Solution 1: Check if Courses and Categories ExistFirst, verify that you have courses and categories in your system:

    • Go to WordPress Admin → Edwiser Bridge → Courses
    • Check if there are any courses listed
    • Ensure they are published (not drafts)
    • Go to WordPress Admin → Edwiser Bridge → Course Categories
    • Check if there are any categories created
    • If empty, you need to create categories first

    Solution 2:Create Test Categories and Courses
    If none exist, create them manually:
    Create a Course Category:

    • Go to Edwiser Bridge → Course Categories
    • Click Add New
    • Give it a name (e.g., “Test Category”)
    • Set a slug (e.g., “test-category”)
    • Publish it

    Create a Test Course:

    • Go to Edwiser Bridge → Courses
    • Click Add New
    • Give it a title (e.g., “Test Course”)
    • Assign it to the category you created
    • Set status to Published
    • Publish it

    Solution 3:Sync from Moodle (if applicable)
    If you’re using Moodle integration:

    • Go to Edwiser Bridge → Settings → Synchronization
    • Enable Category Synchronization (check the box for “Synchronize Categories”)
    • Run the synchronization process
    • Check the logs for any errors

    Solution 4: Use the Shortcode Without Grouping First
    Test if the basic shortcode works:

    [eb_courses per_page=”12″]

    • If this works, then the issue is specifically with the grouping functionality.

    Solution 5:Check for JavaScript Errors

    • The horizontal scroll feature requires JavaScript. Check your browser’s console for any JavaScript errors that might prevent the display.

    Recommended Shortcode for Testing
    Try this simplified version first:

    [eb_courses group_by_cat=”yes” per_page=”12″]

    Then gradually add parameters:

    [eb_courses group_by_cat=”yes” per_page=”12″ cat_per_page=”3″]

    Debug Information
    To help diagnose the issue, you can temporarily add this debug code to your theme’s functions.php:

    add_action('wp_footer', function() {
        if (is_page('corsi')) { // Replace 'corsi' with your page slug
            echo '<!-- Debug Info: -->';
            echo '<!-- Courses: ' . wp_count_posts('eb_course')->publish . ' -->';
            echo '<!-- Categories: ' . wp_count_terms('eb_course_cat') . ' -->';
    
            $categories = get_terms(['taxonomy' => 'eb_course_cat', 'hide_empty' => false]);
            echo '<!-- Category Details: ' . print_r($categories, true) . ' -->';
        }
    });
    
    • This will show you in the page source how many courses and categories exist.
    • Try the solutions above in order, and let me know what you find. This should resolve the issue with your courses not displaying when grouped by category.

    Thanks,

    Team Edwiser

Viewing 15 replies - 16 through 30 (of 35 total)

You must be logged in to reply to this topic.