CMSB v3.55 Released - November 10th, 2021

17 posts by 5 authors in: Forums > CMS Builder
Last Post: December 16, 2021   (RSS)

  • Archived  

By zaba - November 19, 2021

Is it possible to update all previously uploaded jpg files to webp in the cms automatically (if webp support is enabled in phpinfo)?

  • Archived  

By kitsguru - November 30, 2021

Is it possible to also have a media type file for PDF's. I have a use case where PDF files could be shared across tables and records for download.

For instance, a membership_application_form.pdf would be uploaded once and it is frequently updated. Ideally I would not want to update each location where the file is referenced as long as the name is the same. htaccess is set to prevent caching pdf's

<FilesMatch ".pdf$">
    FileETag None
    <IfModule mod_headers.c>
        Header unset ETag
        Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
        Header set Pragma "no-cache"
        Header set Expires "Thu, 1 Jan 1970 05:00:00 GMT"
    </IfModule>
</FilesMatch>
Jeff Shields
  • Archived  

By zaba - December 7, 2021

(completely fresh install) CMS Builder v3.55 (Build 2297)

Hi I can upload WEBP and PDF  but PNG or jpg jpeg format does not allow it.

 I can not upload JPG OR PNG format I get the permission error.

This is urgent as I can not finish a project

  • Archived  

By Michael - December 7, 2021

Can you post the error message you're receiving when trying to upload JPG/PNG files?

Michael Sams
Programmer
interactivetools.com
  • Archived  

By zaba - December 7, 2021

Forbidden

You don't have permission to access this resource.

( do not get this with Webp, it uploads as normal)

  • Archived  

By Michael - December 7, 2021

Does the error get logged in your CMSB Developer Log?  If so, can you post the "Error Details"?

Michael Sams
Programmer
interactivetools.com
  • Archived  

By zaba - December 7, 2021 - edited: December 7, 2021

#135 - UNCAUGHT_EXCEPTION: Unable to set image format
xxxxxxxxxxxxxxxxx/cmsb/lib/image_functions.php (line 401)

Backtrace:

ImagickException: Unable to set image format
at Imagick.setimageformat [image_functions.php:401]
... 7 more

  • Archived  

By Michael - December 7, 2021

My initial guess would be that your installation of ImageMagick doesn't have WebP support enabled.  This has come up a couple of times.  Here is a thread detailing a fix.  If those steps don't resolve the issue let me know.

https://www.interactivetools.com/forum/forum-posts.php?postNum=2245737#post2245737

Michael Sams
Programmer
interactivetools.com
  • Archived  

By zaba - December 7, 2021

But it uploads webp? but not other image formats