Note that there are some explanatory texts on larger screens.

plurals
  1. PODropbox saver button warning icon
    primarykey
    data
    text
    <p>I'm trying to add a Dropbox Saver button to my website so my users have the option to save files to their dropbox account instead of downloading them. I've got the button setup correctly but the button throws a warning when I click on it. The error isn't outputted to the browser console either so I literally have no idea what's wrong.</p> <p>As you can see from the image below, the standard <code>advice.png</code> file supplied by DropBox works perfectly with the button, but any file from my domain just seems to fail.</p> <p><img src="https://i.stack.imgur.com/mOA6E.png" alt="enter image description here"></p> <p>I've tried reading through the <a href="https://www.dropbox.com/developers/dropins/saver" rel="nofollow noreferrer">Saver's documentation</a> a few times, but I can't see what I'm doing wrong. I've also tried testing this with more than one file on my server as I said above.</p> <p>Does anyone have any ideas as to what I'm doing wrong? Here's my code:</p> <pre><code>echo ' &lt;div style="margin-bottom:20px;"&gt; &lt;script type="text/javascript" src="https://www.dropbox.com/static/api/1/dropins.js" id="dropboxjs" data-app-key="jea46s19s3r8dou"&gt;&lt;/script&gt; &lt;a href="'.base_url()."uploads/".$notesDetails['filename'].'" class="dropbox-saver"&gt;&lt;/a&gt; &lt;a href="https://dl.dropboxusercontent.com/s/deroi5nwm6u7gdf/advice.png" class="dropbox-saver"&gt;&lt;/a&gt; &lt;a href="https://notedu.mp/uploads/small/eded5ff825cf367e36ab2f57fcccb218.jpg" class="dropbox-saver"&gt;&lt;/a&gt; &lt;/div&gt;'; </code></pre> <p>Any help would be greatly appreciated. Thanks.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload