Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by markus_blue_tomato

  1. Haha great, and sorry - I completely forgot the issue due some spontaneous new ProcessWire side project for the guest registration in Vienna/Lower Austria: https://www.heute.at/s/cowirtat-hilft-bei-der-registrierung-im-gasthaus-100106087
  2. Hi @Wanze, I saw, that the SeoMaestro Fields have no fallback to default language, like other processwire fields, if the current language value is not set. Is this possible?
  3. ProcessWire: ProcessPageEdit: SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/MYATA0YA' (Errcode: 13 - Permission denied) ProcessWire: ProcessPageEdit: SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/MYJoge1O' (Errcode: 13 - Permission denied) Hello, does anybody know what this Error mean? I get this when I want to edit a page. Never had this since yet.
  4. Did anybody here developed a ProcessWire Site with Recurring Payments / Subscriptions? I have an idea for an B2B service where companies can register themselves and if they have an active subscription they can access some specific content. They can also cancel the subscription every month. I looked and SnipWire/FormBuilder but found nothing about Recurring Payments.
  5. I will take a look into it this week. In the meanwhile you try to create the blurhash based on a smaller size. I make this on also every blurhash pic on blue tomato E.g. // original pic size: 500/200 $hash = $page->pic()->getBlurhashDataUri(50, 20);
  6. Hmmm, can you send me some of your original uploaded images which makes this problem?
  7. Thx, I pushed a fix for this by rounding width and height directly in getBlurhashDataUri
  8. Yes it's possible. You can download it from the pw module directory but you also have to install https://github.com/kornrunner/php-blurhash manually and include it.
  9. Has anybody tried PHP Preloading in PHP 7.4 with Processwire yet? https://stitcher.io/blog/preloading-in-php-74 Sounds interessting... I would Preload all files in /vendor/ and /wire/. What do you think?
  10. I've created a PR for the documentation to prevent further confusions: https://github.com/processwire/processwire/pull/177 ?
  11. 1. Currently the data URIs are not cached or saved somewhere. They are generated on the fly - I did not see huge performance issues yet - we use ProCache for caching the whole HTML. 2. Yes we used "SVG Primitives". But the setup for this was too much work to maintain. Primitive itself was only written in Golang and the generation of the images took a huge amount of server resources.
  12. All tests done on my side - I pushed a new Release to Github. Thanks to @androbey for finding the fix
  13. There was one problem, that the Hook was sometimes executed before the entry was saved to the database. So the blurhash query did not found the entry. And the second problem was an encoding issue with some characters int he blurhash. Strange... this undefinded offset did never happen in my side. But I will check if $calcHeight and $calcWidth works on my side and will change this in the repo
  14. Hi @androbey, The whole SQL thing let me rethink how I store the blurhashs. I discovered the Pagefile->fildedata API and refactored the module to use this instead of the custom SQL column in the image field table. At the first try it looks that everything works well. Please test again ? https://github.com/blue-tomato/ImageBlurhash/releases/tag/2.0.0
  15. Hi @androbey, Now I can confirm the db issue, it appears also on my dev env. I will take a deeper look into it tomorrow.
  16. Hi @androbey, Hm, sounds strange. What does the createBlurhash return before insertBlurhash is executed? I think the second issue depends on the first issue. Something is wrong with the creation of the blurhash - I guess it makes an corrupt image. Do you have an example image for me? Maybe I could reproduce it on my system. FYI: currently in runs on our production server with php 7.4, mysql 5.7 and latest processwire dev version on an debian buster machine
  17. Hi, I am working on a module which uploads my images to Adobe Scene7 (some kind of image hosting service...). Is there some method to change the path from the filename via API? $file->rename("/my/path/to/file.jpg"); only changes the basename of the file and does not save the path in the database.
  18. We have created a module to create BlurHash strings for images while uploading in ProcessWire. This blurry images will be saved in the database because they are very small (20-30 characters) and can be used for Data-URL's as placeholders for image-lazy loading. https://github.com/blue-tomato/ImageBlurhash E.g. where we use this in production: https://www.blue-tomato.com/en-INT/blue-world/ https://www.blue-tomato.com/en-INT/blue-world/products/girls-are-awesome/ https://www.blue-tomato.com/en-INT/buyers-guides/skateboard/skateboard-decks/ https://www.blue-tomato.com/en-INT/team/anna-gasser/
  19. Hi, @mn-martin, @snobjorn, @zoeck we've build some kind of fork of this module: https://modules.processwire.com/modules/elasticsearch-feeder/
  20. TemplateEngineFactory with TemplateEngineSmarty SeoMaestro AdminOnSteroids FieldtypeSelectExtOption ProCache ListerPro
  21. Hi! Nice thank you. Currently I have the need for this but I got an error: UID: ATU73390813 Is UID wrong or is the API down?
  22. production is on the same as dev (newest dev branche) production connects via IP, dev via docker-hosts. so my host ist "db" because my mysql-container has this as name (https://docs.docker.com/network/network-tutorial-host/) No errors in the logs I found now the real issue. It's not the commit above - I don't know why it worked yesterday while testing all the commits. Yesterday I imported also a new db dump copy from the production server into dev. I make this sometimes. After importing an older dump into dev it worked again. Something in the new dump makes my dev system running into timeouts...
  23. Hi folks, I have a really strange problem and don't know how to solve it or how to find the exact problem. Since this commit: https://github.com/processwire/processwire/commit/ca8e779402c4911aac2a0ad884cb2ee23f30dd62 my local dev setup based on Docker with PHP 7.4.5 and MySQL 5.7.29 are really slow. It happens on nearly 99% of the request in the Frontend and also on the Admin Panel. The are so slow, that the page runs into timeout after 5 minutes (my local php timeouts are high ? ) But on my stage/production server which is nearly the same setup, database and code works fine. How can I find out what is happening?
  24. Maybe this can also help you. I wanted to make the Smarty Files translatable, but endend up into building an converter (build with node.js) which generates .php files which can be translated in the pw admin panel
  • Create New...