Page 1 of 1

Bug in Phoca Gallery 4.0.0 Alpha4

Posted: 07 Feb 2013, 23:03
by humpix
Hi!
I found 2 bugs:

Users canĀ“t delete there own pics. Buttom is there, message comes "image deleted", but the image is still there.

The custom css file "default" can be changed, but nothing happens. When I make a new custom css, with exact the same data, and the default is deaktivatet, changes will work.
Edit: Ah, its because of the browser cache... I always have to delete it before changes affects

Best regards, and thank you for this great work!!!
Mathias

Re: Bug in Phoca Gallery 4.0.0 Alpha4

Posted: 08 Feb 2013, 00:41
by Jan
Hi, where exactly cannot users delete the images: in frontend in ucp?

Re: Bug in Phoca Gallery 4.0.0 Alpha4

Posted: 08 Feb 2013, 22:44
by humpix
Hi!
In the frontend.

Each user has his own category. In the category I set the Upload, Delete and Owner rights to the user xy, so everithing looks right. I also tried a few combinations with the "access right"...

Upload works like a charm, btw :twisted:

In the backend I can delete fotos too...

Best regards!
Mathias

Re: Bug in Phoca Gallery 4.0.0 Alpha4

Posted: 11 Feb 2013, 14:53
by humpix
EDIT: Little Update.
Sorry the Version is Aspha 3, not 4 :)

Update:
I found out that sometimes pictures can be deleted from frontend.
If I Upload the File with the name test.jpg, everything is ok.
The same file with the name 2011-144.jpg (original name) can not be deleted from frontend.

I also found out, when I delete this files from backend they will be removed from gallery and thumbnail - folder. But the original xyz.jpg will not be deleted in the pictures - folder.

Re: Bug in Phoca Gallery 4.0.0 Alpha4

Posted: 13 Feb 2013, 21:10
by Jan
Hi, originals are not removed in case you are deleting it in backend as it is possible that the original image is used by other image item or by other compoent, etc, so original images should be deleted by file manager.

Do you get some error message when you enable debug mode while deleting the files in frontend?

Jan

Re: Bug in Phoca Gallery 4.0.0 Alpha4

Posted: 14 Feb 2013, 12:26
by humpix
Hi Jan,
I tried to activate debug mode, but there is no error message.

But meanwhile I can replicat following effekt:
If the file name of the picture has only numbers, delete will not work (for ex. 1234.jpg or 123-4.jpg)
If the file name have any letter (abcd.jpg or abcd123.jpg) delete will work from frontend!

Re: Bug in Phoca Gallery 4.0.0 Alpha4

Posted: 18 Feb 2013, 21:02
by Jan
Ok, thank you for the info, I will try to look at this.
Thank you,
Jan

Re: Bug in Phoca Gallery 4.0.0 Alpha4

Posted: 20 Mar 2013, 00:18
by Jan
Hi, fixed in Phoca Gallery 4.0.0 Beta

Jan