Hi all,
So, gallery3 is currently churning away adding a load of images through a bunch of subfolders. It's around 50,000 images in total and completed around 15132 so far after nearly 24 hours.
I just noticed in the logs that a bunch of files are marked 'skipping invalid file' and the path. I've had a look at a few of the images and they're valid JPEG images, usually something like IMG_9383.jpg so nothing too exotic.
I wonder if anyone can shed any light as to what causes an image to get marked as 'invalid' and skipped?
Also with such a huge amount of overhead, once it's completed and we've got a list of skipped images, what's the easiest / best way to have them retry that image?
Thanks in advance.
Dan.
Posts: 120
A casual Google search for "Gallery3 skipping invalid file" shows various possibilities and bug reports, including odd things like multiple full-stops in the filename/extension (you indicate the filenames are reasonable so probably not it), server running low on resources to even just trying a different graphics toolkit. You are probably going to have to search through your log file and provide more information before anyone can give you an idea what the specific cause might be.
Posts: 8
I was not being lazy, I have indeed googled for it, but I was hoping for something from a Gallery3 dev/guru who could identify what would constitute an 'invalid file' in Gallery3's eyes.
Which logs would give me more detail on the error? Apache's standard error log?
Posts: 814
check in your var directory for the logs directory. Each day a new log is generated. Hopefully you'll find more information in there as to why they are invalid. If you have difficulty figuring out the log entries, post the snippet of log for someone to take a look.
Posts: 8
So the logs don't offer much help.
The main error is a missing timezone setting in php.ini, which is easily fixed.
The other error, which I presume is linked to the invalid file message, is a 'missing tag' error which appears to be a mysql error inserting tags into the database.
The other funny thing is, after several days, the progress counter for the server add progress now shows:
Posts: 120
It looks like Server Add checks the filename extension to see if the file is a valid photo or movie file. If it isn't, then I think you will get the error you have indicated. By any chance, is there hidden whitespace after the extension? Maybe this could cause the extension to be misinterpreted.
Posts: 814
If you can post a snippet of the log where it errors out, we might be able to offer more assistance.