!! photos.dat file disappearing !!

redbandana

Joined: 2003-02-06
Posts: 1
Posted: Thu, 2003-02-06 03:31

I'm having issues with galleries disappearing at random. Totally random. They're galleries that have about 110 photos in them, and then one day, they're gone, but they're not. Also, it doesn't delete all the thumbnail and image files, just the photos.dat file which means that no one can access the gallery, and then it tells my admin guy that certain galleries are invalid. And tonight, I was browsing a gallery, then I closed the window, and went back to the album index, and all of a sudden I couldn't find this one gallery. So my admin guy went in and sure enough that gallery had just become invalid, and I had just surfed through it not even 5 minutes ago. This is really annoying, and it's happened to me 4 times now. Does anyone have ANY ideas?

Gallery URL (optional but very useful): http://demoni.ca/gallery
Gallery version: Gallery v1.3.3debian1
PHP version: 4.1.2

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2003-02-07 11:30

Are the photos.dat files really disappearing? If so, then it's a good possibility that either

a) You have, for some strange reason, malicious code in your Gallery. In this case, grab a new copy of Gallery pronto. (Incidentally, this would be the first time I've heard of this).

b) Someone malicious has access to your albums files. If you're on a shared server which has just one webserver user for the entire server (the user that owns the photos.dat files), it's possible that someone else on your shared server wrote a script to maliciously delete the files. There's not much you can do about this... other than to tell your site admins and ask them to either investigate further or create separate webusers for each shared site. This is why shared webservers in the hands of incompetent ISP hosts suck big-time (and hence, are inxepensive).

BTW, are the photos.dat.bak files remaining? (They are just backups, so you can copy them back to photos.dat and things should work again).

-Beckett (

)