Forum Replies Created

Viewing 14 replies - 16 through 29 (of 29 total)
  • Thread Starter LukeSeven

    (@lukeseven)

    Hi and sorry for that wrong debug info,

    I have uploaded 3 txt files to the same folder I am sharing with you, so you should be able to see themthere. One of the debug trace info is of an un-optimised image, the other one is of an optimised image already and the other is when new image is uploaded.

    Here is the link with those txt files.

    I didn’t get what you meant by “sorted by worst offenders at the top”. I don’t see any option like that.

    I hope that’s the info you need

    Thank you

    Thread Starter LukeSeven

    (@lukeseven)

    Hello and thanks for getting back to me that quick,

    I actually did and wanted to include that trace result into the OneDrive folder I shared with you but I accidentally hit enter while including the OneDrive link and I could’t edit either replay to this post until now. So… here is the debug trace info.

    By the way, you right… as soon as I enable EWWW it starts firing admin-ajax.php so I had to disable it for now because it blocks my RSS Autopilot plugin from importing posts. I really like EWWW cause it does good job and I definitely use your plugin along with all my plugins.

    I would appreciate a lot, if you at least find a time to go through the debug log and help me to find a solution.

    Thank you in advance

    Thread Starter LukeSeven

    (@lukeseven)

    Hi,

    I know it’s been a while. I finally got time look into this deeper. I have read and tried all the suggested things from those articles and even read and used the code from GitHub but after making the last and the most important step regarding “try_files” I must do it wrong because I am unable to restart and then start up nginx at all.

    I found this great article here as I am going to try to deliver JXR images for edge browser too.

    This is what I have inserted at the end of my nginx.conf file and of course I have included jxr and webp inside Nginx’s mime.types

    image/vnd.ms-photo jxr wdp hdp;
    # image/jxr jxr wdp hdp; will break the negotiation in Edge 20.10240.16384.0

    here is what I have at the end of my nginx.conf file

    map $http_cookie $no_cache {
    default 0;
    ~SESS 1;
    ~wordpress_logged_in 1;
    }

    map $http_accept $img_suffix {
    “~*webp” “.webp”;
    “~*jxr” “.jxr”;
    }

    # Wildcard include
    include /etc/nginx/conf.d/*.conf;
    }

    However, as soon as I insert any piece of code like this behind it I am unable to restart/start my nginx server.

    # example location block only dealing with images with these extensions
    location ~* \.(?:png|jpe?g|gif|webp|jxr)$ {
    expires 1y;
    add_header Vary $vary_header;
    add_header Cache-Control $cache_control;
    # now serve our images
    try_files $uri$img_suffix $uri =404;
    }

    Would you be that kind and help me to figure this out, please ?

    It will be much appreciated.

    Thank you in advance

    Check if you have “Rewrite URL structure” box ticked in minify settings. “Rewrite URL structure” needs to be selected (ticked) in order to be able upload it to CloudFront.

    I am up for Jpeg-xr support too. I believe every vote like mine counts.

    Thanks

    Hi guys,

    @philip… thanks for sharing your code modifications as I was looking for some way to display/modify notes between 2 admins or admin and editor. I’ll give it a try.

    @jeroen I like your dashboard notes plugin and I am looking forward to an update that will bring us more user capabilities. DO you plan to add this kind of options to your plugin? For example: share notes with different roles like I mentioned above. I am an admin but I have an editor to share notes with but I don’t want any other roles to see that except, Admins and Editors in this scenario. Well, the best would be to be able to pick a specific user or role to share your notes with ( See only / Can edit ) like we can do in OneNotes or Google Notes… which by the way, your plugin reminds me a bit. Hope my ideas help a little. Thanks

    Thread Starter LukeSeven

    (@lukeseven)

    You are right about the nginx and thank you for those threads you mentioned. I went through them quickly but I didn’t have much time to read it properly so I really didn’t get what I need to do in order to serve webP to supported browser while running nginx on my VPS.

    I’ve been very busy till today so I just at least found some time to replay to your latest message and I just wanted to thank you for those links.

    Cheers

    Thread Starter LukeSeven

    (@lukeseven)

    Well, yeah it’s still right above the WP rule now. However, I have put it to the top of the .htaccess file yesterday but it gets automatically overwritten by iThemes Security plugin. So it’s not in the top anymore but the EWWW rewrite rule is still above the WP one.

    I think you can pick any of my pages where you can find an image as all my images should be optimized already. So I guess you can try my home page https://marketonchart.com

    Thread Starter LukeSeven

    (@lukeseven)

    Hi, I am sorry I must have overlooked the email notification and I was wondering why you were not responding to my last message. Well, my bad. I am sorry I didn’t respond earlier. However, yes I have tried that too. I added the rules above the standard WP rules and also to the top but that makes no difference.

    Example :

    # BEGIN EWWWIO
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_ACCEPT} image/webp
    RewriteCond %{REQUEST_FILENAME} (.*)\.(jpe?g|png)$
    RewriteCond %{REQUEST_FILENAME}.webp -f
    RewriteRule (.+)\.(jpe?g|png)$ %{REQUEST_FILENAME}.webp [T=image/webp,E=accept:1]
    </IfModule>
    <IfModule mod_headers.c>
    Header append Vary Accept env=REDIRECT_accept
    </IfModule>
    AddType image/webp .webp
    # END EWWWIO

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    I still need your help

    Thread Starter LukeSeven

    (@lukeseven)

    Hi and thanks for real quick response. I have watched your EWWW IO – WebP video for the second time and I must say that I am not sure if I am doing anything wrong but still cannot get it working on my WP multisite which is installed directly in the web root folder like /public_html/all wp files included .htaccess.

    If I use the button for inserting rewrite rules I get actually positive message like that:

    ” Rules verified successfully ”

    However, I cannot see the rewrite rule code in anywhere in the .htaccess file neither the webP image format when I inspect elements in Chrome Browser. Also the red Png image stays red.

    When I actually put the rewrite rule manually to my .htaccess file right above the # Begin WordPress thingy as you show in the video…
    I end up with the same results as above and the option for inserting rewrite rules reappears in the conversion settings again.

    Would you be that kind and have a look at it for me, please ? I am lost.

    this is the site marketonchart.com

    You might end up on my “maintenance” or “coming soon page” where I suppose… I should be getting webP images format in supported browsers too.

    By the way. I think your plugin rocks even if webP images are not being served but I know they are almost half of their size when they are served in webP format. This is absolutely “must have” thingy, you know.

    I will definitely appreciate your help.

    Let me know if you need to access my site as a Super Admin or even if you’ll need FTP access, and where you want me to send you the login credentials.

    Thank you in advance

    Thread Starter LukeSeven

    (@lukeseven)

    I am sorry to replay this message so late. I have figured it out by reinstalling WP and uploading wp-content folder + backed up database to the place where it suppose to be. It’s working fine now. You can close this topic as resolved now. Cheers

    Thread Starter LukeSeven

    (@lukeseven)

    Anyway… here it is and when you copy it I will edit it. Just let me know when done.

    Debug Log

    marketon
    EWWW IO version: 222
    WP version: 4.2-beta2-31867
    ewww_image_optimizer_admin_init()
    ewww_image_optimizer_init()
    ewww_image_optimizer_cloud_init()
    ewww_image_optimizer_jpg_background()
    background: ffffff
    ewww_image_optimizer_jpg_quality()
    ewww_image_optimizer_cloud_key_sanitize()
    ewww_image_optimizer_cloud_verify()
    sanitize (verification) failed
    ewww_image_optimizer_aux_paths_santitize()
    ewww_image_optimizer_exec_init()
    ewww_image_optimizer_install_tools()
    Checking/Installing tools in /home/marketon/public_html/wp-content/ewww/
    wp-content/ewww permissions: 0777
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /home/marketon/public_html/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /home/marketon/public_html/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /home/marketon/public_html/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /home/marketon/public_html/wp-content/plugins/ewww-image-optimizer/pngquant-linux
    /home/marketon/public_html/wp-content/plugins/ewww-image-optimizer/cwebp-linux864
    /home/marketon/public_html/wp-content/ewww/jpegtran
    /home/marketon/public_html/wp-content/ewww/optipng
    /home/marketon/public_html/wp-content/ewww/gifsicle
    /home/marketon/public_html/wp-content/ewww/pngquant
    /home/marketon/public_html/wp-content/ewww/cwebp
    64-bit linux detected while installing tools
    ewww_image_optimizer_md5check()
    /home/marketon/public_html/wp-content/ewww/jpegtran-alt: 8e4a09bb04ba001f5f16651ae8594f7f
    ewww_image_optimizer_md5check()
    /home/marketon/public_html/wp-content/ewww/cwebp-alt: eb3a5b6eae54140269ed6dcf6f792d37
    Linux/UNIX style OS, checking permissions
    jpegtran permissions: 0755
    gifsicle permissions: 0755
    optipng permissions: 0755
    pngquant permissions: 0755
    webp permissions: 0755
    ewww_image_optimizer_notice_utils()
    ewww_image_optimizer_exec_check()
    disable_functions =
    suhosin_blacklist =
    ewww_image_optimizer_safemode_check()
    safe_mode =
    ewww_image_optimizer_path_check()
    found /home/marketon/public_html/wp-content/ewww/jpegtran, testing…
    ewww_image_optimizer_md5check()
    /home/marketon/public_html/wp-content/ewww/jpegtran: 47c39feae0712f2996c61e5ae639b706
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/marketon/public_html/wp-content/ewww/jpegtran
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: j at /home/marketon/public_html/wp-content/ewww/jpegtran
    /home/marketon/public_html/wp-content/ewww/jpegtran: Independent JPEG Group’s JPEGTRAN, version 9a 19-Jan-2014
    optimizer found
    found /home/marketon/public_html/wp-content/ewww/optipng, testing…
    ewww_image_optimizer_md5check()
    /home/marketon/public_html/wp-content/ewww/optipng: 31698da4f5ca00b35e910c77acae65bb
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/marketon/public_html/wp-content/ewww/optipng
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: o at /home/marketon/public_html/wp-content/ewww/optipng
    /home/marketon/public_html/wp-content/ewww/optipng: OptiPNG version 0.7.5
    optimizer found
    found /home/marketon/public_html/wp-content/ewww/gifsicle, testing…
    ewww_image_optimizer_md5check()
    /home/marketon/public_html/wp-content/ewww/gifsicle: 58f42368e86a4910d101d37fee748409
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/marketon/public_html/wp-content/ewww/gifsicle
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: g at /home/marketon/public_html/wp-content/ewww/gifsicle
    /home/marketon/public_html/wp-content/ewww/gifsicle: LCDF Gifsicle 1.84
    optimizer found
    found /home/marketon/public_html/wp-content/ewww/pngout-static, testing…
    ewww_image_optimizer_md5check()
    /home/marketon/public_html/wp-content/ewww/pngout-static: 670a0924e9d042be2c60cd4f3ce1d975
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/marketon/public_html/wp-content/ewww/pngout-static
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: p at /home/marketon/public_html/wp-content/ewww/pngout-static
    /home/marketon/public_html/wp-content/ewww/pngout-static: PNGOUT [In:{PNG,JPG,GIF,TGA,PCX,BMP}] (Out:PNG) (options…) Feb 21 2013
    optimizer found
    found /home/marketon/public_html/wp-content/ewww/pngquant, testing…
    ewww_image_optimizer_md5check()
    /home/marketon/public_html/wp-content/ewww/pngquant: 46bb066d676bf94cbfd78bdc0227e74e
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/marketon/public_html/wp-content/ewww/pngquant
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: q at /home/marketon/public_html/wp-content/ewww/pngquant
    /home/marketon/public_html/wp-content/ewww/pngquant: 2.3.0 (July 2014)
    optimizer found
    found /home/marketon/public_html/wp-content/ewww/cwebp, testing…
    ewww_image_optimizer_md5check()
    /home/marketon/public_html/wp-content/ewww/cwebp: 9b6f13ce6ee5a028cbd2765e2d53a1d7
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/marketon/public_html/wp-content/ewww/cwebp
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: w at /home/marketon/public_html/wp-content/ewww/cwebp
    /home/marketon/public_html/wp-content/ewww/cwebp: /home/marketon/public_html/wp-content/ewww/cwebp: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
    tool not found
    found /home/marketon/public_html/wp-content/ewww/cwebp-alt, testing…
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/marketon/public_html/wp-content/ewww/cwebp-alt
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: w at /home/marketon/public_html/wp-content/ewww/cwebp-alt
    /home/marketon/public_html/wp-content/ewww/cwebp-alt: sh: /home/marketon/public_html/wp-content/ewww/cwebp-alt: Permission denied
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: w at cwebp
    cwebp: sh: cwebp: command not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: w at /usr/bin/cwebp
    /usr/bin/cwebp: sh: /usr/bin/cwebp: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: w at /usr/local/bin/cwebp
    /usr/local/bin/cwebp: sh: /usr/local/bin/cwebp: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: w at /usr/gnu/bin/cwebp
    /usr/gnu/bin/cwebp: sh: /usr/gnu/bin/cwebp: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: w at /usr/syno/bin/cwebp
    /usr/syno/bin/cwebp: sh: /usr/syno/bin/cwebp: No such file or directory
    tool not found
    using: /home/marketon/public_html/wp-content/ewww/jpegtran
    using: /home/marketon/public_html/wp-content/ewww/optipng
    using: /home/marketon/public_html/wp-content/ewww/gifsicle
    using: /home/marketon/public_html/wp-content/ewww/pngout-static
    using: /home/marketon/public_html/wp-content/ewww/pngquant
    ewww_image_optimizer_settings_script()
    images to check for savings: 8696
    ewww_image_optimizer_network_settings_saved()
    ewww_image_optimizer_options()
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /home/marketon/public_html/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /home/marketon/public_html/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /home/marketon/public_html/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /home/marketon/public_html/wp-content/plugins/ewww-image-optimizer/pngquant-linux
    /home/marketon/public_html/wp-content/plugins/ewww-image-optimizer/cwebp-linux864
    /home/marketon/public_html/wp-content/ewww/jpegtran
    /home/marketon/public_html/wp-content/ewww/optipng
    /home/marketon/public_html/wp-content/ewww/gifsicle
    /home/marketon/public_html/wp-content/ewww/pngquant
    /home/marketon/public_html/wp-content/ewww/cwebp
    ewww_image_optimizer_tool_found()
    testing case: j at /home/marketon/public_html/wp-content/ewww/jpegtran
    /home/marketon/public_html/wp-content/ewww/jpegtran: Independent JPEG Group’s JPEGTRAN, version 9a 19-Jan-2014
    optimizer found
    ewww_image_optimizer_tool_found()
    testing case: o at /home/marketon/public_html/wp-content/ewww/optipng
    /home/marketon/public_html/wp-content/ewww/optipng: OptiPNG version 0.7.5
    optimizer found
    ewww_image_optimizer_tool_found()
    testing case: g at /home/marketon/public_html/wp-content/ewww/gifsicle
    /home/marketon/public_html/wp-content/ewww/gifsicle: LCDF Gifsicle 1.84
    optimizer found
    ewww_image_optimizer_tool_found()
    testing case: p at /home/marketon/public_html/wp-content/ewww/pngout-static
    /home/marketon/public_html/wp-content/ewww/pngout-static: PNGOUT [In:{PNG,JPG,GIF,TGA,PCX,BMP}] (Out:PNG) (options…) Feb 21 2013
    optimizer found
    ewww_image_optimizer_tool_found()
    testing case: q at /home/marketon/public_html/wp-content/ewww/pngquant
    /home/marketon/public_html/wp-content/ewww/pngquant: 2.3.0 (July 2014)
    optimizer found
    ewww_image_optimizer_tool_found()
    testing case: w at
    : sh: -version: command not found
    tool not found
    ewww_image_optimizer_safemode_check()
    safe_mode =
    ewww_image_optimizer_exec_check()
    disable_functions =
    suhosin_blacklist =
    ewww_image_optimizer_gd_support()
    GD found, supports:
    GD Version: bundled (2.1.0 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support: 1
    GIF Read Support: 1
    GIF Create Support: 1
    JPEG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:
    ewww_image_optimizer_tool_found()
    testing case: i at convert
    convert: Version: ImageMagick 6.7.1-7 2012-03-28 Q16 https://www.imagemagick.org
    imagemagick found
    ewww_image_optimizer_tool_found()
    testing case: n at nice
    nice: 0
    nice found
    ewww_image_optimizer_tool_found()
    testing case: t at tar
    tar: tar (GNU tar) 1.23
    tar found
    ewww_image_optimizer_jpg_background()
    background: ffffff
    ewww_image_optimizer_jpg_background()
    background: ffffff
    ewww_image_optimizer_jpg_quality()
    –360–

    Thread Starter LukeSeven

    (@lukeseven)

    Hi,

    well, is it safe to post it here ? If not, how can I PM privately ?

    Thanks

    Thread Starter LukeSeven

    (@lukeseven)

Viewing 14 replies - 16 through 29 (of 29 total)