Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • devenh

    (@devenh)

    I think I’ve figured out a hack to my problem. my problem being that the file IDs are incorrect when using the Download Monitor plugin. To work around the problem here is what I did:

    1.) on my amazon AWS server, there is a .htaccess file being created in the dlm_uploads directory that had an entry to “deny all”, this was blocking direct access to the file, so I removed the “deny all” in the file.

    2.) now I am able to access my file directly, which isn’t ideal, but at least users can now download the file.

    I know this is hacky, but I wasn’t sure how else to get the plugin to work. Any suggestions would be greatly appreciated.

    devenh

    (@devenh)

    Hey Moneyrgb,

    I think I’ve figured out a hack to my problem. my problem being that the file IDs are incorrect when using the Download Monitor plugin. To work around the problem here is what I did:

    1.) on my amazon AWS server, there is a .htaccess file being created in the dlm_uploads directory that had an entry to “deny all”, this was blocking direct access to the file, so I removed the “deny all” in the file.

    2.) now I am able to access my file directly, which isn’t ideal, but at least users can now download the file.

    3.) I’m also using the Email Before Download plugin. the EBD plugin was still showing an obfuscated link for users to download the file and this link was giving the 404 error. so I used CSS to hide the link created by EBD by adding an “Inline Custom Link CSS” in the EBD settings and then adding CSS to my theme to hide the link.

    4.) Then, using the EBD setting for “HTML after link” I added my own link directly to the file.

    I know this is hacky, but I wasn’t sure how else to get the DM and EBD plugins to work nicely together. Any suggestions would be greatly appreciated.

    Thread Starter devenh

    (@devenh)

    I think I’ve figured out a hack to my problem. my problem being that the file IDs are incorrect when using the Download Monitor plugin. To work around the problem here is what I did:

    1.) on my amazon AWS server, there is a .htaccess file being created in the dlm_uploads directory that had an entry to “deny all”, this was blocking direct access to the file, so I removed the “deny all” in the file.

    now I am able to access my file directly, which isn’t ideal, but at least users can now download the file. I know this is hacky, but I wasn’t sure how else to get the Download Monitor plugin to work, the mismatch in IDs is causing my Email Before Download plugin to fail as well.

    Any suggestions to fix this in the proper way would be greatly appreciated.

    devenh

    (@devenh)

    I think I’ve figured out a hack to my problem. my problem being that the file IDs are incorrect when using the Download Monitor plugin. To work around the problem here is what I did:

    1.) on my amazon AWS server, there is a .htaccess file being created in the dlm_uploads directory that had an entry to “deny all”, this was blocking direct access to the file, so I removed the “deny all” in the file.

    2.) now I am able to access my file directly, which isn’t ideal, but at least users can now download the file.

    3.) the EBD plugin was still showing an obfuscated link for users to download the file and this link was giving the 404 error. so I used CSS to hide the link created by EBD by adding an “Inline Custom Link CSS” in the EBD settings and then adding CSS to my theme to hide the link.

    4.) Then, using the EBD setting for “HTML after link” I added my own link directly to the file.

    I know this is hacky, but I wasn’t sure how else to get the EBD plugin to work. Any suggestions would be greatly appreciated.

    devenh

    (@devenh)

    To add some more info to my last post…I get a Forbidden error when trying to go straight to the url of the file:

    http://www.kwaddle.com/blog/wp-content/uploads/dlm_uploads/2016/05/2016-Austin-Summer-Camp-Guide-by-Kwaddle.xlsx

    But, when I check the permissions of the file and folder it shows read access:

    View post on imgur.com

    devenh

    (@devenh)

    I’m having a similar problem. I followed all the steps to setup the Download Monitor, Contact-7 and EBD plugin correctly, but it’s weird because when I upload a file using Download Monitor, the ID #s are off by one. (see image below)

    View post on imgur.com

    Because of the difference in IDs, I’m getting a 404 error when trying to use the Email Before Download plugin.

    Here’s the page where the issue is reproducing:
    http://www.kwaddle.com/blog/index.php/austin-summer-camp-guide-2016/

    Download Monitor version: 1.9.4
    Email Before Download version: 3.4.2
    Contact-7 version: 4.4.2

    devenh

    (@devenh)

    Was there any resolution to this? I’m getting the same error. It’s weird, when I upload a file using Download Monitor, the ID #s are off by one.

    http://imgur.com/rGU5QbD

    Here’s the page where the issue is reproducing:
    http://www.kwaddle.com/blog/index.php/austin-summer-camp-guide-2016/

    My blog is hosted on an Amazon Linux image.

    devenh

    (@devenh)

    Was there any resolution to this? I’m getting the same error. It’s weird, when I upload a file using Download Monitor, the ID #s are off by one.

    http://imgur.com/rGU5QbD

    Here’s the page where the issue is reproducing:
    http://www.kwaddle.com/blog/index.php/austin-summer-camp-guide-2016/

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