Gallery 2.3 bug? Itemdelete (album/singles)

Slayergirl
Slayergirl's picture

Joined: 2007-09-12
Posts: 180
Posted: Wed, 2007-11-28 10:51

Gallery 2.3 (latest nightly build - check for update today)
Couldn't find this problem, maybe it's already a known issue?

Ok here it is I am in an album then I have these options:

Delete album
Delete items

I choose Delete items. in the Delete items window the sidebar is still visible with the Delete album option. So I click (in the delete items window) Delete album...and I get a security error

Error Detail -
Error (ERROR_BAD_PARAMETER) : Class ItemDeleteSingleView not defined in core.ItemDeleteSingle
in C:\xampp\htdocs\gallery23\modules\core\classes\GalleryView.class at line 194 (GalleryCoreApi::error)
in C:\xampp\htdocs\gallery23\modules\core\ItemAdmin.inc at line 123 (GalleryView::loadView)
in C:\xampp\htdocs\gallery23\modules\core\classes\GalleryView.class at line 278 (ItemAdminView::loadTemplate)
in C:\xampp\htdocs\gallery23\main.php at line 449 (GalleryView::doLoadTemplate)
in C:\xampp\htdocs\gallery23\main.php at line 103
in C:\xampp\htdocs\gallery23\main.php at line 88

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-11-28 16:01

what browser are you using? safari?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Slayergirl
Slayergirl's picture

Joined: 2007-09-12
Posts: 180
Posted: Mon, 2007-12-03 08:10

IE7/Firefox(2.0.0.10)/Safari doesn't matter actually which one I use got the error with all the browsers.
I think it happens in any album EXCEPT root/main. See pic where the link is that causes the prob.

Nightly build revision 17212 btw.
Gallery version = 2.3-svn core 1.2.25
API = Core 7.42, Module 3.9, Theme 2.6, Embed 1.4
PHP version = 5.2.4 apache2handler
Webserver = Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4
Database = mysqli 5.0.45-community-nt, lock.system=database
Toolkits = LinkItemToolkit, Thumbnail, Gd, SquareThumb
Acceleration = none/0, none/0
Operating system = Windows NT DEL 5.1 build 2600
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-11-28 16:50

i can only reproduce it with safari. works fine in ff2,opera9,ie7.
either way, please file a bug and reference this forum discussion.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
rikrak

Joined: 2007-12-05
Posts: 1
Posted: Wed, 2007-12-05 21:44

Hi...
also have problems deleting. Can NOT delete album unless empty. Can NOT delete more than three pictures at a time. Get either a blank screen or error like the one described by "mok" in this threat http://gallery.menalto.com/node/63285
Gallery 2.2.3
PHP 4.3.11
MySQL 4.1.22
Apache, Linux
(It's basically the Godaddy hosting)

All pictures are uploaded with Gallery Remote, and preformated to fit 800x800 envelope.

Any suggestion are appreciated.

PS: Browsers tested "Firefox2.0.0.11 and IE6
PHPINFO is here (if it is any help) http://www.loonbayresort.com/gallery2/test/test.php

 
Slayergirl
Slayergirl's picture

Joined: 2007-09-12
Posts: 180
Posted: Thu, 2007-12-06 08:29

rikrak you are talking about a complete different version of Gallery then where my "bug" is in.
My problem is solved btw by turning off debug mode(turn on JS)....and upgrade safari to 3.04 (windows)

 
Stift

Joined: 2009-11-24
Posts: 3
Posted: Tue, 2009-11-24 21:05

Ok. So far. Today I managed with the same problem and, after I while, I found a serious error.

The developers messed up some files and lost some.

The missing files are:
/modules/core/template/ItemDeleteSingle.tpl
/modules/core/template/ItemDeleteConfirmation.tpl
/modules/core/ItemDeleteConfirmation.inc

Also with corrupt content is the file:
/modules/core/ItemDeleteSingle.inc

The reason why that happens -- They can't decide whether JavaScript is good or not. ;)

So just copy these named files to your location and you are happy again.

possible archive that contains all files you need
https://sourceforge.net/projects/gallery/files/gallery2/2.2.6/gallery-2.2.6-full.zip/download

Bug Post with solution: https://sourceforge.net/tracker/?func=detail&aid=2903361&group_id=7130&atid=107130

Hope you can enjoy your gallery2 again.

Slayergirl wrote:
Gallery 2.3 (latest nightly build - check for update today)
Couldn't find this problem, maybe it's already a known issue?

Ok here it is I am in an album then I have these options:

Delete album
Delete items

I choose Delete items. in the Delete items window the sidebar is still visible with the Delete album option. So I click (in the delete items window) Delete album...and I get a security error

Error Detail -
Error (ERROR_BAD_PARAMETER) : Class ItemDeleteSingleView not defined in core.ItemDeleteSingle
in C:\xampp\htdocs\gallery23\modules\core\classes\GalleryView.class at line 194 (GalleryCoreApi::error)
in C:\xampp\htdocs\gallery23\modules\core\ItemAdmin.inc at line 123 (GalleryView::loadView)
in C:\xampp\htdocs\gallery23\modules\core\classes\GalleryView.class at line 278 (ItemAdminView::loadTemplate)
in C:\xampp\htdocs\gallery23\main.php at line 449 (GalleryView::doLoadTemplate)
in C:\xampp\htdocs\gallery23\main.php at line 103
in C:\xampp\htdocs\gallery23\main.php at line 88