When an image has already been visited by users and after this picture is deleted (picture upload by ploader), this picture is not present on the database (any entry).
However, when the administrator want to search on history and check all the consulted picture for some days, a line with this picture is present (only if a user has consulted this picture).
But, in the database, the picture ID is not present and some warning appears on admin page.
Like this for ex :
<b>Notice</b>: Undefined index: 25 in <b>.../piwigo/admin/history.php</b> on line <b>442</b><br />
In this exemple, the image 25 (id in the database) has been deleted by the administrator.
Steps to reproduce: insert a picture by ploader
History must be saved by piwigo (config param)
consult this picture with one or more user
delete this picture (through piwigo admin page)
search on the history all the consulted pages.
**Reported by tiico on 21 Nov 2009 13:24**
**Version:** 2.0.6
When an image has already been visited by users and after this picture is deleted (picture upload by ploader), this picture is not present on the database (any entry).
However, when the administrator want to search on history and check all the consulted picture for some days, a line with this picture is present (only if a user has consulted this picture).
But, in the database, the picture ID is not present and some warning appears on admin page.
Like this for ex :
<b>Notice</b>: Undefined index: 25 in <b>.../piwigo/admin/history.php</b> on line <b>442</b><br />
In this exemple, the image 25 (id in the database) has been deleted by the administrator.
**Steps to reproduce:** insert a picture by ploader
History must be saved by piwigo (config param)
consult this picture with one or more user
delete this picture (through piwigo admin page)
search on the history all the consulted pages.
[Piwigo Bugtracker #1258](http://piwigo.org/bugs/view.php?id=1258)
<!-- github-sync-id:97225859 -->
I confirm.
We must find a way to present theses deleted images in stats. Perhaps with a special icon.
**Comment posted by nikrou on 21 Nov 2009 19:35**
I confirm.
We must find a way to present theses deleted images in stats. Perhaps with a special icon.
<!-- github-comment-id:124891869 -->
A similar option (to update database i think) seems to be present in Astat plugin. This plugin check if an "unknow file" is present on history and inform administrator and suggest to correct this "warning".
**Comment posted by tiico on 23 Nov 2009 09:15**
A similar option (to update database i think) seems to be present in Astat plugin. This plugin check if an "unknow file" is present on history and inform administrator and suggest to correct this "warning".
<!-- github-comment-id:124891885 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Reported by tiico on 21 Nov 2009 13:24
Version: 2.0.6
When an image has already been visited by users and after this picture is deleted (picture upload by ploader), this picture is not present on the database (any entry).
However, when the administrator want to search on history and check all the consulted picture for some days, a line with this picture is present (only if a user has consulted this picture).
But, in the database, the picture ID is not present and some warning appears on admin page.
Like this for ex :
<b>Notice</b>: Undefined index: 25 in <b>.../piwigo/admin/history.php</b> on line <b>442</b><br />
In this exemple, the image 25 (id in the database) has been deleted by the administrator.
Steps to reproduce: insert a picture by ploader
History must be saved by piwigo (config param)
consult this picture with one or more user
delete this picture (through piwigo admin page)
search on the history all the consulted pages.
Piwigo Bugtracker #1258
Comment posted by nikrou on 21 Nov 2009 19:35
I confirm.
We must find a way to present theses deleted images in stats. Perhaps with a special icon.
Comment posted by tiico on 23 Nov 2009 09:15
A similar option (to update database i think) seems to be present in Astat plugin. This plugin check if an "unknow file" is present on history and inform administrator and suggest to correct this "warning".
This bug was fixed in a recent version of Piwigo