Forum
Delete page popup doesn't disappear after pressing delete
Hi Drew / Rachel
I assume this is a bug in Perch 3?
When I go to delete a page (with or without regions included) the full screen confirms deletion windows pops up but when I click delete, the window doesn't disappear.
If I then click on cancel or the close cross, it does go and then I have to refresh the screen to see if the page has been deleted - which is has.
Only a small thing but I can see clients getting confused thinking the page hasn't been deleted or that the system isn't working.
Many thanks -h ope that helps
Glen
Perch: 3.0.4, PHP: 7.0.15, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (3.0.4), assets (3.0.4), categories (3.0.4), perch_forms (1.9)
App runtimes: <?php $apps_list = [ 'perch_forms', ];
PERCH_LOGINPATH: /cms
PERCH_PATH: /home/kewgrass/5D8FLLB0/htdocs/perch/cms
PERCH_CORE: /home/kewgrass/5D8FLLB0/htdocs/perch/cms/core
PERCH_RESFILEPATH: /home/kewgrass/5D8FLLB0/htdocs/perch/cms/resources
Image manipulation: GD Imagick
PHP limits: Max upload 128M, Max POST 128M, Memory: 256M, Total max file upload: 128M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
HTTP_HOST: dev.kewgrasscare.co.uk
DOCUMENT_ROOT: /home/kewgrass/5D8FLLB0/htdocs/perch/
REQUEST_URI: /cms/core/settings/diagnostics/
SCRIPT_NAME: /cms/core/settings/diagnostics/index.php
Do you see anything in your browser console when this happens?
Glen, have you checked the browser console for js errors. The delete button is a js function. That would be the first place to check.
There is no bug as there are "Many" people using v3 without such errors.
Oops, my reply was happening at the same time ... lol
Great minds...
I do indeed
Error code above comes from Chrome - I get the same issue on Firefox too
Which version of Chrome?
Hi Drew,
I'm not in the office today so will confirm but whatever the latest version is as I've got automatic updates switched on
Glen
Chrome = 58.0.3029.110 Firefox = 53.0.3
Borth on Windows 10
This isn't something we've been able to replicate here.
Is other JavaScript working as expected?
I believe so - this is the only error in the browser console.
When I delete regions that work's fine, it's only when I try to delete a page.
I get the same error too on another PC here.
Ok, we'll keep an eye out to see if anyone else experiences the same.
I have encountered the same JS error developing a Perch app.
To find what's causing this:
This should take you to the actual delete page to confirm the action rather than doing so via the pop up. You may see some PHP errors on there.
Hope this helps.
Same here. Windows 10 Chrome and Edge latest versions.