Announcement

#1 2021-05-11 16:03:16

deemon
Member
2021-05-03
25

undeletable albums

Hello/Hi/Greetings,

Doing some mainteneance, I found a bunch of old empty albums, but they are undeletable directly from admin.php
Could probably delete from SQL directly, but ... just in case would like to figure it out, what might be wrong with them, fix it, and delete from admin.php. CSV export is such.:

Code:

"id","name","id_uppercat","comment","dir","rank","status","site_id","visible","representative_picture_id","uppercats","commentable","global_rank","image_order","permalink","lastmodified","polaroid_active"
"12314","hdgfhygh",NULL,NULL,"hdgfhygh","4143","public","1","true",NULL,"12314","true","4143",NULL,NULL,"2021-05-11 15:34:29","false"
"14451","hdgfhygh",NULL,NULL,"hdgfhygh","4159","public","1","true",NULL,"14451","true","4159",NULL,NULL,"2021-05-11 15:34:29","false"
"16588","hdgfhygh",NULL,NULL,"hdgfhygh","4175","public","1","true",NULL,"16588","true","4175",NULL,NULL,"2021-05-11 15:34:29","false"
"18725","hdgfhygh",NULL,NULL,"hdgfhygh","4191","public","1","true",NULL,"18725","true","4191",NULL,NULL,"2021-05-11 15:34:29","false"

Can't detect anything wrong there either...
Btw also the [Administration > Tools > Maintenance] options doesn't seem to fix this undeletable issue.
Any hints, what might be wrong and causes them to be this way?

(Copy here your environment details, found on your Piwigo page [Administration > Tools > Maintenance])

    Piwigo 11.4.0 Check for upgrade
    Operating system: Linux
    PHP: 7.1.33-3+0~20191218.29+debian9~1.gbp18b07c (Show info) [2021-05-11 17:01:01]
    MySQL: 5.5.5-10.1.48-MariaDB-1~stretch [2021-05-11 17:01:01]
    Graphics Library: External ImageMagick 6.9.7-4

Offline

 

#2 2021-05-12 13:09:35

deemon
Member
2021-05-03
25

Re: undeletable albums

Can you at least tell me, if just deleting those single lines from the `categories` table is enough, to cleanly delete them, or do I have to delete something else from other tables also? (0 pictures in the categories)

And what checks does the code perform, to determine, if the category is eligible for "Delete" button to show up or not under the Edit category?

Last edited by deemon (2021-05-12 13:11:18)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact