Announcement

#1 2020-11-24 01:23:47

jrow3
Member
2020-11-24
7

Thumbnail Error Image

Hello,

I've been getting an error image for thumbnails on some of the pictures on my site.  I found a couple of similar threads and have confirmed it's not the PHP memory size (set to 320MB), permissions of the files (set the same way as other thumbnails that are loading) and 0644, and I have tried deleting the thumbnails and regenerating them all to no avail.

Unsure what to try next here.

The erroring thumbnails can be found at these paths directly.
https://djrow3.com/photos/index.php?/category/9
https://djrow3.com/photos/index.php?/category/food

Piwigo 2.10.2
Operating system: Linux
PHP: 7.4.10 (Show info) [2020-11-23 16:19:36]
MySQL: 5.7.28-log [2020-11-23 16:19:36]
Graphics Library: ImageMagick 6.9.10-23

Piwigo URL: https://djrow3.com/photos

Offline

 

#2 2020-11-30 18:40:34

jrow3
Member
2020-11-24
7

Re: Thumbnail Error Image

Still no luck trying to trouble shoot this.  Any ideas?

Offline

 

#3 2020-11-30 21:34:34

executive
Member
2017-08-16
1214

Re: Thumbnail Error Image

you could try increasing php execution time limit.

enable logging and see if anything shows up there
https://piwigo.org/doc/doku.php?id=user … es_missing

Offline

 

#4 2020-12-01 00:21:10

jrow3
Member
2020-11-24
7

Re: Thumbnail Error Image

The execution time is set to 500, and still no luck.

I deleted all generated images, and regenerated.  Got a notification 5 were unable to be generated, but no detailed errors on why.

Code:

[2020-11-30 13:27:31]  [ERROR]  [i.php]  400 Invalid chars in request
  url: '/photos/i.php'
[2020-11-30 13:57:51]  [DEBUG]  extract_plugin_files, $main_filepath = ShareAlbum/main.inc.php
[2020-11-30 13:57:51]  [DEBUG]  extract_plugin_files, $extract_path = ./plugins/ShareAlbum
[2020-11-30 13:57:51]  [DEBUG]  extract_plugin_files, $old_files = {.buildpath},{.project},{.settings/.jsdtscope},{.settings/org.eclipse.php.core.prefs},{.settings/org.eclipse.wst.common.project.facet.core.xml},{.settings/org.eclipse.wst.jsdt.ui.superType.container},{.settings/org.eclipse.wst.jsdt.ui.superType.name},{template/.DS_Store},{obsolete.list}
[2020-11-30 13:57:51]  [DEBUG]  extract_plugin_files, to delete = ./plugins/ShareAlbum/obsolete.list
[2020-11-30 14:23:39]  [DEBUG]  [i.php]  
  src_path: '20201101010849-36486fa7-xx.jpg'
  derivative_path: '20201101010849-36486fa7-la.jpg'
  o_size: '1656 1104 1828224'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 69,
    'rotate' => '',
    'crop' => '',
    'scale' => 145,
    'sharpen' => '',
    'watermark' => '',
    'save' => 65,
    'send' => 0,
    'total' => 280,
  )
[2020-11-30 14:30:27]  [DEBUG]  [i.php]  
  src_path: '20201109214049-1e81b50c.jpg'
  derivative_path: '20201109214049-1e81b50c-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 683,
    'rotate' => '',
    'crop' => '',
    'scale' => 970,
    'sharpen' => '',
    'watermark' => '',
    'save' => 49,
    'send' => 0,
    'total' => 1703,
  )
[2020-11-30 14:30:51]  [DEBUG]  [i.php]  
  src_path: '20201109214107-f6c16350.jpg'
  derivative_path: '20201109214107-f6c16350-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 697,
    'rotate' => '',
    'crop' => '',
    'scale' => 924,
    'sharpen' => '',
    'watermark' => '',
    'save' => 47,
    'send' => 0,
    'total' => 1669,
  )
[2020-11-30 14:34:42]  [DEBUG]  [i.php]  
  src_path: '20201109213757-c16dfd6a.jpg'
  derivative_path: '20201109213757-c16dfd6a-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 731,
    'rotate' => '',
    'crop' => '',
    'scale' => 980,
    'sharpen' => '',
    'watermark' => '',
    'save' => 46,
    'send' => 0,
    'total' => 1757,
  )
[2020-11-30 14:35:06]  [DEBUG]  [i.php]  
  src_path: '20201109213738-0443535c.jpg'
  derivative_path: '20201109213738-0443535c-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 710,
    'rotate' => '',
    'crop' => '',
    'scale' => 1030,
    'sharpen' => '',
    'watermark' => '',
    'save' => 57,
    'send' => 0,
    'total' => 1799,
  )
[2020-11-30 14:44:11]  [DEBUG]  [i.php]  
  src_path: '20201028175109-a18bfed4-xx.jpg'
  derivative_path: '20201028175109-a18bfed4-la.jpg'
  o_size: '1656 1104 1828224'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 85,
    'rotate' => '',
    'crop' => '',
    'scale' => 139,
    'sharpen' => '',
    'watermark' => '',
    'save' => 56,
    'send' => 0,
    'total' => 281,
  )
[2020-11-30 14:47:13]  [DEBUG]  [i.php]  
  src_path: '20201109213954-c45c3dc0-xx.jpg'
  derivative_path: '20201109213954-c45c3dc0-la.jpg'
  o_size: '1656 1104 1828224'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 49,
    'rotate' => '',
    'crop' => '',
    'scale' => 133,
    'sharpen' => '',
    'watermark' => '',
    'save' => 63,
    'send' => 0,
    'total' => 246,
  )
[2020-11-30 14:50:13]  [DEBUG]  [i.php]  
  src_path: '20201109213944-ced00927.jpg'
  derivative_path: '20201109213944-ced00927-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 637,
    'rotate' => '',
    'crop' => '',
    'scale' => 919,
    'sharpen' => '',
    'watermark' => '',
    'save' => 43,
    'send' => 0,
    'total' => 1600,
  )
[2020-11-30 15:01:56]  [DEBUG]  [i.php]  
  src_path: '20201101010911-3910e023.jpg'
  derivative_path: '20201101010911-3910e023-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.7
  timing: array(
    'load' => 813,
    'rotate' => '',
    'crop' => '',
    'scale' => 964,
    'sharpen' => '',
    'watermark' => '',
    'save' => 59,
    'send' => 0,
    'total' => 1836,
  )
[2020-11-30 15:05:24]  [DEBUG]  [i.php]  
  src_path: '20201109222058-21d20557-xx.jpg'
  derivative_path: '20201109222058-21d20557-la.jpg'
  o_size: '1656 1104 1828224'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 57,
    'rotate' => '',
    'crop' => '',
    'scale' => 134,
    'sharpen' => '',
    'watermark' => '',
    'save' => 53,
    'send' => 0,
    'total' => 245,
  )
[2020-11-30 15:08:36]  [DEBUG]  [i.php]  
  src_path: '20201123160106-8cb4b41e-xx.jpg'
  derivative_path: '20201123160106-8cb4b41e-th.jpg'
  o_size: '828 1242 1028376'
  d_size: '96 144 13824'
  mem_usage: 0.4
  timing: array(
    'load' => 48,
    'rotate' => '',
    'crop' => '',
    'scale' => 38,
    'sharpen' => '',
    'watermark' => '',
    'save' => 3,
    'send' => 0,
    'total' => 90,
  )
[2020-11-30 15:08:37]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc-xx.jpg'
  derivative_path: '20201123160020-de38fafc-th.jpg'
  o_size: '1656 1104 1828224'
  d_size: '144 96 13824'
  mem_usage: 0.4
  timing: array(
    'load' => 63,
    'rotate' => '',
    'crop' => '',
    'scale' => 63,
    'sharpen' => '',
    'watermark' => '',
    'save' => 3,
    'send' => 0,
    'total' => 131,
  )
[2020-11-30 15:08:37]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a-xx.jpg'
  derivative_path: '20201123155941-e67fb46a-th.jpg'
  o_size: '1656 1104 1828224'
  d_size: '144 96 13824'
  mem_usage: 0.7
  timing: array(
    'load' => 106,
    'rotate' => '',
    'crop' => '',
    'scale' => 61,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 171,
  )
[2020-11-30 15:09:06]  [DEBUG]  [i.php]  
  src_path: '20201123160149-e21bf783.jpg'
  derivative_path: '20201123160149-e21bf783-th.jpg'
  o_size: '4160 6240 25958400'
  d_size: '96 144 13824'
  mem_usage: 0.4
  timing: array(
    'load' => 700,
    'rotate' => '',
    'crop' => '',
    'scale' => 931,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 1635,
  )
[2020-11-30 15:09:06]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-th.jpg'
  o_size: '6240 4160 25958400'
  d_size: '144 96 13824'
  mem_usage: 0.4
  timing: array(
    'load' => 667,
    'rotate' => '',
    'crop' => '',
    'scale' => 962,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 1632,
  )
[2020-11-30 15:09:14]  [DEBUG]  [i.php]  
  src_path: '20201123160149-e21bf783.jpg'
  derivative_path: '20201123160149-e21bf783-2s.jpg'
  o_size: '4160 6240 25958400'
  d_size: '160 240 38400'
  mem_usage: 0.4
  timing: array(
    'load' => 799,
    'rotate' => '',
    'crop' => '',
    'scale' => 956,
    'sharpen' => '',
    'watermark' => '',
    'save' => 6,
    'send' => 0,
    'total' => 1763,
  )
[2020-11-30 15:09:16]  [DEBUG]  [i.php]  
  src_path: '20201123160149-e21bf783.jpg'
  derivative_path: '20201123160149-e21bf783-xs.jpg'
  o_size: '4160 6240 25958400'
  d_size: '216 324 69984'
  mem_usage: 0.4
  timing: array(
    'load' => 783,
    'rotate' => '',
    'crop' => '',
    'scale' => 846,
    'sharpen' => '',
    'watermark' => '',
    'save' => 13,
    'send' => 0,
    'total' => 1643,
  )
[2020-11-30 15:09:18]  [DEBUG]  [i.php]  
  src_path: '20201123160149-e21bf783.jpg'
  derivative_path: '20201123160149-e21bf783-sm.jpg'
  o_size: '4160 6240 25958400'
  d_size: '288 432 124416'
  mem_usage: 0.4
  timing: array(
    'load' => 731,
    'rotate' => '',
    'crop' => '',
    'scale' => 875,
    'sharpen' => '',
    'watermark' => '',
    'save' => 18,
    'send' => 0,
    'total' => 1625,
  )
[2020-11-30 15:09:19]  [DEBUG]  [i.php]  
  src_path: '20201123160149-e21bf783.jpg'
  derivative_path: '20201123160149-e21bf783-me.jpg'
  o_size: '4160 6240 25958400'
  d_size: '396 594 235224'
  mem_usage: 0.4
  timing: array(
    'load' => 729,
    'rotate' => '',
    'crop' => '',
    'scale' => 857,
    'sharpen' => '',
    'watermark' => '',
    'save' => 35,
    'send' => 0,
    'total' => 1622,
  )
[2020-11-30 15:09:21]  [DEBUG]  [i.php]  
  src_path: '20201123160149-e21bf783.jpg'
  derivative_path: '20201123160149-e21bf783-la.jpg'
  o_size: '4160 6240 25958400'
  d_size: '504 756 381024'
  mem_usage: 0.4
  timing: array(
    'load' => 693,
    'rotate' => '',
    'crop' => '',
    'scale' => 910,
    'sharpen' => '',
    'watermark' => '',
    'save' => 53,
    'send' => 0,
    'total' => 1657,
  )
[2020-11-30 15:09:23]  [DEBUG]  [i.php]  
  src_path: '20201123160149-e21bf783.jpg'
  derivative_path: '20201123160149-e21bf783-xl.jpg'
  o_size: '4160 6240 25958400'
  d_size: '612 918 561816'
  mem_usage: 0.4
  timing: array(
    'load' => 749,
    'rotate' => '',
    'crop' => '',
    'scale' => 922,
    'sharpen' => '',
    'watermark' => '',
    'save' => 76,
    'send' => 0,
    'total' => 1748,
  )
[2020-11-30 15:09:25]  [DEBUG]  [i.php]  
  src_path: '20201123160149-e21bf783.jpg'
  derivative_path: '20201123160149-e21bf783-xx.jpg'
  o_size: '4160 6240 25958400'
  d_size: '828 1242 1028376'
  mem_usage: 0.4
  timing: array(
    'load' => 736,
    'rotate' => '',
    'crop' => '',
    'scale' => 1011,
    'sharpen' => '',
    'watermark' => '',
    'save' => 140,
    'send' => 0,
    'total' => 1887,
  )
[2020-11-30 15:09:28]  [DEBUG]  [i.php]  
  src_path: '20201123160106-8cb4b41e.jpg'
  derivative_path: '20201123160106-8cb4b41e-th.jpg'
  o_size: '4160 6240 25958400'
  d_size: '96 144 13824'
  mem_usage: 0.4
  timing: array(
    'load' => 733,
    'rotate' => '',
    'crop' => '',
    'scale' => 905,
    'sharpen' => '',
    'watermark' => '',
    'save' => 3,
    'send' => 0,
    'total' => 1641,
  )
[2020-11-30 15:09:30]  [DEBUG]  [i.php]  
  src_path: '20201123160106-8cb4b41e.jpg'
  derivative_path: '20201123160106-8cb4b41e-2s.jpg'
  o_size: '4160 6240 25958400'
  d_size: '160 240 38400'
  mem_usage: 0.4
  timing: array(
    'load' => 807,
    'rotate' => '',
    'crop' => '',
    'scale' => 994,
    'sharpen' => '',
    'watermark' => '',
    'save' => 6,
    'send' => 0,
    'total' => 1809,
  )
[2020-11-30 15:09:31]  [DEBUG]  [i.php]  
  src_path: '20201123160149-e21bf783-xx.jpg'
  derivative_path: '20201123160149-e21bf783-sq.jpg'
  o_size: '828 1242 1028376'
  d_size: '120 120 14400'
  mem_usage: 0.4
  timing: array(
    'load' => 63,
    'rotate' => '',
    'crop' => 3,
    'scale' => 30,
    'sharpen' => '',
    'watermark' => '',
    'save' => 3,
    'send' => 0,
    'total' => 100,
  )
[2020-11-30 15:09:31]  [DEBUG]  [i.php]  
  src_path: '20201123160106-8cb4b41e-2s.jpg'
  derivative_path: '20201123160106-8cb4b41e-sq.jpg'
  o_size: '160 240 38400'
  d_size: '120 120 14400'
  mem_usage: 0.4
  timing: array(
    'load' => 7,
    'rotate' => '',
    'crop' => 0,
    'scale' => 2,
    'sharpen' => '',
    'watermark' => '',
    'save' => 3,
    'send' => 0,
    'total' => 13,
  )
[2020-11-30 15:09:32]  [DEBUG]  [i.php]  
  src_path: '20201123160106-8cb4b41e.jpg'
  derivative_path: '20201123160106-8cb4b41e-xs.jpg'
  o_size: '4160 6240 25958400'
  d_size: '216 324 69984'
  mem_usage: 0.4
  timing: array(
    'load' => 795,
    'rotate' => '',
    'crop' => '',
    'scale' => 894,
    'sharpen' => '',
    'watermark' => '',
    'save' => 11,
    'send' => 0,
    'total' => 1701,
  )
[2020-11-30 15:09:33]  [DEBUG]  [i.php]  
  src_path: '20201123160106-8cb4b41e.jpg'
  derivative_path: '20201123160106-8cb4b41e-sm.jpg'
  o_size: '4160 6240 25958400'
  d_size: '288 432 124416'
  mem_usage: 0.4
  timing: array(
    'load' => 721,
    'rotate' => '',
    'crop' => '',
    'scale' => 832,
    'sharpen' => '',
    'watermark' => '',
    'save' => 17,
    'send' => 0,
    'total' => 1570,
  )
[2020-11-30 15:09:35]  [DEBUG]  [i.php]  
  src_path: '20201123160106-8cb4b41e.jpg'
  derivative_path: '20201123160106-8cb4b41e-me.jpg'
  o_size: '4160 6240 25958400'
  d_size: '396 594 235224'
  mem_usage: 0.4
  timing: array(
    'load' => 749,
    'rotate' => '',
    'crop' => '',
    'scale' => 863,
    'sharpen' => '',
    'watermark' => '',
    'save' => 32,
    'send' => 0,
    'total' => 1645,
  )
[2020-11-30 15:09:37]  [DEBUG]  [i.php]  
  src_path: '20201123160106-8cb4b41e.jpg'
  derivative_path: '20201123160106-8cb4b41e-la.jpg'
  o_size: '4160 6240 25958400'
  d_size: '504 756 381024'
  mem_usage: 0.4
  timing: array(
    'load' => 759,
    'rotate' => '',
    'crop' => '',
    'scale' => 871,
    'sharpen' => '',
    'watermark' => '',
    'save' => 51,
    'send' => 0,
    'total' => 1681,
  )
[2020-11-30 15:09:39]  [DEBUG]  [i.php]  
  src_path: '20201123160106-8cb4b41e.jpg'
  derivative_path: '20201123160106-8cb4b41e-xl.jpg'
  o_size: '4160 6240 25958400'
  d_size: '612 918 561816'
  mem_usage: 0.4
  timing: array(
    'load' => 716,
    'rotate' => '',
    'crop' => '',
    'scale' => 918,
    'sharpen' => '',
    'watermark' => '',
    'save' => 79,
    'send' => 0,
    'total' => 1715,
  )
[2020-11-30 15:09:40]  [DEBUG]  [i.php]  
  src_path: '20201123160106-8cb4b41e.jpg'
  derivative_path: '20201123160106-8cb4b41e-xx.jpg'
  o_size: '4160 6240 25958400'
  d_size: '828 1242 1028376'
  mem_usage: 0.4
  timing: array(
    'load' => 797,
    'rotate' => '',
    'crop' => '',
    'scale' => 963,
    'sharpen' => '',
    'watermark' => '',
    'save' => 122,
    'send' => 0,
    'total' => 1884,
  )
[2020-11-30 15:09:43]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-th.jpg'
  o_size: '6240 4160 25958400'
  d_size: '144 96 13824'
  mem_usage: 0.4
  timing: array(
    'load' => 768,
    'rotate' => '',
    'crop' => '',
    'scale' => 993,
    'sharpen' => '',
    'watermark' => '',
    'save' => 3,
    'send' => 0,
    'total' => 1765,
  )
[2020-11-30 15:09:45]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-2s.jpg'
  o_size: '6240 4160 25958400'
  d_size: '240 160 38400'
  mem_usage: 0.4
  timing: array(
    'load' => 794,
    'rotate' => '',
    'crop' => '',
    'scale' => 974,
    'sharpen' => '',
    'watermark' => '',
    'save' => 6,
    'send' => 0,
    'total' => 1776,
  )
[2020-11-30 15:09:47]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-xs.jpg'
  o_size: '6240 4160 25958400'
  d_size: '432 288 124416'
  mem_usage: 0.4
  timing: array(
    'load' => 663,
    'rotate' => '',
    'crop' => '',
    'scale' => 857,
    'sharpen' => '',
    'watermark' => '',
    'save' => 16,
    'send' => 0,
    'total' => 1537,
  )
[2020-11-30 15:09:49]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-sm.jpg'
  o_size: '6240 4160 25958400'
  d_size: '576 384 221184'
  mem_usage: 0.4
  timing: array(
    'load' => 693,
    'rotate' => '',
    'crop' => '',
    'scale' => 923,
    'sharpen' => '',
    'watermark' => '',
    'save' => 30,
    'send' => 0,
    'total' => 1647,
  )
[2020-11-30 15:09:50]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.4
  timing: array(
    'load' => 709,
    'rotate' => '',
    'crop' => '',
    'scale' => 973,
    'sharpen' => '',
    'watermark' => '',
    'save' => 49,
    'send' => 0,
    'total' => 1733,
  )
[2020-11-30 15:09:52]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 673,
    'rotate' => '',
    'crop' => '',
    'scale' => 947,
    'sharpen' => '',
    'watermark' => '',
    'save' => 83,
    'send' => 0,
    'total' => 1704,
  )
[2020-11-30 15:09:54]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-xl.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1224 816 998784'
  mem_usage: 0.4
  timing: array(
    'load' => 674,
    'rotate' => '',
    'crop' => '',
    'scale' => 1034,
    'sharpen' => '',
    'watermark' => '',
    'save' => 94,
    'send' => 0,
    'total' => 1804,
  )
[2020-11-30 15:09:56]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-xx.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1656 1104 1828224'
  mem_usage: 0.4
  timing: array(
    'load' => 668,
    'rotate' => '',
    'crop' => '',
    'scale' => 1059,
    'sharpen' => '',
    'watermark' => '',
    'save' => 178,
    'send' => 0,
    'total' => 1907,
  )
[2020-11-30 15:09:59]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-th.jpg'
  o_size: '6240 4160 25958400'
  d_size: '144 96 13824'
  mem_usage: 0.4
  timing: array(
    'load' => 709,
    'rotate' => '',
    'crop' => '',
    'scale' => 976,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 1689,
  )
[2020-11-30 15:10:01]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-2s.jpg'
  o_size: '6240 4160 25958400'
  d_size: '240 160 38400'
  mem_usage: 0.4
  timing: array(
    'load' => 734,
    'rotate' => '',
    'crop' => '',
    'scale' => 922,
    'sharpen' => '',
    'watermark' => '',
    'save' => 6,
    'send' => 0,
    'total' => 1663,
  )
[2020-11-30 15:10:02]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-xs.jpg'
  o_size: '6240 4160 25958400'
  d_size: '432 288 124416'
  mem_usage: 0.4
  timing: array(
    'load' => 852,
    'rotate' => '',
    'crop' => '',
    'scale' => 873,
    'sharpen' => '',
    'watermark' => '',
    'save' => 17,
    'send' => 0,
    'total' => 1742,
  )
[2020-11-30 15:10:04]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-sm.jpg'
  o_size: '6240 4160 25958400'
  d_size: '576 384 221184'
  mem_usage: 0.4
  timing: array(
    'load' => 821,
    'rotate' => '',
    'crop' => '',
    'scale' => 953,
    'sharpen' => '',
    'watermark' => '',
    'save' => 32,
    'send' => 0,
    'total' => 1807,
  )
[2020-11-30 15:10:06]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.4
  timing: array(
    'load' => 766,
    'rotate' => '',
    'crop' => '',
    'scale' => 998,
    'sharpen' => '',
    'watermark' => '',
    'save' => 66,
    'send' => 0,
    'total' => 1831,
  )
[2020-11-30 15:10:08]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 760,
    'rotate' => '',
    'crop' => '',
    'scale' => 914,
    'sharpen' => '',
    'watermark' => '',
    'save' => 90,
    'send' => 0,
    'total' => 1766,
  )
[2020-11-30 15:10:10]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-xl.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1224 816 998784'
  mem_usage: 0.4
  timing: array(
    'load' => 741,
    'rotate' => '',
    'crop' => '',
    'scale' => 957,
    'sharpen' => '',
    'watermark' => '',
    'save' => 134,
    'send' => 0,
    'total' => 1833,
  )
[2020-11-30 15:10:12]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-xx.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1656 1104 1828224'
  mem_usage: 0.4
  timing: array(
    'load' => 799,
    'rotate' => '',
    'crop' => '',
    'scale' => 1121,
    'sharpen' => '',
    'watermark' => '',
    'save' => 241,
    'send' => 0,
    'total' => 2162,
  )
[2020-11-30 15:10:15]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-2s.jpg'
  o_size: '6240 4160 25958400'
  d_size: '240 160 38400'
  mem_usage: 0.4
  timing: array(
    'load' => 708,
    'rotate' => '',
    'crop' => '',
    'scale' => 967,
    'sharpen' => '',
    'watermark' => '',
    'save' => 4,
    'send' => 0,
    'total' => 1680,
  )
[2020-11-30 15:10:17]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-xs.jpg'
  o_size: '6240 4160 25958400'
  d_size: '432 288 124416'
  mem_usage: 0.4
  timing: array(
    'load' => 722,
    'rotate' => '',
    'crop' => '',
    'scale' => 874,
    'sharpen' => '',
    'watermark' => '',
    'save' => 9,
    'send' => 0,
    'total' => 1606,
  )
[2020-11-30 15:10:19]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-sm.jpg'
  o_size: '6240 4160 25958400'
  d_size: '576 384 221184'
  mem_usage: 0.4
  timing: array(
    'load' => 734,
    'rotate' => '',
    'crop' => '',
    'scale' => 882,
    'sharpen' => '',
    'watermark' => '',
    'save' => 18,
    'send' => 0,
    'total' => 1635,
  )
[2020-11-30 15:10:20]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.4
  timing: array(
    'load' => 719,
    'rotate' => '',
    'crop' => '',
    'scale' => 886,
    'sharpen' => '',
    'watermark' => '',
    'save' => 30,
    'send' => 0,
    'total' => 1636,
  )
[2020-11-30 15:10:22]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 728,
    'rotate' => '',
    'crop' => '',
    'scale' => 929,
    'sharpen' => '',
    'watermark' => '',
    'save' => 50,
    'send' => 0,
    'total' => 1708,
  )
[2020-11-30 15:10:24]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-xl.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1224 816 998784'
  mem_usage: 0.4
  timing: array(
    'load' => 637,
    'rotate' => '',
    'crop' => '',
    'scale' => 952,
    'sharpen' => '',
    'watermark' => '',
    'save' => 75,
    'send' => 0,
    'total' => 1665,
  )
[2020-11-30 15:10:26]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-xx.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1656 1104 1828224'
  mem_usage: 0.4
  timing: array(
    'load' => 757,
    'rotate' => '',
    'crop' => '',
    'scale' => 1063,
    'sharpen' => '',
    'watermark' => '',
    'save' => 130,
    'send' => 0,
    'total' => 1951,
  )
[2020-11-30 15:13:23]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc-xx.jpg'
  derivative_path: '20201123160020-de38fafc-sq.jpg'
  o_size: '1656 1104 1828224'
  d_size: '120 120 14400'
  mem_usage: 0.7
  timing: array(
    'load' => 63,
    'rotate' => '',
    'crop' => 4,
    'scale' => 41,
    'sharpen' => '',
    'watermark' => '',
    'save' => 3,
    'send' => 0,
    'total' => 113,
  )
[2020-11-30 15:13:23]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a-xx.jpg'
  derivative_path: '20201123155941-e67fb46a-sq.jpg'
  o_size: '1656 1104 1828224'
  d_size: '120 120 14400'
  mem_usage: 0.4
  timing: array(
    'load' => 79,
    'rotate' => '',
    'crop' => 4,
    'scale' => 38,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 124,
  )
[2020-11-30 15:13:24]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24-xx.jpg'
  derivative_path: '20201109232049-8392cf24-sq.jpg'
  o_size: '1656 1104 1828224'
  d_size: '120 120 14400'
  mem_usage: 0.4
  timing: array(
    'load' => 46,
    'rotate' => '',
    'crop' => 4,
    'scale' => 37,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 90,
  )

Last edited by jrow3 (2020-12-01 00:26:41)

Offline

 

#5 2020-12-01 11:01:53

executive
Member
2017-08-16
1214

Re: Thumbnail Error Image

Code:

[2020-11-30 13:27:31]  [ERROR]  [i.php]  400 Invalid chars in request

Offline

 

#6 2020-12-01 13:46:53

erAck
Only trying to help
2015-09-06
2023

Re: Thumbnail Error Image

Status code 400 can be about any malformed URI or query data. That also doesn't appear to be related here because it happened an hour before. It could had helped if you posted the exactly relevant snippet of only the time frame in question. So what is the time frame actually? It also doesn't seem to start with the first image listed at 14:23:39. My guess is, as the execution time is set to 500 (seconds) and the log stops at 15:13:24 the first relevant image could be the one starting at 15:05:24 which is exactly 8 minutes before, or rather the next after at 15:08:36 because one image taking 3 minutes sounds too much.. Then again it could also be that the last 3 starting at 15:13:23 are off that slice and the run starts at 15:01:56 or 15:05:24 until 15:10:26

Anyhow, it seems to me that 500 seconds is still not enough and it just stops after that.

Also noticing there are quite large images like
o_size: '6240 4160 25958400'

Adding up the (all! so more than one run) timing arrays' total values yields about 81 seconds spent in actual image processing with even the large images not taking more than 1800ms and usually the time stamps of images are not more than 2s apart, but at the beginning or the end of the time frames mentioned above  there's a gap of 3 minutes. Whatever happens there on your server..


Running Piwigo at https://erack.net/gallery/

Offline

 

#7 2020-12-01 17:52:15

jrow3
Member
2020-11-24
7

Re: Thumbnail Error Image

I went back and narrowed the scope of the request.  I selected only the three images that don't have thumbs generating, and deleted the sizes, and regenerated.  I get an error pop up saying three were unable to be generated, however the error log doesn't have any mention of the three in there.

My initial thought is the max execution time isn't the case as switching it from 10 to 500 seconds didn't change the number of errors, but could be wrong in my assumption there.

The other piece that is a bit weird is that if I regenerate just the thumbnails I don't get any error messages at all (either in the batch manager or in the logs), I only get the "X photos could not be regenerated" error (below) when attempting to generate them all at once.  That said, I went through and deleted and regened each photo one by one, and they all processed without error, yet the thumbnails on the site continue to pull up the triangle error.

https://djrow3.com/dump/Capture.PNG

This is the logs just from the generation of all of these at once, but on the single by single generating I'm seeing the same logs, with the longest gap being 3 seconds to generate each of XXL sized images.  That all said, it's only the thumbnails that are giving me errors, so I'm not too worried about the XXL image generation.

Code:

[2020-12-01 8:32:30]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-th.jpg'
  o_size: '6240 4160 25958400'
  d_size: '144 96 13824'
  mem_usage: 0.4
  timing: array(
    'load' => 674,
    'rotate' => '',
    'crop' => '',
    'scale' => 1139,
    'sharpen' => '',
    'watermark' => '',
    'save' => 3,
    'send' => 0,
    'total' => 1818,
  )
[2020-12-01 8:32:32]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-2s.jpg'
  o_size: '6240 4160 25958400'
  d_size: '240 160 38400'
  mem_usage: 0.4
  timing: array(
    'load' => 789,
    'rotate' => '',
    'crop' => '',
    'scale' => 1052,
    'sharpen' => '',
    'watermark' => '',
    'save' => 6,
    'send' => 0,
    'total' => 1848,
  )
[2020-12-01 8:32:34]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-xs.jpg'
  o_size: '6240 4160 25958400'
  d_size: '432 288 124416'
  mem_usage: 0.4
  timing: array(
    'load' => 742,
    'rotate' => '',
    'crop' => '',
    'scale' => 908,
    'sharpen' => '',
    'watermark' => '',
    'save' => 15,
    'send' => 0,
    'total' => 1666,
  )
[2020-12-01 8:32:35]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-sm.jpg'
  o_size: '6240 4160 25958400'
  d_size: '576 384 221184'
  mem_usage: 0.4
  timing: array(
    'load' => 679,
    'rotate' => '',
    'crop' => '',
    'scale' => 911,
    'sharpen' => '',
    'watermark' => '',
    'save' => 26,
    'send' => 0,
    'total' => 1618,
  )
[2020-12-01 8:32:37]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.4
  timing: array(
    'load' => 687,
    'rotate' => '',
    'crop' => '',
    'scale' => 925,
    'sharpen' => '',
    'watermark' => '',
    'save' => 48,
    'send' => 0,
    'total' => 1661,
  )
[2020-12-01 8:32:39]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 690,
    'rotate' => '',
    'crop' => '',
    'scale' => 1020,
    'sharpen' => '',
    'watermark' => '',
    'save' => 73,
    'send' => 0,
    'total' => 1784,
  )
[2020-12-01 8:32:41]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-xl.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1224 816 998784'
  mem_usage: 0.4
  timing: array(
    'load' => 737,
    'rotate' => '',
    'crop' => '',
    'scale' => 1003,
    'sharpen' => '',
    'watermark' => '',
    'save' => 100,
    'send' => 0,
    'total' => 1840,
  )
[2020-12-01 8:32:43]  [DEBUG]  [i.php]  
  src_path: '20201123160020-de38fafc.jpg'
  derivative_path: '20201123160020-de38fafc-xx.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1656 1104 1828224'
  mem_usage: 0.4
  timing: array(
    'load' => 835,
    'rotate' => '',
    'crop' => '',
    'scale' => 1120,
    'sharpen' => '',
    'watermark' => '',
    'save' => 189,
    'send' => 0,
    'total' => 2145,
  )
[2020-12-01 8:32:46]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-th.jpg'
  o_size: '6240 4160 25958400'
  d_size: '144 96 13824'
  mem_usage: 0.4
  timing: array(
    'load' => 786,
    'rotate' => '',
    'crop' => '',
    'scale' => 965,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 1754,
  )
[2020-12-01 8:32:48]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-2s.jpg'
  o_size: '6240 4160 25958400'
  d_size: '240 160 38400'
  mem_usage: 0.4
  timing: array(
    'load' => 821,
    'rotate' => '',
    'crop' => '',
    'scale' => 977,
    'sharpen' => '',
    'watermark' => '',
    'save' => 6,
    'send' => 0,
    'total' => 1805,
  )
[2020-12-01 8:32:50]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-xs.jpg'
  o_size: '6240 4160 25958400'
  d_size: '432 288 124416'
  mem_usage: 0.4
  timing: array(
    'load' => 790,
    'rotate' => '',
    'crop' => '',
    'scale' => 958,
    'sharpen' => '',
    'watermark' => '',
    'save' => 19,
    'send' => 0,
    'total' => 1767,
  )
[2020-12-01 8:32:52]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-sm.jpg'
  o_size: '6240 4160 25958400'
  d_size: '576 384 221184'
  mem_usage: 0.4
  timing: array(
    'load' => 850,
    'rotate' => '',
    'crop' => '',
    'scale' => 997,
    'sharpen' => '',
    'watermark' => '',
    'save' => 30,
    'send' => 0,
    'total' => 1877,
  )
[2020-12-01 8:32:54]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.4
  timing: array(
    'load' => 796,
    'rotate' => '',
    'crop' => '',
    'scale' => 997,
    'sharpen' => '',
    'watermark' => '',
    'save' => 57,
    'send' => 0,
    'total' => 1851,
  )
[2020-12-01 8:32:56]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 864,
    'rotate' => '',
    'crop' => '',
    'scale' => 1078,
    'sharpen' => '',
    'watermark' => '',
    'save' => 102,
    'send' => 0,
    'total' => 2045,
  )
[2020-12-01 8:32:58]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-xl.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1224 816 998784'
  mem_usage: 0.4
  timing: array(
    'load' => 777,
    'rotate' => '',
    'crop' => '',
    'scale' => 1019,
    'sharpen' => '',
    'watermark' => '',
    'save' => 144,
    'send' => 0,
    'total' => 1941,
  )
[2020-12-01 8:33:00]  [DEBUG]  [i.php]  
  src_path: '20201123155941-e67fb46a.jpg'
  derivative_path: '20201123155941-e67fb46a-xx.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1656 1104 1828224'
  mem_usage: 0.4
  timing: array(
    'load' => 834,
    'rotate' => '',
    'crop' => '',
    'scale' => 1118,
    'sharpen' => '',
    'watermark' => '',
    'save' => 260,
    'send' => 0,
    'total' => 2212,
  )
[2020-12-01 8:33:03]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-th.jpg'
  o_size: '6240 4160 25958400'
  d_size: '144 96 13824'
  mem_usage: 0.4
  timing: array(
    'load' => 757,
    'rotate' => '',
    'crop' => '',
    'scale' => 989,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 1749,
  )
[2020-12-01 8:33:05]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-2s.jpg'
  o_size: '6240 4160 25958400'
  d_size: '240 160 38400'
  mem_usage: 0.4
  timing: array(
    'load' => 676,
    'rotate' => '',
    'crop' => '',
    'scale' => 949,
    'sharpen' => '',
    'watermark' => '',
    'save' => 4,
    'send' => 0,
    'total' => 1630,
  )
[2020-12-01 8:33:06]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-xs.jpg'
  o_size: '6240 4160 25958400'
  d_size: '432 288 124416'
  mem_usage: 0.4
  timing: array(
    'load' => 699,
    'rotate' => '',
    'crop' => '',
    'scale' => 906,
    'sharpen' => '',
    'watermark' => '',
    'save' => 10,
    'send' => 0,
    'total' => 1616,
  )
[2020-12-01 8:33:08]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-sm.jpg'
  o_size: '6240 4160 25958400'
  d_size: '576 384 221184'
  mem_usage: 0.4
  timing: array(
    'load' => 642,
    'rotate' => '',
    'crop' => '',
    'scale' => 885,
    'sharpen' => '',
    'watermark' => '',
    'save' => 19,
    'send' => 0,
    'total' => 1547,
  )
[2020-12-01 8:33:10]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.4
  timing: array(
    'load' => 699,
    'rotate' => '',
    'crop' => '',
    'scale' => 928,
    'sharpen' => '',
    'watermark' => '',
    'save' => 36,
    'send' => 0,
    'total' => 1664,
  )
[2020-12-01 8:33:12]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 750,
    'rotate' => '',
    'crop' => '',
    'scale' => 993,
    'sharpen' => '',
    'watermark' => '',
    'save' => 50,
    'send' => 0,
    'total' => 1795,
  )
[2020-12-01 8:33:14]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-xl.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1224 816 998784'
  mem_usage: 0.4
  timing: array(
    'load' => 699,
    'rotate' => '',
    'crop' => '',
    'scale' => 1010,
    'sharpen' => '',
    'watermark' => '',
    'save' => 77,
    'send' => 0,
    'total' => 1786,
  )
[2020-12-01 8:33:16]  [DEBUG]  [i.php]  
  src_path: '20201109232049-8392cf24.jpg'
  derivative_path: '20201109232049-8392cf24-xx.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1656 1104 1828224'
  mem_usage: 0.4
  timing: array(
    'load' => 766,
    'rotate' => '',
    'crop' => '',
    'scale' => 1054,
    'sharpen' => '',
    'watermark' => '',
    'save' => 127,
    'send' => 0,
    'total' => 1948,
  )

Offline

 

#8 2020-12-02 01:53:08

erAck
Only trying to help
2015-09-06
2023

Re: Thumbnail Error Image

With 3 images the 500s execution time should be more than sufficient (10s certainly is too little anyway).
Other than that I have no idea what is or is not happening for you.
But also try to clear your browser cache if you now regenerated all thumbnails.


Running Piwigo at https://erack.net/gallery/

Offline

 

#9 2020-12-09 23:54:04

jrow3
Member
2020-11-24
7

Re: Thumbnail Error Image

Digging through this still, it doesn't seem to be a cache issue.  Totally unsure what it could be causing this.

Offline

 

#10 2020-12-21 03:55:48

jrow3
Member
2020-11-24
7

Re: Thumbnail Error Image

It seems that all new images now are having this issue.   I went and tried deleting photo's from the site to see if it indeed was a issue with timing out, but after removing over 500 photo's I'm still seeing this issue on every new photo that's uploaded.

Here are the log files from the uploads:

Code:

[2020-12-20 11:22:01]  [INFO]  upload_file_pdf, $file_path = ././upload/2020/12/20/20201220112201-54cdccaa.jpg, $representative_ext = 
[2020-12-20 11:22:01]  [INFO]  upload_file_tiff, $file_path = ././upload/2020/12/20/20201220112201-54cdccaa.jpg, $representative_ext = 
[2020-12-20 11:22:01]  [INFO]  upload_file_video, $file_path = ././upload/2020/12/20/20201220112201-54cdccaa.jpg, $representative_ext = 
[2020-12-20 11:22:01]  [INFO]  Handling ././upload/2020/12/20/20201220112201-54cdccaa.jpg got 
[2020-12-20 11:22:01]  [INFO]  add_uploaded_file : force cache generation, derivative_url = https://djrow3.com/photos/i.php?/upload/2020/12/20/20201220112201-54cdccaa-me.jpg
[2020-12-20 11:22:04]  [DEBUG]  [i.php]  
  src_path: '20201220112201-54cdccaa.jpg'
  derivative_path: '20201220112201-54cdccaa-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.7
  timing: array(
    'load' => 684,
    'rotate' => '',
    'crop' => '',
    'scale' => 995,
    'sharpen' => '',
    'watermark' => '',
    'save' => 31,
    'send' => 0,
    'total' => 1712,
  )
[2020-12-20 11:22:04]  [DEBUG]  [i.php]  
  src_path: '20201220112201-54cdccaa-me.jpg'
  derivative_path: '20201220112201-54cdccaa-sq.jpg'
  o_size: '792 528 418176'
  d_size: '120 120 14400'
  mem_usage: 0.6
  timing: array(
    'load' => 23,
    'rotate' => '',
    'crop' => 3,
    'scale' => 11,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 40,
  )
[2020-12-20 11:22:45]  [DEBUG]  [i.php]  
  src_path: '20201220112201-54cdccaa.jpg'
  derivative_path: '20201220112201-54cdccaa-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 693,
    'rotate' => '',
    'crop' => '',
    'scale' => 941,
    'sharpen' => '',
    'watermark' => '',
    'save' => 47,
    'send' => 0,
    'total' => 1682,
  )
[2020-12-20 18:42:52]  [DEBUG]  extract_plugin_files, $main_filepath = ShareAlbum/main.inc.php
[2020-12-20 18:42:52]  [DEBUG]  extract_plugin_files, $extract_path = ./plugins/ShareAlbum
[2020-12-20 18:42:52]  [DEBUG]  extract_plugin_files, $old_files = {.buildpath},{.project},{.settings/.jsdtscope},{.settings/org.eclipse.php.core.prefs},{.settings/org.eclipse.wst.common.project.facet.core.xml},{.settings/org.eclipse.wst.jsdt.ui.superType.container},{.settings/org.eclipse.wst.jsdt.ui.superType.name},{template/.DS_Store},{obsolete.list}
[2020-12-20 18:42:52]  [DEBUG]  extract_plugin_files, to delete = ./plugins/ShareAlbum/obsolete.list
[2020-12-20 18:44:45]  [DEBUG]  [i.php]  
  src_path: '20201220112201-54cdccaa-la.jpg'
  derivative_path: '20201220112201-54cdccaa-th.jpg'
  o_size: '1008 672 677376'
  d_size: '144 96 13824'
  mem_usage: 0.4
  timing: array(
    'load' => 27,
    'rotate' => '',
    'crop' => '',
    'scale' => 24,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 55,
  )
[2020-12-20 18:52:54]  [INFO]  upload_file_pdf, $file_path = ././upload/2020/12/20/20201220185254-e1af806a.jpg, $representative_ext = 
[2020-12-20 18:52:54]  [INFO]  upload_file_tiff, $file_path = ././upload/2020/12/20/20201220185254-e1af806a.jpg, $representative_ext = 
[2020-12-20 18:52:54]  [INFO]  upload_file_video, $file_path = ././upload/2020/12/20/20201220185254-e1af806a.jpg, $representative_ext = 
[2020-12-20 18:52:54]  [INFO]  Handling ././upload/2020/12/20/20201220185254-e1af806a.jpg got 
[2020-12-20 18:52:54]  [INFO]  add_uploaded_file : force cache generation, derivative_url = https://djrow3.com/photos/i.php?/upload/2020/12/20/20201220185254-e1af806a-me.jpg
[2020-12-20 18:52:57]  [DEBUG]  [i.php]  
  src_path: '20201220185254-e1af806a.jpg'
  derivative_path: '20201220185254-e1af806a-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.7
  timing: array(
    'load' => 725,
    'rotate' => '',
    'crop' => '',
    'scale' => 946,
    'sharpen' => '',
    'watermark' => '',
    'save' => 35,
    'send' => 0,
    'total' => 1708,
  )
[2020-12-20 18:52:57]  [DEBUG]  [i.php]  
  src_path: '20201220185254-e1af806a-me.jpg'
  derivative_path: '20201220185254-e1af806a-sq.jpg'
  o_size: '792 528 418176'
  d_size: '120 120 14400'
  mem_usage: 0.4
  timing: array(
    'load' => 20,
    'rotate' => '',
    'crop' => 2,
    'scale' => 10,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 36,
  )
[2020-12-20 18:53:26]  [INFO]  upload_file_pdf, $file_path = ././upload/2020/12/20/20201220185326-689d0307.jpg, $representative_ext = 
[2020-12-20 18:53:26]  [INFO]  upload_file_tiff, $file_path = ././upload/2020/12/20/20201220185326-689d0307.jpg, $representative_ext = 
[2020-12-20 18:53:26]  [INFO]  upload_file_video, $file_path = ././upload/2020/12/20/20201220185326-689d0307.jpg, $representative_ext = 
[2020-12-20 18:53:26]  [INFO]  Handling ././upload/2020/12/20/20201220185326-689d0307.jpg got 
[2020-12-20 18:53:26]  [INFO]  add_uploaded_file : force cache generation, derivative_url = https://djrow3.com/photos/i.php?/upload/2020/12/20/20201220185326-689d0307-me.jpg
[2020-12-20 18:53:28]  [DEBUG]  [i.php]  
  src_path: '20201220185326-689d0307.jpg'
  derivative_path: '20201220185326-689d0307-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.4
  timing: array(
    'load' => 770,
    'rotate' => '',
    'crop' => '',
    'scale' => 1020,
    'sharpen' => '',
    'watermark' => '',
    'save' => 34,
    'send' => 0,
    'total' => 1825,
  )
[2020-12-20 18:53:28]  [DEBUG]  [i.php]  
  src_path: '20201220185326-689d0307-me.jpg'
  derivative_path: '20201220185326-689d0307-sq.jpg'
  o_size: '792 528 418176'
  d_size: '120 120 14400'
  mem_usage: 0.4
  timing: array(
    'load' => 19,
    'rotate' => '',
    'crop' => 1,
    'scale' => 10,
    'sharpen' => '',
    'watermark' => '',
    'save' => 3,
    'send' => 0,
    'total' => 34,
  )
[2020-12-20 18:54:16]  [INFO]  upload_file_pdf, $file_path = ././upload/2020/12/20/20201220185416-2e48587e.jpg, $representative_ext = 
[2020-12-20 18:54:16]  [INFO]  upload_file_tiff, $file_path = ././upload/2020/12/20/20201220185416-2e48587e.jpg, $representative_ext = 
[2020-12-20 18:54:16]  [INFO]  upload_file_video, $file_path = ././upload/2020/12/20/20201220185416-2e48587e.jpg, $representative_ext = 
[2020-12-20 18:54:16]  [INFO]  Handling ././upload/2020/12/20/20201220185416-2e48587e.jpg got 
[2020-12-20 18:54:16]  [INFO]  add_uploaded_file : force cache generation, derivative_url = https://djrow3.com/photos/i.php?/upload/2020/12/20/20201220185416-2e48587e-me.jpg
[2020-12-20 18:54:18]  [DEBUG]  [i.php]  
  src_path: '20201220185416-2e48587e.jpg'
  derivative_path: '20201220185416-2e48587e-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.4
  timing: array(
    'load' => 667,
    'rotate' => '',
    'crop' => '',
    'scale' => 882,
    'sharpen' => '',
    'watermark' => '',
    'save' => 35,
    'send' => 0,
    'total' => 1586,
  )
[2020-12-20 18:54:18]  [DEBUG]  [i.php]  
  src_path: '20201220185416-2e48587e-me.jpg'
  derivative_path: '20201220185416-2e48587e-sq.jpg'
  o_size: '792 528 418176'
  d_size: '120 120 14400'
  mem_usage: 0.4
  timing: array(
    'load' => 20,
    'rotate' => '',
    'crop' => 1,
    'scale' => 11,
    'sharpen' => '',
    'watermark' => '',
    'save' => 3,
    'send' => 0,
    'total' => 36,
  )
[2020-12-20 18:54:33]  [DEBUG]  [i.php]  
  src_path: '20201220185416-2e48587e.jpg'
  derivative_path: '20201220185416-2e48587e-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 697,
    'rotate' => '',
    'crop' => '',
    'scale' => 1001,
    'sharpen' => '',
    'watermark' => '',
    'save' => 55,
    'send' => 0,
    'total' => 1754,
  )
[2020-12-20 18:54:39]  [DEBUG]  [i.php]  
  src_path: '20201220185326-689d0307.jpg'
  derivative_path: '20201220185326-689d0307-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.7
  timing: array(
    'load' => 663,
    'rotate' => '',
    'crop' => '',
    'scale' => 971,
    'sharpen' => '',
    'watermark' => '',
    'save' => 54,
    'send' => 2,
    'total' => 1693,
  )
[2020-12-20 18:54:56]  [INFO]  upload_file_pdf, $file_path = ././upload/2020/12/20/20201220185456-7a09bb5d.jpg, $representative_ext = 
[2020-12-20 18:54:56]  [INFO]  upload_file_tiff, $file_path = ././upload/2020/12/20/20201220185456-7a09bb5d.jpg, $representative_ext = 
[2020-12-20 18:54:56]  [INFO]  upload_file_video, $file_path = ././upload/2020/12/20/20201220185456-7a09bb5d.jpg, $representative_ext = 
[2020-12-20 18:54:56]  [INFO]  Handling ././upload/2020/12/20/20201220185456-7a09bb5d.jpg got 
[2020-12-20 18:54:56]  [INFO]  add_uploaded_file : force cache generation, derivative_url = https://djrow3.com/photos/i.php?/upload/2020/12/20/20201220185456-7a09bb5d-me.jpg
[2020-12-20 18:54:58]  [DEBUG]  [i.php]  
  src_path: '20201220185456-7a09bb5d.jpg'
  derivative_path: '20201220185456-7a09bb5d-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.4
  timing: array(
    'load' => 658,
    'rotate' => '',
    'crop' => '',
    'scale' => 890,
    'sharpen' => '',
    'watermark' => '',
    'save' => 34,
    'send' => 0,
    'total' => 1584,
  )
[2020-12-20 18:54:58]  [DEBUG]  [i.php]  
  src_path: '20201220185456-7a09bb5d-me.jpg'
  derivative_path: '20201220185456-7a09bb5d-sq.jpg'
  o_size: '792 528 418176'
  d_size: '120 120 14400'
  mem_usage: 0.4
  timing: array(
    'load' => 18,
    'rotate' => '',
    'crop' => 2,
    'scale' => 10,
    'sharpen' => '',
    'watermark' => '',
    'save' => 2,
    'send' => 0,
    'total' => 34,
  )
[2020-12-20 18:55:05]  [DEBUG]  [i.php]  
  src_path: '20201220185254-e1af806a.jpg'
  derivative_path: '20201220185254-e1af806a-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 644,
    'rotate' => '',
    'crop' => '',
    'scale' => 1000,
    'sharpen' => '',
    'watermark' => '',
    'save' => 61,
    'send' => 0,
    'total' => 1706,
  )
[2020-12-20 18:55:49]  [INFO]  upload_file_pdf, $file_path = ././upload/2020/12/20/20201220185549-d00c43dc.jpg, $representative_ext = 
[2020-12-20 18:55:49]  [INFO]  upload_file_tiff, $file_path = ././upload/2020/12/20/20201220185549-d00c43dc.jpg, $representative_ext = 
[2020-12-20 18:55:49]  [INFO]  upload_file_video, $file_path = ././upload/2020/12/20/20201220185549-d00c43dc.jpg, $representative_ext = 
[2020-12-20 18:55:49]  [INFO]  Handling ././upload/2020/12/20/20201220185549-d00c43dc.jpg got 
[2020-12-20 18:55:49]  [INFO]  add_uploaded_file : force cache generation, derivative_url = https://djrow3.com/photos/i.php?/upload/2020/12/20/20201220185549-d00c43dc-me.jpg
[2020-12-20 18:55:50]  [DEBUG]  [i.php]  
  src_path: '20201220185549-d00c43dc.jpg'
  derivative_path: '20201220185549-d00c43dc-me.jpg'
  o_size: '6240 4160 25958400'
  d_size: '792 528 418176'
  mem_usage: 0.4
  timing: array(
    'load' => 663,
    'rotate' => '',
    'crop' => '',
    'scale' => 936,
    'sharpen' => '',
    'watermark' => '',
    'save' => 34,
    'send' => 0,
    'total' => 1634,
  )
[2020-12-20 18:55:51]  [DEBUG]  [i.php]  
  src_path: '20201220185549-d00c43dc-me.jpg'
  derivative_path: '20201220185549-d00c43dc-sq.jpg'
  o_size: '792 528 418176'
  d_size: '120 120 14400'
  mem_usage: 0.4
  timing: array(
    'load' => 21,
    'rotate' => '',
    'crop' => 1,
    'scale' => 12,
    'sharpen' => '',
    'watermark' => '',
    'save' => 3,
    'send' => 0,
    'total' => 38,
  )
[2020-12-20 18:58:50]  [DEBUG]  [i.php]  
  src_path: '20201220185549-d00c43dc.jpg'
  derivative_path: '20201220185549-d00c43dc-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 691,
    'rotate' => '',
    'crop' => '',
    'scale' => 925,
    'sharpen' => '',
    'watermark' => '',
    'save' => 53,
    'send' => 0,
    'total' => 1670,
  )
[2020-12-20 18:58:57]  [DEBUG]  [i.php]  
  src_path: '20201220185456-7a09bb5d.jpg'
  derivative_path: '20201220185456-7a09bb5d-la.jpg'
  o_size: '6240 4160 25958400'
  d_size: '1008 672 677376'
  mem_usage: 0.4
  timing: array(
    'load' => 745,
    'rotate' => '',
    'crop' => '',
    'scale' => 995,
    'sharpen' => '',
    'watermark' => '',
    'save' => 54,
    'send' => 0,
    'total' => 1794,
  )

Last edited by jrow3 (2020-12-21 04:00:55)

Offline

 

#11 2020-12-21 07:21:15

jrow3
Member
2020-11-24
7

Re: Thumbnail Error Image

Just made a fresh install (with new fresh database), and uploaded 5 images, and immediately had this problem again.  Wanted to make sure it wasn't something I had changed in a backend setting.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact