Junior Member
Junior Member
richardtd   23-10-2009, 19:26
#1

From the admin menu under the "Pages" tab I am trying to delete a page and when I click the delete button nothing happens. Same with news articles. I have the latest versions of both Zenphoto and Zenpage.

Member
Member
sbillard   24-10-2009, 01:40
#2

If nothing happens, probably javascript is not working for you. The link uses a javascript function to confirm your desire to delete the page. Maybe there is a javascript error on the page. Check your browser to see if it so indicates.

Member
Member
shiwpam   03-06-2010, 13:24
#3

I'm having the same problem. Can't delete News or Pages articles. Hovering the mouse cursor over the delete image shows "javascript:confirmDeleteImage('admin-news-articles.php?del=8','Are you sure you want to delete this article? THIS CANNOT BE UNDONE!')" but nothing happens when i click it, nor can i delete the page from within editing the article.

Internet Explorer shows the following...
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Timestamp: Thu, 3 Jun 2010 13:21:08 UTC

Message: Object doesn't support this property or method
Line: 22
Char: 4
Code: 0
URI: http://localhost/zp-core/zp-extensions/zenpage/admin-news-articles.php

Message: Object expected
Line: 1
Char: 1
Code: 0
URI: http://localhost/zp-core/zp-extensions/zenpage/admin-news-articles.php

I believe the problem started after upgrading to 1.29, not sure though.

Administrator
Administrator
acrylian   03-06-2010, 14:07
#4

Yes, sorry, for the inconvenience. Just found that out myself, this little bug had sneaked in as we forgot to change these calls when JS functions changed. Change the 'confirmDeleteImage' to 'confirmDelete' for both and it should work again. Or try tonight's nightly.

Member
Member
shiwpam   03-06-2010, 14:46
#5

Thanks for the quick response! However, i managed to fix this by deleting the zp-core folder and then extracting the the zp-core from the 1.29 package to my site.

Also, where would i make the changes you mention?

Administrator
Administrator
acrylian   03-06-2010, 14:57
#6

If you want to do it yourself:
zp-core/zp-extensions/zenpage/admin-news-articles.php
zp-core/zp-extensions/zenpage/zenpage-admin-functions.php(the printPagelisttable function)
Use your editor to search, don't remember the lines.

Probably best is to wait for tonight's nightly.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.