• Resolved Tim Brandenstein

    (@tim-brandenstein)


    Hello!

    I have a problem with the redirection after I click on a file in the plugin display on my website.

    I installed and set up everything as described. I use the plugin at a subpage of my website. The display works well, but when I try to click/select a displayed dropboxfolder, the site redirects to my frontpage.

    So I tried to use the plugin at the frontpage and it works just fine. I click on the folder, the site refreshes/reloads and I can select a file from that folder and download it correctly.

    I dont want to use the plugin at my frontpage. So, is there a way to edit the plugin or edit the redirection, so I can use it at any subpage?

    many thanks!

    https://wordpress.org/plugins/blighty-explorer/

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

    (@blighty)

    Hi Tim,

    Thanks for the feedback. It should work even if it’s used on a subpage of your site; I just tested it again on my development site and it worked fine, but maybe there’s something unique to you that I didn’t account for when developing the plugin.

    A couple of questions so I can try to help:

    Are you able to share a link to your site (either front page or subpage) where you have it installed so that I can take a look?

    Is it just when you click on a subfolder and/or when you click on a file that it redirects to the front page?

    Thanks,
    Chris

    Plugin Author Blighty

    (@blighty)

    Hi again Tim,

    I think I’ve just found the problem. I suspect you have the default setting for Permalinks, so your blog is using the post number in the URL (e.g. ?p=5) which is causing a conflict with my plugin (i.e. there’s a bug in my plugin).

    Give me a few hours, and I’ll roll out a fix to it.

    Thanks,
    Chris

    Thread Starter Tim Brandenstein

    (@tim-brandenstein)

    Hi Chris,

    you are right. I use the post number in the URL and it redirects to the front page and displays:

    “frontpage.com.de/?folder=’folder name'”

    Thanks for your quick response and solution!
    Tim

    Thread Starter Tim Brandenstein

    (@tim-brandenstein)

    Hi again,

    I changed the permalinks setting to flexible links:

    homepage.com/subpage

    Everything works fine, until I try to download a file.

    Following error message appears:

    Fatal error: Uncaught exception ‘DropboxException’ with message ‘Path ‘/BeispielportfolioBETAGREEN_PF_DM11.pdf’ not found’ in /var/www/web22/html/wordpress/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php:607 Stack trace: #0 /var/www/web22/html/wordpress/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php(627): DropboxClient::checkForError(Object(stdClass)) #1 /var/www/web22/html/wordpress/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php(396): DropboxClient->apiCall(‘media/sandbox//…’, ‘POST’, Array) #2 /var/www/web22/html/wordpress/wp-content/plugins/blighty-explorer/blighty-explorer.php(342): DropboxClient->GetLink(‘/Beispielportfo…’, false, false) #3 [internal function]: bex_folder(”, ”, ‘bex_folder’) #4 /var/www/web22/html/wordpress/wp-includes/shortcodes.php(286): call_user_func(‘bex_folder’, ”, ”, ‘bex_folder’) #5 [internal function]: do_shortcode_tag(Array) #6 /var/www/web22/html/wordpress/wp-includes/shortcodes.php(200): preg_replace_callback(‘/\[(\[?)(embed|…’, ‘do_sh in /var/www/web22/html/wordpress/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php on line 607

    Thanks
    Tim

    Plugin Author Blighty

    (@blighty)

    Hi again Tim,

    I’ve just uploaded a new version of the plugin (v1.3.1) to WordPress that should hopefully fix your original problem. Please can you upgrade to that and then let me know if your second issue is still happening?

    Thanks!

    Thread Starter Tim Brandenstein

    (@tim-brandenstein)

    Hi Chris,

    The new version fixed my original problem.

    The secind issue is still happening when I try to download a file.

    Still following error message:

    ‘Fatal error: Uncaught exception ‘DropboxException’ with message ‘Path ‘/CAD TutorialCAD Tutorial.pdf’ not found’ in /var/www/web22/html/wordpress/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php:607 Stack trace: #0 /var/www/web22/html/wordpress/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php(627): DropboxClient::checkForError(Object(stdClass)) #1 /var/www/web22/html/wordpress/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php(396): DropboxClient->apiCall(‘media/sandbox//…’, ‘POST’, Array) #2 /var/www/web22/html/wordpress/wp-content/plugins/blighty-explorer/blighty-explorer.php(341): DropboxClient->GetLink(‘/CAD TutorialCA…’, false, false) #3 [internal function]: bex_folder(”, ”, ‘bex_folder’) #4 /var/www/web22/html/wordpress/wp-includes/shortcodes.php(286): call_user_func(‘bex_folder’, ”, ”, ‘bex_folder’) #5 [internal function]: do_shortcode_tag(Array) #6 /var/www/web22/html/wordpress/wp-includes/shortcodes.php(200): preg_replace_callback(‘/\[(\[?)(embed|…’, ‘do_shortcode_ta in /var/www/web22/html/wordpress/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php on line 607’

    Plugin Author Blighty

    (@blighty)

    Thanks for getting back to me.

    Can you clarify the filename of the file you’re trying to download? From the error, I see it’s “CAD TutorialCAD Tutorial.pdf” – is that correct?

    Also, is this in the top folder or a subfolder?

    Thread Starter Tim Brandenstein

    (@tim-brandenstein)

    Yes thats the file.

    I created sub folders for each group of data.

    http://www.owlcup.de/test/

    You can check the link to see it

    Plugin Author Blighty

    (@blighty)

    Hi Tim,

    Vielen Dank für Ihre Geduld! Ich hab’s gefunden!

    I’ve found the problem and have resolved it. I’ve just published a new version (1.3.2) which should hopefully resolve this issue.

    Thanks!

    Thread Starter Tim Brandenstein

    (@tim-brandenstein)

    Hi Chris,

    I just noticed your update and everything works fine.

    Thanks for all the support throughout the last days!

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

The topic ‘redirection’ is closed to new replies.