Home › Forums › Front End PM PRO › BUG Block user & File upload Google Chrome Mobile(IOS)
Tagged: Bug
- This topic has 7 replies, 2 voices, and was last updated 6 years, 9 months ago by User Deleted.
- AuthorPosts
- February 20, 2019 at 5:16 pm #21842User DeletedParticipant
Hi,
I found a bug that only appears under the following:
-Use of Google Chrome Browser (Mobile) -> Not in desktop Version, tested with IOS [In all other major Browsers(even Mobile) this is not happening]
-When a user uploads a file(image) and then pushes the “block user-button” the whole website freezes!!
Sometimes refreshing the page in the browser helps to unfreeze.
-When the user was blocked before – unblocking after a file upload is working.Please help to solve this problem as soon as possible!
Brgds.
ChrisFebruary 21, 2019 at 1:20 pm #21880User DeletedParticipantHi,
Could you please help to solve it?!?Brgds.
ChrisFebruary 22, 2019 at 12:45 am #21898Shamim HasanKeymasterSorry for late reply. I had to setup for mobile debugging.
I have tested it with a chrome browser in android phone and working correctly.Can you please deactivate all other plugins and change theme to default theme (eg. tweentysixteen) then test.
February 22, 2019 at 11:00 am #21900User DeletedParticipantHi Shamim,
I`ve tested it with Twentyseventeen (Chrome in IOS) without any active plugins and the website is still freezing when I make use of the “block-user” right after uploading a image(jpeg)!!Brgds.
ChrisFebruary 22, 2019 at 10:58 pm #21929Shamim HasanKeymasterIt seems it is an ios bug.
Please go to this plugins’s block-unblock.js and remove line 5,6 & 7 (remove following code)if ( ! $( element ).hasClass( 'fep_user_blocked' ) && ! confirm( fep_block_unblock_script.confirm.replace( '%s', $( element ).data( 'user_name' ) ) ) ) { return false; }Then clear your browser cache and test.
February 24, 2019 at 11:21 am #21984User DeletedParticipantI’ve tested it and it seemed to fix the issue, but the problem seems to be more related to the upload than the block-unblock.js. With (or without) removing the code the page freezes on other parts of the page. After testing a while, to understand why this happens not in all parts of the page, it seems that it has something to do with the use of jQuery. Whenever jQuery is used after the upload (even when it’s not directly after), the page freezes.
February 24, 2019 at 3:28 pm #22001Shamim HasanKeymasterThis is not problem with website. It is a bug of IOS mobile. as most of the page with jQuery uses alert and confirm js function, IOS bug freeze that time.
You can google to find more.March 11, 2019 at 12:07 pm #22367User DeletedParticipantThe problem is the use of native JS dialog in general(confirm, alert, promt).
I finally fixed it by replacing the JS confirm with jquery-ui dialog. - AuthorPosts
You need to purchase ‘Front End PM PRO’ to create topic in this support forum.
If you already purchased ‘Front End PM PRO’ please LOGIN.