WebsiteBaker Support (2.13.x) > General Help & Support
Cannot delete pages
Topiax:
--- Quote from: Luisehahne on November 17, 2020, 11:15:57 AM ---Please have a look in Webmaster Tool (Web-Console). I my point you have a Javascript error so script stops loading completly
Dietmar
--- End quote ---
Web console output:
--- Quote ---index.php:835 Uncaught ReferenceError: confirm_link is not defined at HTMLAnchorElement.o nclick (index.php:835)
--- End quote ---
Code fron index.php:835:
--- Quote ---<a onclick="confirm_link('Are you sure you want to delete the selected page (and all of its sub-pages)?','https://xxxx.xxxx.fi/admin/pages/delete.php?page_id=be85276994044544');" title="Delete">
--- End quote ---
Code from /modules/output_filter/js/LoadOnFly.js:
--- Quote ---};
var confirm_link = function (message, url) { // class="alert rounded"
if (confirm(message)) location.href = url;
--- End quote ---
Still fail to delete pages at Admin.
Topiax:
--- Quote from: Topiax on November 17, 2020, 07:52:18 PM ---
--- Quote from: Luisehahne on November 17, 2020, 11:15:57 AM ---Please have a look in Webmaster Tool (Web-Console). I my point you have a Javascript error so script stops loading completly
Dietmar
--- End quote ---
--- End quote ---
Code from https://xxx.xxxxxxx.fi/admin/pages/index.php
--- Quote ---<a onclick="confirm_link('Are you sure you want to delete the selected page (and all of its sub-pages)?','https://xxxx.xxxx.fi/admin/pages/delete.php?page_id=be85276994044544');" title="Delete">
--- End quote ---
This is from the HTML code of the admin page (as seen in my browser). Opening this url-link separately in the browser will delete the page concerned as is desired.
The wastebin icon on the admin page does not work however, nor contain any link other than that of the very image.
dbs:
You tried also other browsers?
Which browser do you use?
Luisehahne:
Hi,
seems to be a cache issue or not all files are uploaded
e.g.
Code from /modules/output_filter/js/LoadOnFly.js: (will be removed in the next package)
--- Quote --- };
var confirm_link = function (message, url) { // class="alert rounded"
if (confirm(message)) location.href = url;
--- End quote ---
will not be loaded, we load http://mydomain.local/wb/include/jquery/LoadOnFly.js
confirm_link is set in /templates/FeaultDheme/templates/footer.htt and switch form javascript confirm alert to sweetalert2 confirm dialog
need access to your webspace and installation, so i can help
Dietmar
jonathanw:
I'm having the same issues, tried with three installations now and on two different domains. Same issue persists. Also tried in firefox and chrome.
When I load the admin I get this error:
SyntaxError: missing } after property list index.php:694:25 note: { opened at line 692, column 18
And I get the following error when pressing the delete icon:
ReferenceError: confirm_link is not defined index.php:1:1
onclick https://xxxx.xx/admin/pages/index.php:1:1
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version