• Hello,

    Today I noticed after an update that all of the protected downloads on the website I manage stopped working. Whenever a link is clicked regardless of access level an error screen shows:

    “503 (Invalid Key): Sorry, your access to this file has expired. Please contact Support for assistance.”

    I am not sure where to look to resolve this issue. I need to get the links working quick because the members to the site need access to the downloads.

    Any and all help will be appreciated.

    Thanks

    https://www.ads-software.com/plugins/s2member/

Viewing 3 replies - 16 through 18 (of 18 total)
  • Plugin Contributor Raam Dev

    (@raamdev)

    @ccef Thanks so much for reporting this important issue! And thanks to @kts915 for pointing out the changes to the WordPress Shortcodes API. @sam-rohn Thanks so much for posting that potential workaround–I’ve included it our GitHub issue as a suggested workaround.

    The change to the WordPress Shortcodes API was an unannounced change that has affected many WordPress plugins (see this Trac ticket).

    We have opened a GitHub Issue to start tracking our work on this issue and we are currently investigating what, if anything, we can do to work around these changes to the WordPress Shortcode API.

    Please see this GitHub Issue for further updates and please leave any additional feedback here:
    https://github.com/websharks/s2member/issues/656

    Sorry – the documentation is not fully clear to me. I simply don’t really understand what wrapped means… So for a start I looked for the keys mentioned unsafe – and found e.g. the following:

    <p> [s2If get_user_option(s2member_auto_eot_time)]</p>
    <p>Your account is paid and active until: [s2Eot date_format=”M jS, Y” /]</p>
    <p> [/s2If]</p>

    Do I need to replace the quotes on the date format?
    (so will this be the better notation or do I not need to change?:
    <p> [s2If get_user_option(s2member_auto_eot_time)]</p>
    <p>Your account is paid and active until: [s2Eot date_format=’M jS, Y’ /]</p>
    <p> [/s2If]</p>

    Oh – and is this fine?
    Hi <code>[s2Get constant="S2MEMBER_CURRENT_USER_FIRST_NAME" /]</code>

    or does it need to be:
    Hi <code>[s2Get constant='S2MEMBER_CURRENT_USER_FIRST_NAME' /]</code>

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Error message and links not working’ is closed to new replies.