View Full Version : New images work, but old ones are missing
I've had PhotoPlog Lite installed for a little over a year. Inexplicably, my existing images have been invisible for the last month. They're on the server, chmoded to 644 (dirs are 777), and logged in the DB, but never appear.
New uploads work fine, and I've tried manipulating the fileuploads table's "filename" column to hack old images into new fileids, but they're still invisible.
Is there a photo cache hidden deep in the program that needs to be reset?
Morgan
09-06-2007, 12:54 AM
Double check that all image files are 644 and the PhotoPlog images directory, and all subdirectories within the PhotoPlog images directory, have 777 permissions. On a *nix server, to set 777 permissions in one go via hell, cd to your PhotoPlog images directory, and then type the following:
Content visible to registered users only.
All of the directories and subdirectories are set to 777.
The /images/1/*.jpg files are set to 600.
The /images/1/[small/medium/large]/*.jpg files are set to 600.
Permissions are identical for working and non-working images.
Morgan
09-06-2007, 01:08 AM
The 600 permissions are not web accessible permissions, so try changing the 600 permissions to 644 permissions.
PhotoPlog Lite only assigns permissions to directories. Files themselves take the default server permissions. If you need to change the default server permsisions, to avoid 600 permissions being assigned, check out the umask command. Alternatively, you can try adding the following line:
Content visible to registered users only.
After the following line:
Content visible to registered users only.
In both the PhotoPlog Lite edit.php and upload.php files.
vBulletin® v3.8.5, Copyright ©2000-2025, Jelsoft Enterprises Ltd.