Image Optimizer for XF 2.0

Image Optimizer for XF 2.0 [Paid] 1.1.5

No permission to buy ($29.00)

zTurko

New Member
I have these errors:


Code:
ErrorException: Mismatched result files. $expectedFiles=1 $actualFiles=0 src/XF/Error.php:75
Generated by: Unknown account 9 Dec 2018 at 00:10
Stack trace
#0 src/XF.php(189): XF\Error->logError('Mismatched resu...', false)
#1 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(95): XF::logError('Mismatched resu...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(51): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'image_proxy', Object(XF\Timer), 5468)
#3 src/XF/Job/Manager.php(253): Truonglv\ImageOptimizer\Job\Optimizer->run(G)
#4 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#5 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#6 job.php(42): XF\Job\Manager->runQueue(false, 8)
#7 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(21) "https://xxxxxx.fr/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
and this:

Code:
ErrorException: [tl] Image Optimizer: Seem failed to execute command. $command=/usr/bin/gifsicle --colors='256' --lossy='50' --no-names --output '/home/xxxxxx/public_html/internal_data/temp/xfPMVs6G' '/home/xxxxx/public_html/internal_data/temp/xfW30czL' $output=array ( ) src/XF/Error.php:75
Generated by: Unknown account 9 Dec 2018 at 00:10
Stack trace
#0 src/XF.php(189): XF\Error->logError('[tl] Image Opti...', false)
#1 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(53): XF::logError('[tl] Image Opti...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(142): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/home/streamwe6...')
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(83): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('internal-data:/...')
#4 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(51): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'image_proxy', Object(XF\Timer), 5468)
#5 src/XF/Job/Manager.php(253): Truonglv\ImageOptimizer\Job\Optimizer->run(G)
#6 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#7 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#8 job.php(42): XF\Job\Manager->runQueue(false, 8)
#9 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(21) "https://xxxxxxx.fr/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Truonglv

Staff member
Tech Support
I have these errors:


Code:
ErrorException: Mismatched result files. $expectedFiles=1 $actualFiles=0 src/XF/Error.php:75
Generated by: Unknown account 9 Dec 2018 at 00:10
Stack trace
#0 src/XF.php(189): XF\Error->logError('Mismatched resu...', false)
#1 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(95): XF::logError('Mismatched resu...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(51): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'image_proxy', Object(XF\Timer), 5468)
#3 src/XF/Job/Manager.php(253): Truonglv\ImageOptimizer\Job\Optimizer->run(G)
#4 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#5 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#6 job.php(42): XF\Job\Manager->runQueue(false, 8)
#7 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(21) "https://xxxxxx.fr/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
and this:

Code:
ErrorException: [tl] Image Optimizer: Seem failed to execute command. $command=/usr/bin/gifsicle --colors='256' --lossy='50' --no-names --output '/home/xxxxxx/public_html/internal_data/temp/xfPMVs6G' '/home/xxxxx/public_html/internal_data/temp/xfW30czL' $output=array ( ) src/XF/Error.php:75
Generated by: Unknown account 9 Dec 2018 at 00:10
Stack trace
#0 src/XF.php(189): XF\Error->logError('[tl] Image Opti...', false)
#1 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(53): XF::logError('[tl] Image Opti...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(142): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/home/streamwe6...')
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(83): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('internal-data:/...')
#4 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(51): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'image_proxy', Object(XF\Timer), 5468)
#5 src/XF/Job/Manager.php(253): Truonglv\ImageOptimizer\Job\Optimizer->run(G)
#6 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#7 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#8 job.php(42): XF\Job\Manager->runQueue(false, 8)
#9 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(21) "https://xxxxxxx.fr/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
That mean cannot optimize that image.
 

nrep

New Member
I've got a suggestion that would really help me. I'm happy to optimise images uploaded to the forums, but I don't want to optimise images added to the resource manager. Is it possible to add an option to exclude attachments that meet "content_type" matches? For example, a textbox where I could exclude "resource_update", "resource_version" etc...
 
Top