Hi! After I uploaded an image through the admin, it didn't show up. Instead a white box with a cross appears on the gallery page. Anyone knows what causes the problem?
Hi! Just wonder what permission level should the image folders be so that the thumbnail will show up. I have trouble to set them at 777 though. Is 755 good enough?
There might be a problem with having duplicate files in the same category with the same name (1064n.jpg). Have you tried reuploading the image in question after renaming it?
I just checked the hosting space, still have over 400 MB available... it's so strange... it worked fine in the first week... but then it doesn't work...
Check for oddly named files in /admin or your plogger root folder. If they are there, it may be a problem with phpThumb via temporary images. I think it has to do with permissions, but I'm not yet sure. It's a very confusing problem, I've dealt with it once before.
(FYI: The oddly named files are temporary images phpThumb tried to pass to GD but failed. Don't worry; nobody has maliciously added those files to your installation.)
Thanks... ddejong... I followed your suggestion... maybe i over did the correction... I deleted all the images in the "thumbs" folder as well as all the "collection" and "album" folders. I tried to re-upload one or two images... but the following message was shown on the actual site
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY `path` ASC' at line 1
SELECT id FROM `plogger_pictures` WHERE parent_album = ORDER BY `path` ASC
Any idea? Thanks for any input... I really appreciate :-)
That line should look like this: SELECT id FROM `plogger_pictures` WHERE parent_album = '1' ORDER BY `path` ASC
The fact that it's missing the value for parent_album is causing MySQL great grief. Question is, where is it (not) getting the value?
My suggestion in regards to having deleted albums is to wipe the DB tables and just start anew. In regards to the files, don't delete images. I'm sorry if it was unclear; these should be very obvious cache files, like "PTHUMB09a83ee459c7d" with no extension. They're temp files phpThumb created, handed to GD, but GD died, and left the file to rot for all digital eternity.
Also, I noticed the images folder is 777, the collection and album folder are 755 while the image (jpg) itself is 600... just wonder what CHMOD should they be...