GoodForNothing Image Optimizer [Paid] [Deleted]

On a side note: Is there anyone interested to test out the new add-on? Would be awesome if I could check the stability of the new code so I am looking for a fairly large forum with lots of images. A test board is recommended.
If you are interested, hit me up before the next release and I will give out free a license :)
 
Mr. Goodie2Shoes updated GoodForNothing Image Optimizer with a new update entry:

From GFNKraken to GFNImageOptimizer

Introducing GoodForNothing Image Optimizer!
This update includes a major overhaul to both the back-end and the front-end of the whole application.

Firstly, let's start with the change in the name (and also the id): GFNKraken was first names because the add-on used Kraken.IO to compress the images, later an on-site support for JPEG files was included. Now that other handlers/services has been included I do think the name needs to change. And thus the name is changed to...

Read the rest of this update entry...
 
Done doing rigorous tests on this add-on with 0 failures.
The mailer is currently dispatching e-mails containing the latest build to everyone with an active subscription.
And talking about active subscription, I have extended the subscription of everyone's a few more months that I've slacked off. I know this is nothing much but the least I can do at this moment.

Thanks! :)
 
Uninstalling old

Mysqli statement execute error : Data truncated for column 'content_type' at row 53387

  1. Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
  2. Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
  3. Zend_Db_Adapter_Abstract->query() in GFNCore/Db/Schema/Table/Abstract.php at line 216
  4. GFNCore_Db_Schema_Table_Abstract->execute() in GFNCore/Db/Schema/Table.php at line 27
  5. GFNCore_Db_Schema_Table->alter() in GFNKraken/Installer/Data/1000471.php at line 27
  6. GFNKraken_Installer_Data_1000471->uninstall() in GFNCore/Installer/Controller/Uninstall.php at line 30
  7. GFNCore_Installer_Controller_Uninstall->execute() in GFNCore/Installer/Abstract.php at line 63
  8. GFNCore_Installer_Abstract::initiate() in GFNCore/Installer/Abstract.php at line 21
  9. GFNCore_Installer_Abstract::uninstall()
  10. call_user_func() in XenForo/DataWriter/AddOn.php at line 214
  11. XenForo_DataWriter_AddOn->_postDelete() in XenForo/DataWriter.php at line 1793
  12. XenForo_DataWriter->delete() in XenForo/ControllerAdmin/AddOn.php at line 123
  13. XenForo_ControllerAdmin_AddOn->actionDelete() in XenForo/FrontController.php at line 351
  14. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  15. XenForo_FrontController->run() in /vvv/vvv/public_html/admin.php at line 13

Installed new and I don't see any options

Also just noticed i'm getting slammed with these errors

Error Info
XenForo_Exception: Invalid image path '/vvv/vvv/public_html/internal_data/image_cache/2888/2888225-a543b964691403315aa887adabfe90fb.data' specified. -library/GFNIo/Image.php:28
Generated By: Unknown Account, 1 minute ago
 
Error when trying to rebuild the gallery.

Code:
copy(/home/ptsdforu/public_html/c/data/attachments/35/35463-996643a1e56f14c04c6106710a2a631a.jpg): failed to open stream: No such file or directory

[LIST=1]
[*]XenForo_Application::handlePhpError()
[*]copy() in XenForo/Helper/File.php at line 253
[*]XenForo_Helper_File::safeRename() in GFNIo/StorageHandler/Attachment.php at line 38
[*]GFNIo_StorageHandler_Attachment->updateFileInformation() in GFNIo/Model/ImageOptimize.php at line 172
[*]GFNIo_Model_ImageOptimize->_optimize() in GFNIo/Model/ImageOptimize.php at line 83
[*]GFNIo_Model_ImageOptimize->optimize() in GFNIo/Deferred/ProcessQueue.php at line 38
[*]GFNIo_Deferred_ProcessQueue->execute() in XenForo/Model/Deferred.php at line 295
[*]XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 429
[*]XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 374
[*]XenForo_Model_Deferred->run() in XenForo/ControllerAdmin/Tools.php at line 159
[*]XenForo_ControllerAdmin_Tools->actionRunDeferred() in XenForo/FrontController.php at line 351
[*]XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
[*]XenForo_FrontController->run() in /home/ptsdforu/public_html/c/admin.php at line 13
[/LIST]
 
And it won't rebuild posts correctly, as it just gives this error when attempting...

Code:
Error Info
ErrorException: copy(/home/ptsdforu/public_html/c/data/attachments/35/35463-ccbe67824ce57ab6ab4697c81fbf8c5f.jpg): failed to open stream: No such file or directory - library/XenForo/Helper/File.php:253
Generated By: anthony, A moment ago
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'copy(/home/ptsd...', '/home/ptsdforu/...', 253, Array)
#1 /home/ptsdforu/public_html/c/library/XenForo/Helper/File.php(253): copy('/home/ptsdforu/...', '/home/ptsdforu/...')
#2 /home/ptsdforu/public_html/c/library/GFNIo/StorageHandler/Attachment.php(38): XenForo_Helper_File::safeRename('/home/ptsdforu/...', '/home/ptsdforu/...')
#3 /home/ptsdforu/public_html/c/library/GFNIo/Model/ImageOptimize.php(172): GFNIo_StorageHandler_Attachment->updateFileInformation(35463, Object(GFNIo_Image))
#4 /home/ptsdforu/public_html/c/library/GFNIo/Model/ImageOptimize.php(83): GFNIo_Model_ImageOptimize->_optimize('xengallery_medi...', 35463, true, '/home/ptsdforu/...')
#5 /home/ptsdforu/public_html/c/library/GFNIo/Deferred/ProcessQueue.php(38): GFNIo_Model_ImageOptimize->optimize('xengallery_medi...', 35463, NULL, true, true)
#6 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(295): GFNIo_Deferred_ProcessQueue->execute(Array, Array, 8, '')
#7 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 8, '', false)
#8 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#9 /home/ptsdforu/public_html/c/library/XenForo/ControllerAdmin/Tools.php(159): XenForo_Model_Deferred->run(true, NULL, '', false)
#10 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_Tools->actionRunDeferred()
#11 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#12 /home/ptsdforu/public_html/c/admin.php(13): XenForo_FrontController->run()
#13 {main}
Request State
array(3) {
  ["url"] => string(53) "https://www.myptsd.com/c/admin.php?tools/run-deferred"
  ["_GET"] => array(1) {
   ["tools/run-deferred"] => string(0) ""
  }
  ["_POST"] => array(3) {
   ["redirect"] => string(68) "https://www.myptsd.com/c/admin.php?image-optimizer/rebuild&success=1"
   ["execute"] => string(1) "1"
   ["_xfToken"] => string(8) "********"
  }
}
 
Ok... returning to the rebuild page, it is still continuing behind the scenes.
Yes, the manual rebuild process is being halted because of the PHP error.
Once the image is compressed, the system tries to rename the thumbnails to their new names. But for some reason attachment data no. 35463's thumbnail does not exist. And the error is being thrown.
 
Using Kraken.IO, went to rebuilt Avatars, get the following message:

Server Error Log
Error Info
ErrorException: Undefined property: stdClass::$lossy - library/GFNIo/ImageHandler/KrakenIO.php:97
Generated By: dvsDave, 29 minutes ago
Stack Trace
#0 /home/control/public_html/library/GFNIo/ImageHandler/KrakenIO.php(97): XenForo_Application::handlePhpError(8, 'Undefined prope...', '/home/control/p...', 97, Array)
#1 /home/control/public_html/library/GFNIo/ImageHandler/Abstract.php(56): GFNIo_ImageHandler_KrakenIO->_optimize(Object(GFNIo_Image))
#2 /home/control/public_html/library/GFNIo/Application.php(50): GFNIo_ImageHandler_Abstract->optimize(Object(GFNIo_Image))
#3 /home/control/public_html/library/GFNIo/Model/ImageOptimize.php(162): GFNIo_Application::optimize(Object(GFNIo_Image))
#4 /home/control/public_html/library/GFNIo/Model/ImageOptimize.php(83): GFNIo_Model_ImageOptimize->_optimize('user', 22076, true, NULL)
#5 /home/control/public_html/library/GFNIo/Deferred/ProcessQueue.php(38): GFNIo_Model_ImageOptimize->optimize('user', 22076, NULL, true, true)
#6 /home/control/public_html/library/XenForo/Model/Deferred.php(295): GFNIo_Deferred_ProcessQueue->execute(Array, Array, 7.99999904633, '')
#7 /home/control/public_html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.99999904633, '', false)
#8 /home/control/public_html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#9 /home/control/public_html/library/XenForo/ControllerAdmin/Tools.php(159): XenForo_Model_Deferred->run(true, NULL, '', false)
#10 /home/control/public_html/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_Tools->actionRunDeferred()
#11 /home/control/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#12 /home/control/public_html/admin.php(13): XenForo_FrontController->run()
#13 {main}
Request State
array(3) {
["url"] => string(57) "https://www.controlbooth.com/admin.php?tools/run-deferred"
["_GET"] => array(1) {
["tools/run-deferred"] => string(0) ""
}
["_POST"] => array(3) {
["redirect"] => string(72) "https://www.controlbooth.com/admin.php?image-optimizer/rebuild&success=1"
["execute"] => string(1) "1"
["_xfToken"] => string(8) "********"
}
}

Now, this could be an error, or it could be that a LOT of my avatars are built using this addon, which writes the images as a base64 image. https://xenforo.com/community/resources/avatar-maker-avatar-alive.4646/

Or not. But I'm not sure either way.
 
Hi, there are still errors when using Kraken.io, it no longer works with the latest v1.0.1

Also, I still use the [bd] Attachment Store add-on. Not sure if it's related to that or not, but it still must work with that add-on. I'm wondering about it because the error says "No such file or directory" like it might be looking for the xenforo default location.

Critical Error...
Code:
Error Info
copy(/home/me/public_html/data/attachments/4/4028-76997ee990d2c9b2f0451f9c0ff5ec72.jpg): failed to open stream: No such file or directory - library/XenForo/Helper/File.php:253

Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'copy(/home/mydo...', '/home/me/p...', 253, Array)
#1 /home/me/public_html/library/XenForo/Helper/File.php(253): copy('/home/me/p...', '/home/me/p...')
#2 /home/me/public_html/library/GFNIo/StorageHandler/Attachment.php(39): XenForo_Helper_File::safeRename('/home/me/p...', '/home/me/p...')
#3 /home/me/public_html/library/GFNIo/Model/ImageOptimize.php(172): GFNIo_StorageHandler_Attachment->updateFileInformation(4028, Object(GFNIo_Image))
#4 /home/me/public_html/library/GFNIo/Model/ImageOptimize.php(83): GFNIo_Model_ImageOptimize->_optimize('post', 4028, false, NULL)
#5 /home/me/public_html/library/GFNIo/Extend/XenForo/Model/Attachment.php(31): GFNIo_Model_ImageOptimize->optimize('post', 4028)
#6 /home/me/public_html/library/XenForo/ControllerPublic/Attachment.php(205): GFNIo_Extend_XenForo_Model_Attachment->insertUploadedAttachmentData(Object(XenForo_Upload), 1)
#7 /home/me/public_html/library/GFNIo/Extend/XenForo/ControllerPublic/Attachment.php(21): XenForo_ControllerPublic_Attachment->actionDoUpload()
#8 /home/me/public_html/library/XenForo/FrontController.php(351): GFNIo_Extend_XenForo_ControllerPublic_Attachment->actionDoUpload()
#9 /home/me/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /home/me/public_html/index.php(13): XenForo_FrontController->run()
#11 {main}

Request State
Array
(
    [url] => http://mydomain.com/attachments/do-upload.json?hash=b03707862909f267d769dfc1301a37f6&content_type=post
    [_GET] => Array
        (
            [hash] => b03707862909f267d769dfc1301a37f6
            [content_type] => post
        )

    [_POST] => Array
        (
            [Filename] => 009-1600x1200.jpg
            [_xfSessionId] => 8ebf8779e671606065811a4406a13685
            [_xfNoRedirect] => 1
            [_xfResponseType] => json
            [_xfToken] => ********
            [content_data] => Array
                (
                    [node_id] => 27
                )

            [Upload] => Submit Query
        )

)

Notices Error...
Code:
Error Info
Undefined property: stdClass::$lossy - library/GFNIo/ImageHandler/KrakenIO.php:97

Stack Trace
#0 /home/me/public_html/library/GFNIo/ImageHandler/KrakenIO.php(97): XenForo_Application::handlePhpError(8, 'Undefined prope...', '/home/me/p...', 97, Array)
#1 /home/me/public_html/library/GFNIo/ImageHandler/Abstract.php(56): GFNIo_ImageHandler_KrakenIO->_optimize(Object(GFNIo_Image))
#2 /home/me/public_html/library/GFNIo/Application.php(50): GFNIo_ImageHandler_Abstract->optimize(Object(GFNIo_Image))
#3 /home/me/public_html/library/GFNIo/Model/ImageOptimize.php(162): GFNIo_Application::optimize(Object(GFNIo_Image))
#4 /home/me/public_html/library/GFNIo/Model/ImageOptimize.php(83): GFNIo_Model_ImageOptimize->_optimize('post', 4028, false, NULL)
#5 /home/me/public_html/library/GFNIo/Extend/XenForo/Model/Attachment.php(31): GFNIo_Model_ImageOptimize->optimize('post', 4028)
#6 /home/me/public_html/library/XenForo/ControllerPublic/Attachment.php(205): GFNIo_Extend_XenForo_Model_Attachment->insertUploadedAttachmentData(Object(XenForo_Upload), 1)
#7 /home/me/public_html/library/GFNIo/Extend/XenForo/ControllerPublic/Attachment.php(21): XenForo_ControllerPublic_Attachment->actionDoUpload()
#8 /home/me/public_html/library/XenForo/FrontController.php(351): GFNIo_Extend_XenForo_ControllerPublic_Attachment->actionDoUpload()
#9 /home/me/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /home/me/public_html/index.php(13): XenForo_FrontController->run()
#11 {main}

Request State
Array
(
    [url] => http://mydomain.com/attachments/do-upload.json?hash=b03707862909f267d769dfc1301a37f6&content_type=post
    [_GET] => Array
        (
            [hash] => b03707862909f267d769dfc1301a37f6
            [content_type] => post
        )

    [_POST] => Array
        (
            [Filename] => 009-1600x1200.jpg
            [_xfSessionId] => 8ebf8779e671606065811a4406a13685
            [_xfNoRedirect] => 1
            [_xfResponseType] => json
            [_xfToken] => ********
            [content_data] => Array
                (
                    [node_id] => 27
                )

            [Upload] => Submit Query
        )

)
.
 
Last edited:
Back
Top Bottom