Hi,
I'm running the plugin that was suggested in another thread to pre-generate the image cache for slow servers. That works fine, although I'm running into a problem with running it for the folder structure. When I do that, it goes fine for a couple hundred folders, then crashes with the following error (always at the same place it seems):
Fatal error: Uncaught ValueError: Epoch doesn't fit in a PHP integer in /jffs/www/index.php:953 Stack trace: #0 /jffs/www/index.php(953): DateTime->getTimestamp() #1 /jffs/www/index.php(967): exif_timestamp('0000:00:00 00:0...') #2 /jffs/www/index.php(1135): get_exif('/tmp/mnt/sda3/P...') #3 /jffs/www/index.php(866): get_files_data('/tmp/mnt/sda3/P...', false, 1029329492, 774, 774, 'f7451495.jpg') #4 /tmp/mnt/sda3/_files/plugins/files.tasks.php(171): get_dir('/tmp/mnt/sda3/P...', true) #5 /tmp/mnt/sda3/_files/plugins/files.tasks.php(301): create_cache('/tmp/mnt/sda3/P...', 2) #6 /tmp/mnt/sda3/_files/plugins/files.tasks.php(301): create_cache('/tmp/mnt/sda3/P...', 1) #7 /tmp/mnt/sda3/_files/plugins/files.tasks.php(310): create_cache('/tmp/mnt/sda3/P...') #8 /jffs/www/index.php(1326): include('/tmp/mnt/sda3/_...') #9 /jffs/www/index.php(1790): get_include('plugins/files.t...') #10 {main} thrown in /jffs/www/index.php on line 953
Since the filenames in the error aren't expanded completely, I can't tell what folder it's failing on. Based on the above, it looks like a folder has an all-zero (illegal?) timestamp, but I don't know how to find it.
Actually, there is a filename in the above. But its creation or modified date as well as that of the folder it is in, are NOT 00:00:00:00..... Is an exif_timestamp something else? Further, if I remove the offending item, another one pops up in its place with the same error.
Any suggestions?
Thanks,
R