Author Topic: What do I do if I delete files from /media/categoryfolder ?  (Read 4016 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
What do I do if I delete files from /media/categoryfolder ?
« on: October 20, 2002, 07:05:25 AM »
if I do so, then at the web page it will show 404 file not found picture, do I need go all through my gallery to find what picture file doesnt present and then delete it from the database? is there any automatic function to check for deleted files?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Admin control panel
« Reply #1 on: October 20, 2002, 06:57:05 PM »
Admin control panel, "Edit Images", set "Category" = the category in question.  Click "Search".  In the next page generated:

Code: [Select]
Images marked with ! denote image file that cannot be found on the server.
From there you can delete the database records in bulk.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
What do I do if I delete files from /media/categoryfolder ?
« Reply #2 on: October 20, 2002, 10:42:27 PM »
yeah, right, but still, it's one-by-one, it's pain...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)