Image Optimizer for XF 2.0

Image Optimizer for XF 2.0 [Paid] 2.2.1

PayPal: $29.00
Hi, i use now the image optimizer from ThemeHouse with Kraken. What is the different between these two? Which one seems to bee better?
 
Hi, i use now the image optimizer from ThemeHouse with Kraken. What is the different between these two? Which one seems to bee better?
McAtzeIt's run under your host rather than use third party service which could have monthly fee. This add-on does not work with shared hosting :D
 
After uploading images with media gallery i got this error..

Code:
Server error log
League\Flysystem\FileNotFoundException: Job Truonglv\ImageOptimizer\Job\Optimizer: File not found at path: attachments/0/565-d7278cff2667404c62b7bfdb76fd4cb3.jpg src/vendor/league/flysystem/src/Filesystem.php:385
Generated by: Unknown account Jun 24, 2018 at 11:21 AM

Stack trace
#0 src/vendor/league/flysystem/src/Filesystem.php(193): League\Flysystem\Filesystem->assertPresent('attachments/0/5...')
#1 [internal function]: League\Flysystem\Filesystem->readStream('attachments/0/5...', 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('attachments/0/5...')
#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/ContentData/AttachmentData.php(53): XF\Util\File::copyAbstractedPathToTempFile('data://attachme...')
#10 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(81): Truonglv\ImageOptimizer\ContentData\AttachmentData->onSuccess(Object(XF\Entity\AttachmentData), Array)
#11 src/XF/Job/Manager.php(241): Truonglv\ImageOptimizer\Job\Optimizer->run(7.9999990463257)
#12 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#13 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#14 job.php(15): XF\Job\Manager->runQueue(false, 8)
#15 {main}

Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(33) "https://www.it-maku.com/admin.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
After uploading images with media gallery i got this error..

Code:
Server error log
League\Flysystem\FileNotFoundException: Job Truonglv\ImageOptimizer\Job\Optimizer: File not found at path: attachments/0/565-d7278cff2667404c62b7bfdb76fd4cb3.jpg src/vendor/league/flysystem/src/Filesystem.php:385
Generated by: Unknown account Jun 24, 2018 at 11:21 AM

Stack trace
#0 src/vendor/league/flysystem/src/Filesystem.php(193): League\Flysystem\Filesystem->assertPresent('attachments/0/5...')
#1 [internal function]: League\Flysystem\Filesystem->readStream('attachments/0/5...', 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('attachments/0/5...')
#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/ContentData/AttachmentData.php(53): XF\Util\File::copyAbstractedPathToTempFile('data://attachme...')
#10 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(81): Truonglv\ImageOptimizer\ContentData\AttachmentData->onSuccess(Object(XF\Entity\AttachmentData), Array)
#11 src/XF/Job/Manager.php(241): Truonglv\ImageOptimizer\Job\Optimizer->run(7.9999990463257)
#12 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#13 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#14 job.php(15): XF\Job\Manager->runQueue(false, 8)
#15 {main}

Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(33) "https://www.it-maku.com/admin.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
McAtzeSame 385 error here... :(
Any idea @truonglv ?
 
Hey @truonglv i got another error with the 1.0.5 update..

Code:
Server error log
ErrorException: Job Truonglv\ImageOptimizer\Job\Optimizer: [E_WARNING] md5_file(xf5b30e87c653286.46530625): failed to open stream: No such file or directory src/addons/Truonglv/ImageOptimizer/ContentData/AttachmentData.php:42
Generated by: Unknown account Jun 25, 2018 at 2:05 PM

Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] md5...', '/var/www/vhosts...', 42, Array)
#1 src/addons/Truonglv/ImageOptimizer/ContentData/AttachmentData.php(42): md5_file('xf5b30e87c65328...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(81): Truonglv\ImageOptimizer\ContentData\AttachmentData->onSuccess(Object(XF\Entity\AttachmentData), Array)
#3 src/XF/Job/Manager.php(241): Truonglv\ImageOptimizer\Job\Optimizer->run(8)
#4 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#5 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 8)
#6 job.php(15): XF\Job\Manager->runQueue(false, 8)
#7 {main}

Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(42) "https://www.it-maku.com/admin.php?add-ons/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Hey @truonglv i got another error with the 1.0.5 update..

Code:
Server error log
ErrorException: Job Truonglv\ImageOptimizer\Job\Optimizer: [E_WARNING] md5_file(xf5b30e87c653286.46530625): failed to open stream: No such file or directory src/addons/Truonglv/ImageOptimizer/ContentData/AttachmentData.php:42
Generated by: Unknown account Jun 25, 2018 at 2:05 PM

Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] md5...', '/var/www/vhosts...', 42, Array)
#1 src/addons/Truonglv/ImageOptimizer/ContentData/AttachmentData.php(42): md5_file('xf5b30e87c65328...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(81): Truonglv\ImageOptimizer\ContentData\AttachmentData->onSuccess(Object(XF\Entity\AttachmentData), Array)
#3 src/XF/Job/Manager.php(241): Truonglv\ImageOptimizer\Job\Optimizer->run(8)
#4 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#5 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 8)
#6 job.php(15): XF\Job\Manager->runQueue(false, 8)
#7 {main}

Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(42) "https://www.it-maku.com/admin.php?add-ons/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
McAtzeOh yes. I found the issues. Will bring hotfix now.
 
Back
Top