• Resolved cosmicgarden

    (@cosmicgarden)


    Sometimes the links to download a file from dropbox is broken, and an exception appears. Seems that is some kind of error related to the dropbox API, but I don′t sure about that.

    Fatal error: Uncaught exception ‘DropboxException’ with message ‘Path ‘/publicación mensual/Reporte agosto2016.pdf’ not found’ in /var/www/html/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php:607 Stack trace: #0 /var/www/html/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php(627): DropboxClient::checkForError(Object(stdClass)) #1 /var/www/html/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php(396): DropboxClient->apiCall(‘media/sandbox//…’, ‘POST’, Array) #2 /var/www/html/wp-content/plugins/blighty-explorer/folder.php(117): DropboxClient->GetLink(‘/Actividad de p…’, false, false) #3 [internal function]: bex_folder(Array, ”, ‘bex_folder’) #4 /var/www/html/wp-includes/shortcodes.php(326): call_user_func(‘bex_folder’, Array, ”, ‘bex_folder’) #5 [internal function]: do_shortcode_tag(Array) #6 /var/www/html/wp-includes/shortcodes.php(223): preg_replace_callback(‘/\\[(\\[?)(bex_fo…’, ‘do_shortcode_ta…’, ‘[bex_folder fil…’) #7 /var/www/html/wp-content/plugins/bligh in /var/www/html/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php on line 607

    And is a recurrent error in other pages.
    https://tendersolution.sk/zverejnovanie/?pagename=zverejnovanie&file=Zverejnovanie%252FPro%2Bmont%2
    https://www.comune.francolise.ce.it/archivio/?pagename=archivio&file=Risultati%2Bconsultazioni%2Belettorali%252FEuropee2014-risultati.xls

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Blighty

    (@blighty)

    Hi – Thanks for your feedback. I took a look at your two examples sites but wasn’t able to recreate the problem (or find the example files that were breaking). Could it be you’ve deleted the files from Dropbox? The plugin has a 60-second cache, so if you delete a file, it may still display in the file list, so when you click on the link it can’t be found.

    That said, I probably should modify the plugin to handle the problem more gracefully and show a friendlier message.

    • This reply was modified 7 years, 12 months ago by Blighty. Reason: Typo
    Thread Starter cosmicgarden

    (@cosmicgarden)

    Hello. Thanks for your answer. We didn’t delete any file in dropbox. Probably, the error is related to the 60s time of cache, in particular, a possible conflict with W3 Total Cache plugin. After deactivated this plugin, all the downloads work fine. Maybe you can do some test or tell us what is the best configuration for W3 plugin. Thanks for your help.

    Plugin Author Blighty

    (@blighty)

    Thank you for the follow-up information. I’m familiar with W3 Total Cache, but don’t use it on any sites with my plugin. That said, there seems to be a way to exclude certain pages from being cached by W3 Total Cache…

    See this page for details.

    Hope that helps!

    Chris

    Thread Starter cosmicgarden

    (@cosmicgarden)

    Thanks for your help. Unfortunately, the possible solution that you suggest didn’t work (adding the exception in w3). I was forced to deactivate w3 total cache again, in that way, the downloads work correctly. Can you check your code to verify where is the conflict or possible solution? Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Uncaught exception ‘DropboxException’’ is closed to new replies.