Error with Last Update
-
I can’t upload images to mine website!
https://cheatersoul.com/wp-content/uploads/2021/11/Pet-Simulator-X-Hack-Script.png
“Error occured while calculating WebP Express content dir: Dir not found”The page I need help with: [log in to see the link]
-
I tried reverting to the old version but it didn’t work.
got same problem….
just go to the plugin setting page and click “Save settings and force new .htaccess rules”
but would be smart to have a 0.22.1 that did it automatically… got over 100 sites using this plugin, would be a pain to have to do them one by one ó
- This reply was modified 3 years ago by cantoute.
I did it already, not working.
Can you send me the code that starts with “<IfModule mod_headers.c>”? (in .htaccess file)
The reason behind this is that I needed to change the .htaccess rules a bit in order allow symlinking the webp-express plugin folder itself. The change is that the relative path in the .htaccess that is passed to the converter is now to the webp-express plugin rather than the plugin folder. 0.22.0 was supposed to still work with the old path (the new path is passed with a different name, so the receiving script can diffentiate). However, there was a bug in the code that was supposed to make it still work with old .htaccess files. The bug is fixed and 0.22.1 works with both the old and new .htaccess files.
0.22.0 by the way schedules .htaccess rules regeneration 10 seconds after upgrade. So the problem in 0.22.0 should only appear briefly on systems that reads the .htaccess files. However, some systems caches the .htaccess files for a while.
- This reply was modified 3 years ago by rosell.dk.
I’m aiming for pre-releasing fridays. I’m announcing preleases on [my ko-fi page](https://ko-fi.com/rosell). You can follow me to get the announcements (you don’t need to buy coffee in order to follow me)
Hi
Thanks for your reactivity.
A trick I thought to share here is using plugin companion auto update it’s possible to delay by a few days plugin’s update giving time to fix things before they go live.
I see a new release 23…
I’ll try to test releases as they come along and try to spot bugs … no guarantees that I’ll test all cases.What is the aim of this development?
All the best
@cantoute:
The aim is to finish what I set up to do.1. Make it easy to experiment with conversion settings in the file manager – and comparing converters
2. Make my own cloud converter. Two reasons: a) To support the fine-tuned conversion settings (ewww doesn’t do that), b) To hopefully generate some income
3. With those in place, I can alert those that only have gd working, that they should consider using my cloud converter. gd makes poor conversions. The difference in size and quality will be easy to check in the file manager.
4. With that in place, I I will turn to avif. PHP support for converting to avif is slowly coming. Some will have it, some will need a cloud converter. Perhaps I will release as a parallel “Avif Express” plugin or perhaps I will integrate avif support in WebP Express (but oh, that name… – so perhaps I will feel I need a new name and thus a new plugin, “NextGen Images” or something).
5. I have also long been wanting to support the “Save-Data” header. The mission that has driven this project is to cut down on internet traffic (for the purpose of cutting down on co2 emissions). Clients that issue “Save-Data” indicate that saving bandwidth matters to them. I’d like WebP Express to support delivering harder compressed images to these clients.
6. There are long standing wishes which I haven’t had time to implement (a series of unforeseeable events has unfortunately impeded the project). For example converting in the background.I’m not sure that I’m going to get there. These are visions. There is also reality, which might force me to seek a regular job and cut down ambitions of this plugin to simple maintenance.
@cantoute:
Thanks, btw, for offering some beta testing. I appreciate it.
I planned to go live with 0.23.0 today. So I’m probably marking it as stable in about 3 hours from now@cantoute: Time flew. I’ll wait for the release till tomorrow
For your cloud converter, have you come across sharp?
https://sharp.pixelplumbing.com/
Performance are astonishing and it’s really simple to manage. I find it in many ways more powerful than imagick or gm… I’m switching to it ??
Example for image crop:
– entropy: focus on the region with the highest Shannon entropy .
– attention: focus on the region with the highest luminance frequency, color saturation and presence of skin tones.Formats: jpeg png webp gif jp2 tiff avif heif
Juste tested v23
– php8.0
– converter cwebp
– behind varnish (hosted on apache, varnish cache and proxied with nginx)What php version would you prefer I run test? If you develop using 8.0, perhaps I better test using php7.4?
Tested upload, convert on the fly and manual convert and seems to go fine.
Nice job.
Btw, I noted something else that could be improved. There is a log folder that keeps a log of all converions, on some sites with lots of small images, that folder ends up bigger than the image folder. Perhaps having an option to disable logging or to only keep last 100 files?
0.23.0 is marked as stable
- The topic ‘Error with Last Update’ is closed to new replies.