Forum

Thread tagged as: Problem

Select an Asset OS window opens twice

Hello, when going to upload an image I click on the area "Drop files anywhere to upload" and the OS pop-up opens. After I select a file or click cancel, the pop-up closes and opens again immediately. I have to cancel again to make the window permanently go away. If I select a file in the first prompt the file uploads correctly by the way. No idea where to check!

Perch Runway: 3.0.7, PHP: 7.0.20-1~dotdeb+8.2, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $, with PDO
Server OS: Linux, apache2handler
Installed apps: content (3.0.7), assets (3.0.7), categories (3.0.7), perch_blog (5.5), perch_forms (1.9), perch_shop_orders (1.1), perch_shop_products (1.1), perch_shop (1.1), perch_members (1.6), perch_mailchimp (3.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_members', 'perch_shop', 'perch_mailchimp', 'perch_forms', );
PERCH_LOGINPATH: /admin
PERCH_PATH: /home/70178-54447.cloudwaysapps.com/zbmshpfskk/public_html/admin
PERCH_CORE: /home/70178-54447.cloudwaysapps.com/zbmshpfskk/public_html/admin/core
PERCH_RESFILEPATH: /home/70178-54447.cloudwaysapps.com/zbmshpfskk/public_html/admin/resources
Image manipulation: GD Imagick
PHP limits: Max upload 10M, Max POST 10M, Memory: 128M, Total max file upload: 10M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
HTTP_HOST: annaand.co
DOCUMENT_ROOT: /home/70178-54447.cloudwaysapps.com/zbmshpfskk/public_html/
REQUEST_URI: /admin/core/settings/diagnostics/
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
Proko Mountrichas

Proko Mountrichas 3 points

  • 4 years ago

I'm experiencing the same issue with all my Perch 3.0.8 sites. I'm running Windows 10.

Perch Runway: 3.0.8, PHP: 5.6.14-1+deb.sury.org~trusty+1, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $, with PDO
Server OS: Linux, apache2handler
Installed apps: content (3.0.8), assets (3.0.8), categories (3.0.8), perch_forms (1.9.1)
App runtimes: <?php $apps_list = [ 'perch_forms', ];
PERCH_LOGINPATH: /usg-admin
PERCH_PATH: /var/www/public/usgear.dev/usg-admin
PERCH_CORE: /var/www/public/usgear.dev/usg-admin/core
PERCH_RESFILEPATH: /var/www/public/usgear.dev/usg-admin/resources
Image manipulation: GD Imagick
PHP limits: Max upload 100M, Max POST 100M, Memory: 128M, Total max file upload: 100M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
HTTP_HOST: usgear.dev
DOCUMENT_ROOT: /var/www/public/usgear.dev
REQUEST_URI: /usg-admin/core/settings/diagnostics/
SCRIPT_NAME: /usg-admin/core/settings/diagnostics/index.php
Drew McLellan

Drew McLellan 2638 points
Perch Support

That's not something we've heard of before. Which browser are you using?

I am using Chrome. Just had a quick look on Firefox and Safari. Firefox opens two windows when I click on "Drop files anywhere to upload". Safari looks to work as expected. It's weird.

I had a look at the source. $.ui.ddmanager led me to jquery draggable and then here https://github.com/enyo/dropzone/issues/771

Could be useful.

I have the same occurrence. It happens when I am choosing an image defined in a template; so, I'm editing a page, click "Select or Upload an Image", and in Assets click Add Asset which opens the "Drop files anywhere to upload" box.

I just ran through some browsers and it occurs in Chrome, Opera and Firefox, but everything works as expected in Safari.

I have been working around this by loading assets from the Assets admin area, where I click Add Asset and then upload in the Details box that opens.

Drew McLellan

Drew McLellan 2638 points
Perch Support

We'll take a look at it.

Drew McLellan

Drew McLellan 2638 points
Perch Support

This should be fixed in the next release.

Fixed in v3.0.9 https://grabaperch.com/update/v3-0-9

Thanks!

Drew McLellan

Drew McLellan 2638 points
Perch Support

Welcome.