• Resolved marjetwullink

    (@marjetwullink)


    Hi,

    Unfortunately, I have with both websites where I use Coursepress that the Units are not saving. There is occurring an error. Any idea how to resolve this very important issue?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @marjetwullink

    Hope all is well!

    I’ve tested the plugin from my end and can’t reproduce the issue. Please let me know if the same issue showing up when all the other plugins are deactivated?

    If yes, please add these lines in the wp-config.php file to enable debug.log:

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

    Make sure that you insert these lines above /* That's all, stop editing! Happy blogging. */. After these lines are added, please try and re-save changes in a unit. This way all errors will be saved in the debug.log file inside the /wp-content/ directory.

    Upload the debug.log file to the DropBox or GoogleDrive and share a link in here so we could have a closer look at the errors.

    Kind regards,
    Nastia

    Thread Starter marjetwullink

    (@marjetwullink)

    Hi,
    Sorry for the late reply. I did not see the notification.
    There does not appear an error line.

    Here is the error that occures
    https://www.dropbox.com/s/zsu6avr9es139fr/error-units.jpg?dl=0

    And these are the logs

    92.111.110.69 – – [21/Mar/2018:14:54:16 +0100] “PUT /wp-admin/admin-ajax.php?action=unit_builder&task=modules_update&course_id=221&unit_id=224&page=1&wp_nonce=775a91fbe0&x=1 HTTP/1.1” 403 563 “http://www.step-by-step-seo.com/wp-admin/post.php?post=221&action=edit&tab=units” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36”
    92.111.110.69 – – [21/Mar/2018:14:54:16 +0100] “PUT /wp-admin/admin-ajax.php?action=unit_builder&task=units_update&course_id=221&wp_nonce=775a91fbe0 HTTP/1.1” 403 544 “http://www.step-by-step-seo.com/wp-admin/post.php?post=221&action=edit&tab=units” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36”
    92.111.110.69 – – [21/Mar/2018:14:54:24 +0100] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 693 “http://www.step-by-step-seo.com/wp-admin/post.php?post=221&action=edit&tab=units” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36”
    92.111.110.69 – – [21/Mar/2018:14:54:39 +0100] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 693 “http://www.step-by-step-seo.com/wp-admin/post.php?post=221&action=edit&tab=units” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36”

    Hope you know a solution,

    Thanks,
    Marjet

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @marjetwullink

    It seems that the PUT method is disabled in your server.
    Could you please contact your hosting provider and ask to enable this for you?

    Warm regards,
    Dimitris

    Thread Starter marjetwullink

    (@marjetwullink)

    Hi Dimitris,

    Thanks, just that the hosting does not want to do this because the site becomes to vunerable. Is there another option?

    Thanks!

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @marjetwullink

    Hope all is well!

    PUT method is not intrinsically insecure. This method allows a client to upload new files on a web server. A hosting provider from their end needs to provide server access to authenticated users.

    Site’s security can be protected by other measures as well. You can try adding these lines in the .htaccss file:

    <Limit POST PUT DELETE>
      Require valid-user
    </Limit>

    Otherwise, please add the attached file, plase try replacing this file in wp-content/plugins/coursepress/2.0/asset/js/coursepress-unitsbuilder.js.

    Please note, if this will solve the issue, the file needs to be replaced on every update.

    Let us know how it went!

    Cheers,
    Nastia

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @marjetwullink,

    we haven’t heard back from you for a long time, so I’m marking this thread as resolved. Feel free to post back here, if more assistance is required and we can re-open it. 🙂

    Warm regards,
    Dimitris

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Units not saving’ is closed to new replies.