From: Ashley M. K. <as...@pc...> - 2004-03-29 07:00:24
|
Bruce Lewin wrote: > I noticed something else... If I run previewmaker.pl as root, it seems > to make it to the end, albeit, with a number of errors. This XML error > showed up, which I had not seen before. I do have xml2 installed: Uhm previewmaker.pl should be run as the same user/group as your webserver. If you're like me, and run it as root, you have to chown the entire image-cache and album-data folders (and their contents) back to the same user/group as your webserver. > [Sun Mar 28 23:29:39 2004] previewmaker.pl: Exception 315: > albums/Albums/Chiemsee/PICT0001_1.TIF: wrong data type 1 for > "XMLPacket"; tag ignored. (TIFFReadDirectory) at /idsShared.pm line 579 This is Image::Info telling you it's discarding XML information your camera adds. > Also, I found that after I ran previewmaker.pl as root, I could not > clear the image cache via the web-page. Yeah, because those files are no longer owned by the webserver user, but as root. You can't delete files owned by someone else. However, if you chown everything back to the same user as the webserver, your problems will be solved. -- H| I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:as...@pc...> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. |