Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter heromal

    (@heromal)

    The problem is the plugin is doing weird things with the link. I’m using this code now, after uploading a file called “master.pdf” to the wp-content folder via FTP:

    [download instance=”1″ name=”Download” datetime=”3.4.2016 17:31″ other=”v.0.9 (alpha)”]/wp-content/master.pdf[/download]

    The errors:

    Warning: finfo_file(/wp-content/master.pdf/wp-content/master.pdf): failed to open stream: No such file or directory in /home1/edify/public_html/mastermentalhealthprogramme.com/wp-content/plugins/download-counter-button/functions/count/withoutjs.php on line 27

    Warning: filesize(): stat failed for /wp-content/master.pdf/wp-content/master.pdf in /home1/edify/public_html/mastermentalhealthprogramme.com/wp-content/plugins/download-counter-button/functions/count/withoutjs.php on line 30

    You can see it’s looking in “/wp-content/master.pdf/wp-content/master.pdf”
    It’s duplicating the link for whatever reason.

Viewing 1 replies (of 1 total)