Image Optimizer for XF 2.0

Image Optimizer for XF 2.0 [Paid] 2.2.1

PayPal: $29.00
getting this error every time i try to run tools > new [tl] Image Optimizer: Trigger Jobs custom

Server error log
  • League\Flysystem\FileNotFoundException: [tl] Image Optimizer: File not found at path: image_cache/0/176-a3d1617f0a185d36f6f12559d5a5ef19.data
  • src/vendor/league/flysystem/src/Filesystem.php:389
  • Generated by: Unknown account
  • Aug 31, 2022 at 7:58 PM


Stack trace​

#0 src/vendor/league/flysystem/src/Filesystem.php(194): League\Flysystem\Filesystem->assertPresent('image_cache/0/2...')
#1 [internal function]: League\Flysystem\Filesystem->readStream('image_cache/0/2...', 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 src/vendor/league/flysystem/src/MountManager.php(345): League\Flysystem\EventableFilesystem\EventableFilesystem->readStream('image_cache/0/2...')
#6 src/XF/Util/File.php(177): League\Flysystem\MountManager->readStream('image_cache/0/2...')
#7 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(184): XF\Util\File::copyAbstractedPathToTempFile('internal-data:/...')
#8 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(126): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('internal-data:/...', Object(Truonglv\ImageOptimizer\ContentData\ImageProxy))
#9 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(67): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'image_proxy', Object(XF\Timer), 272)
#10 src/XF/Job/Manager.php(260): Truonglv\ImageOptimizer\Job\Optimizer->run(8)
#11 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#12 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#13 job.php(43): XF\Job\Manager->runQueue(false, 8)
#14 {main}


Request state​

array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(67) "domain-name-redacted/admin.php?cron/tlImageOptimizer_trigger2/run"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
getting this error every time i try to run tools > new [tl] Image Optimizer: Trigger Jobs custom

Server error log
  • League\Flysystem\FileNotFoundException: [tl] Image Optimizer: File not found at path: image_cache/0/176-a3d1617f0a185d36f6f12559d5a5ef19.data
  • src/vendor/league/flysystem/src/Filesystem.php:389
  • Generated by: Unknown account
  • Aug 31, 2022 at 7:58 PM


Stack trace​

#0 src/vendor/league/flysystem/src/Filesystem.php(194): League\Flysystem\Filesystem->assertPresent('image_cache/0/2...')
#1 [internal function]: League\Flysystem\Filesystem->readStream('image_cache/0/2...', 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 src/vendor/league/flysystem/src/MountManager.php(345): League\Flysystem\EventableFilesystem\EventableFilesystem->readStream('image_cache/0/2...')
#6 src/XF/Util/File.php(177): League\Flysystem\MountManager->readStream('image_cache/0/2...')
#7 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(184): XF\Util\File::copyAbstractedPathToTempFile('internal-data:/...')
#8 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(126): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('internal-data:/...', Object(Truonglv\ImageOptimizer\ContentData\ImageProxy))
#9 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(67): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'image_proxy', Object(XF\Timer), 272)
#10 src/XF/Job/Manager.php(260): Truonglv\ImageOptimizer\Job\Optimizer->run(8)
#11 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#12 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#13 job.php(43): XF\Job\Manager->runQueue(false, 8)
#14 {main}


Request state​

array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(67) "domain-name-redacted/admin.php?cron/tlImageOptimizer_trigger2/run"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
MR XThis is warning when the add-on cannot find a file. You can ignore kind of this error.
 
View previous replies…
Admin > Tools > Logs > [tl] Image Optimizer: Logs
Truonglvjust goes on like this
zYlFKuc.png
 
After working flawlessly for years, I am now receiving these error messages:
  • RuntimeException: Job Truonglv\ImageOptimizer\Job\Optimizer: Server has been disabled exec command.
  • src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php:93


Code:
#0 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(51): Truonglv\ImageOptimizer\Images\AbstractImage->exec('/home/bonsainu/...', NULL)
#1 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(202): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/home/bonsainu/...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(126): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('internal-data:/...', Object(Truonglv\ImageOptimizer\ContentData\AttachmentData))
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(67): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'attachment_data', Object(XF\Timer), 446281)
#4 src/XF/Job/Manager.php(260): Truonglv\ImageOptimizer\Job\Optimizer->run(8)
#5 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#6 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#7 job.php(43): XF\Job\Manager->runQueue(false, 8)
#8 {main}

Code:
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(52) "https://www.bonsainut.com/threads/spring-2022.57505/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Delete


[EDIT] Nevermind... it appears that I had accidentally disabled "exec" functions in my system PHP settings [/EDIT]
 
Last edited:
After working flawlessly for years, I am now receiving these error messages:
  • RuntimeException: Job Truonglv\ImageOptimizer\Job\Optimizer: Server has been disabled exec command.
  • src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php:93


Code:
#0 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(51): Truonglv\ImageOptimizer\Images\AbstractImage->exec('/home/bonsainu/...', NULL)
#1 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(202): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/home/bonsainu/...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(126): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('internal-data:/...', Object(Truonglv\ImageOptimizer\ContentData\AttachmentData))
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(67): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'attachment_data', Object(XF\Timer), 446281)
#4 src/XF/Job/Manager.php(260): Truonglv\ImageOptimizer\Job\Optimizer->run(8)
#5 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#6 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#7 job.php(43): XF\Job\Manager->runQueue(false, 8)
#8 {main}

Code:
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(52) "https://www.bonsainut.com/threads/spring-2022.57505/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Delete
Bonsai CoderIt seems you have been disabled exec function in your PHP
 
Hello, I want to buy this plugin.
However, the PayPal payment method is no longer valid in Turkey. Is there a way I can purchase with a credit card?
I need your support. Thank you.

Note: My English is very bad. I use google translation. Excuse me :(
 
Hello, I want to buy this plugin.
However, the PayPal payment method is no longer valid in Turkey. Is there a way I can purchase with a credit card?
I need your support. Thank you.

Note: My English is very bad. I use google translation. Excuse me :(
ModArt Levoncan you use Payoneer instead?
 
Back
Top