jpegtrans and exec()
-
won’t optimise most images as it is looking for this format. I have deleted the plugin and reinstalled to no avail.
this plugin used to work but now seems to get stuck.
EWWW Image Optimizer requires exec() to perform local compression. Your system administrator has disabled the exec() function, ask them to enable it.
An API key or ExactDN subscription will allow you to offload the compression to our dedicated servers instead.“Optimization stopped, reload page to resume.
00:00:25:01 remaining
Optimized 11/806
Click to toggle
Optimized /home/eurekafa/public_html/bloghh/wp-content/uploads/2014/02/IMG_20140131_195042.jpg
jpegtran is missingOptimized /home/eurekafa/public_html/bloghh/wp-content/uploads/2014/02/IMG_20140131_195042-768×1024.jpg
jpegtran is missing”
-
Hi scamdenis,
You have to have exec() enabled on your server or the plugin can’t work at all, unless you use our cloud plugin which is subscription based. Your webhost may have disabled it or something has, so if you can, enable exec() and it will work. Or, if you would like, we can look further into this with you if you send the debug information from the Support tab to our support: https://ewww.io/contact-us/ but really there isn’t much that can be done unless that is enabled.
Thanks,
see debug file :
EIO_Base::__construct()
ewww_image_optimizer_init()
Nextgen version: 3.2.18
loading nextgen 3 support for nextgen-gallery/nggallery.php
background mode enabled for nextgen
ewww_image_optimizer_admin_init()
ewww_image_optimizer_cloud_init()
ewww_image_optimizer_upgrade()
ewww_image_optimizer_exec_init()
ewww_image_optimizer_cron_setup()
EWWWIO_Tracking::schedule_send()
checkin already scheduled: 1572933123
EWWW_Nextgen::ewww_ngg_bulk_action_handler()
ewww_image_optimizer_tool_init()
ewww_image_optimizer_install_tools()
Checking/Installing tools in /home/eurekafa/public_html/bloghh/wp-content/ewww/
wp-content/ewww permissions: 0755
ewww_image_optimizer_install_paths()
CPU architecture: x86_64
generated paths:
/home/eurekafa/public_html/bloghh/wp-content/plugins/ewww-image-optimizer/binaries/jpegtran-linux
/home/eurekafa/public_html/bloghh/wp-content/plugins/ewww-image-optimizer/binaries/optipng-linux
/home/eurekafa/public_html/bloghh/wp-content/plugins/ewww-image-optimizer/binaries/gifsicle-linux
/home/eurekafa/public_html/bloghh/wp-content/plugins/ewww-image-optimizer/binaries/pngquant-linux
/home/eurekafa/public_html/bloghh/wp-content/plugins/ewww-image-optimizer/binaries/cwebp-linux
/home/eurekafa/public_html/bloghh/wp-content/ewww/jpegtran
/home/eurekafa/public_html/bloghh/wp-content/ewww/optipng
/home/eurekafa/public_html/bloghh/wp-content/ewww/gifsicle
/home/eurekafa/public_html/bloghh/wp-content/ewww/pngquant
/home/eurekafa/public_html/bloghh/wp-content/ewww/cwebp
ewww_image_optimizer_skip_tools()
enabled: jpegtran
enabled: optipng
enabled: gifsicle
enabled: pngquant
Linux/UNIX style OS, checking permissions
ewww_image_optimizer_check_permissions()
permissions for /home/eurekafa/public_html/bloghh/wp-content/ewww/jpegtran: 0755
permissions ok
ewww_image_optimizer_check_permissions()
permissions for /home/eurekafa/public_html/bloghh/wp-content/ewww/gifsicle: 0755
permissions ok
ewww_image_optimizer_check_permissions()
permissions for /home/eurekafa/public_html/bloghh/wp-content/ewww/optipng: 0755
permissions ok
ewww_image_optimizer_check_permissions()
permissions for /home/eurekafa/public_html/bloghh/wp-content/ewww/pngquant: 0755
permissions ok
ewww_image_optimizer_settings_script()
ewww_image_optimizer_bulk_script()
ewww_image_optimizer_tool_script()
ewww_image_optimizer_webp_script()
EWWW_Nextgen::ewww_ngg_bulk_script()
settings_page_ewww-image-optimizer/ewww-image-optimizer
ewww_image_optimizer_notice_utils()
ewww_image_optimizer_exec_check()
exec seems to be disabled
ewww_image_optimizer_disable_tools()
ewww_image_optimizer_options()
eurekafa
EWWW IO version: 511.0
WP version: 5.2.4
PHP version: 70311
libxml version: 20907
core plugin
ABSPATH: /home/eurekafa/public_html/bloghh/
WP_CONTENT_DIR: /home/eurekafa/public_html/bloghh/wp-content
home url: https://eurekafarm.com.au/bloghh
site url: https://eurekafarm.com.au/bloghh
content_url: https://eurekafarm.com.au/bloghh/wp-content
upload_dir: /home/eurekafa/public_html/bloghh/wp-content/uploads
content_width: 1770
registered stream wrappers: https,ftps,compress.zlib,php,file,glob,data,http,ftp,compress.bzip2,phar,zip
EIO_HS_Beacon::admin_notice()
ewww_image_optimizer_jpg_quality()
ewww_image_optimizer_skip_tools()
enabled: jpegtran
enabled: optipng
enabled: gifsicle
enabled: pngquant
ewww_image_optimizer_gd_support()
GD found, supports:
GD Version: bundled (2.1.0 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
GIF Read Support: 1
GIF Create Support: 1
JPEG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
WebP Support:
BMP Support: 1
JIS-mapped Japanese Font Support:
ewww_image_optimizer_gmagick_support()
ewww_image_optimizer_imagick_support()
ewww_image_optimizer_savings()
querying savings for single site
table name is wp_ewwwio_images
total original size: 364930427
total current(opt) size: 330156322
savings found: 34774105
4554 images have been optimized
automatic compression enabled
remove metadata: on
jpg level: 10
png level: 40
gif level: 10
pdf level: 0
bulk delay:
backup mode: off
ExactDN enabled: off
ExactDN all the things: on
ExactDN lossy: 1
ExactDN resize existing: off
ExactDN attachment queries: on
lazy load: off
optipng level: 2
pngout disabled: yes
pngout level: 2
ewww_image_optimizer_jpg_quality()
parallel optimization: off
background optimization: on
scheduled optimization: off
include media library: off
include originals: off
folders to optimize:folders to ignore:
skip images smaller than: bytes
skip PNG images larger than: bytes
exclude originals from lossy: off
exclude originals from metadata removal: off
use system binaries: no
resize detection: on
max media dimensions: 0 x 0
max other dimensions: x
resize existing images: on
resize existing (non-media) images: on
ewww_image_optimizer_get_image_sizes()
sizes: thumbnail
medium
medium_large
large
Array
(
[thumbnail] => Array
(
[width] => 400
[height] => 400
)
[medium] => Array
(
[width] => 600
[height] => 600
)
[medium_large] => Array
(
[width] => 768
[height] => 9999
)
[large] => Array
(
[width] => 1024
[height] => 1024
)
[pdf-full] => Array
(
[width] => 99999
[height] => 99999
)
)disabled resizes:
thumbnail: optimization=enabled creation=enabled
medium: optimization=enabled creation=enabled
medium_large: optimization=enabled creation=enabled
large: optimization=enabled creation=enabled
pdf-full: optimization=enabled creation=enabled
delete originals: off
jpg2png: off
ewww_image_optimizer_jpg_background()
ewww_image_optimizer_jpg_background()
png2jpg: off
gif2png: off
webp conversion: off
alt webp rewriting: off
webp paths:forced webp: off
enable help beacon: yes
max_execution_time: 300
ewww_image_optimizer_stl_check()
disable_functions: exec,passthru,shell_exec,system
detected memory limit is: 268435456See
exec seems to be disabledAs Gal pointed out, your exec is disabled. You can enable exec or you can use our cloud plugin. If you have further questions, please submit them via our contact page (see sticky on these forums): https://ewww.io/contact-us/
Thanks,
Adam
The topic ‘jpegtrans and exec()’ is closed to new replies.