WP-Filebase icon indicating copy to clipboard operation
WP-Filebase copied to clipboard

WP 4.5 : File browser issue

Open pitichampi opened this issue 9 years ago • 12 comments

Hello !

I've just updated to WordPress 4.5 on my testing environment.

I can't use the file browser anymore : the folders can't be expanded to display what is inside.

Sorry for my bad english... I hope you'll understand.

Tests on Safari 9.1 and Chrome 49 (mac) with version 3.4.3 of the plugin

pitichampi avatar Apr 13 '16 14:04 pitichampi

Hello I have the same problem. I updated to wordpress 4.5 yesterday and I have some issue with the shorcord generator. folders are not accessible and in some parts the validation or insert button are not showing. apart form that everything is fine. browser firexox uptodate

teacherseck avatar Apr 14 '16 16:04 teacherseck

Note that this problem exists in front and admin

pitichampi avatar Apr 14 '16 18:04 pitichampi

Isn't this related to the jQuery issue ? I will try this weekend for sure.

First info: Updated libraries: We updated jquery, backbone, and a couple other libraries. This may cause your browsers to render oddly. Please remember to flush your cache (browser and website/server). If you're using Cloudflare, you may need to kick it.

As an example: Change this (for plugin authors): $( 'a[href*=#]:not([href=#])' ).click( function() { To this: $( 'a[href*="#"]:not([href="#"])' ).click( function() {

Adding this in functions.php should work according to my sources (BUT REMOVE THIS WHEN THE PROBLEM IS FIXED !):

if (!is_admin()) {
  wp_deregister_script('jquery');
  wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"), false, '1.11.3');
  wp_enqueue_script('jquery');
}

Pascal.

ePascalC avatar Apr 15 '16 07:04 ePascalC

Hi, this is indeed related to a jQuery incompatibility (removal of the 3rd argument for $.each())

Ive just pushed the fix https://github.com/f4bsch/WP-Filebase/commit/0aa7dc574855aafaaade31e7818f5028d96f8610

fl4p avatar Apr 18 '16 13:04 fl4p

Thanks for the awsome job Fabian.

teacherseck avatar Apr 21 '16 22:04 teacherseck

Thanks Fabian!

64h01101001h avatar Apr 22 '16 06:04 64h01101001h

Hi , There is one issue left. On category select display files do not show. The datatable view for instance reports there are no files when user is logged out. If all categories are selected files display works fine.

teacherseck avatar Apr 24 '16 23:04 teacherseck

@teacherseck is that issue on the front-end only? Whats your shortcode? Can you post a link?

fl4p avatar Apr 25 '16 14:04 fl4p

Here is an example yes, it's frontend only http://transace.net/eflshare/tests/ [wpfilebase tag=list id='11,14,8,12,10,13,9' tpl=data-table showcats=1 pagenav=1 sortcats='<cat_name' /]

teacherseck avatar Apr 25 '16 14:04 teacherseck

showcats=1 is not compatible with data Tables. Change it to showcats=0

fl4p avatar Apr 25 '16 20:04 fl4p

Fabian I have changed the showcats=0 but still the same. I tried this [wpfilebase tag=list id='2,6,3,5,1,7,4' tpl=data-table pagenav=1 /]

I see the data when logged in but not when I am logged out.

teacherseck avatar Apr 25 '16 21:04 teacherseck

Hello !

My files has automatically deleted from backend inside wpfilebase plugin .any one have idea about that.

infopriyank avatar Jun 14 '17 13:06 infopriyank