Image Optimizer for XF 2.0

Image Optimizer for XF 2.0 [Paid] 1.1.0

No permission to buy ($29.00)
#88
Hello- what goes in these missing fields "path"? I'm guessing that's why it hasn't worked yet? Also, the other options (strip) not check marked, should I check those off and if so will the image quality suffer?

Screen Shot 2018-11-17 at 6.28.11 AM.png
 
#89
Also have this server error.

  • League\Flysystem\FileNotFoundException: Job Truonglv\ImageOptimizer\Job\Optimizer: File not found at path: avatars/h/0/17.jpg
  • src/vendor/league/flysystem/src/Filesystem.php:385
  • Generated by: Unknown account
  • Nov 17, 2018 at 6:26 AM
Code:
Stack trace
#0 src/vendor/league/flysystem/src/Filesystem.php(193): League\Flysystem\Filesystem->assertPresent('avatars/h/0/17....')
#1 [internal function]: League\Flysystem\Filesystem->readStream('avatars/h/0/17....', Array)
#2 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('parent::readStr...', Array)
#3 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('readStream', Array)
#4 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(154): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('readStream', Array)
#5 [internal function]: League\Flysystem\EventableFilesystem\EventableFilesystem->readStream('avatars/h/0/17....')
#6 src/vendor/league/flysystem/src/MountManager.php(269): call_user_func_array(Array, Array)
#7 src/vendor/league/flysystem/src/MountManager.php(179): League\Flysystem\MountManager->invokePluginOnFilesystem('readStream', Array, 'data')
#8 src/XF/Util/File.php(91): League\Flysystem\MountManager->__call('readStream', Array)
#9 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(106): XF\Util\File::copyAbstractedPathToTempFile('data://avatars/...')
#10 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(69): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('data://avatars/...')
#11 src/XF/Job/Manager.php(241): Truonglv\ImageOptimizer\Job\Optimizer->run(7.9819498062134)
#12 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9819498062134)
#13 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9819498062134)
#14 job.php(14): XF\Job\Manager->runQueue(false, 8)
#15 {main}
Request state
array(4) {
  ["url"] => string(18) "/community/job.php"
  ["referrer"] => string(56) "https://sphynxlair.com/community/admin.php?tools/io-logs"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

truonglv

Staff member
Tech Support
#90
Also have this server error.

  • League\Flysystem\FileNotFoundException: Job Truonglv\ImageOptimizer\Job\Optimizer: File not found at path: avatars/h/0/17.jpg

  • src/vendor/league/flysystem/src/Filesystem.php:385
  • Generated by: Unknown account

  • Nov 17, 2018 at 6:26 AM
Code:
Stack trace
#0 src/vendor/league/flysystem/src/Filesystem.php(193): League\Flysystem\Filesystem->assertPresent('avatars/h/0/17....')
#1 [internal function]: League\Flysystem\Filesystem->readStream('avatars/h/0/17....', Array)
#2 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('parent::readStr...', Array)
#3 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('readStream', Array)
#4 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(154): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('readStream', Array)
#5 [internal function]: League\Flysystem\EventableFilesystem\EventableFilesystem->readStream('avatars/h/0/17....')
#6 src/vendor/league/flysystem/src/MountManager.php(269): call_user_func_array(Array, Array)
#7 src/vendor/league/flysystem/src/MountManager.php(179): League\Flysystem\MountManager->invokePluginOnFilesystem('readStream', Array, 'data')
#8 src/XF/Util/File.php(91): League\Flysystem\MountManager->__call('readStream', Array)
#9 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(106): XF\Util\File::copyAbstractedPathToTempFile('data://avatars/...')
#10 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(69): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('data://avatars/...')
#11 src/XF/Job/Manager.php(241): Truonglv\ImageOptimizer\Job\Optimizer->run(7.9819498062134)
#12 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9819498062134)
#13 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9819498062134)
#14 job.php(14): XF\Job\Manager->runQueue(false, 8)
#15 {main}
Request state
array(4) {
  ["url"] => string(18) "/community/job.php"
  ["referrer"] => string(56) "https://sphynxlair.com/community/admin.php?tools/io-logs"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Avatar size "h" does not exists when upgrade from XF1 to XF2. Hmm. Anyway I will catch this error out.
 
Top