We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Incorrect APP1 Exif Identifier Code
I have a blog post page, which includes a link to a template block to add additional images at the bottom of the post. If I upload a blog post image first, then add additional image function isn't available.
If I refresh the page without saving, the
add an item option becomes available within the template block.
I'm getting the following error within php:
Warning: exif_read_data(phpjDdCKU): Incorrect APP1 Exif Identifier Code in /Users/Grant/Dropbox/Sites/150-Dannenberg-Photography/public/perch/core/lib/PerchImage.class.php on line 536
Searching the forum resulted in this post. I followed Drew's advice regarding adding
define('PERCH_ENABLE_EXIF', false);, however the issue still occurs.
<perch:block type="additionalImages" label="Additional Images" icon="photos"> <perch:template path="content/blocks/additional_images.html" /> </perch:block>
<div class="columns additional-images"> <perch:repeater id="case_additional_images" label="Case Study Additional Images" max="3"> <div class="column is-4"> <a data-fancybox="gallery" href="<perch:blog id="additional_image" type="image" label="Additional images" filter="cloudinary" opts="w_2000,c_limit" />" data-fancybox="gallery"> <figure class="image is-5by4 has-overlay"> <div class="overlay is-flex-centered"> <span class="icon is-large"><i class="far fa-search-plus"></i></span> </div> <img class="obj_fit" src="<perch:blog id="additional_image" type="image" />" alt="<perch:blog id="additionalImageAlt" label="Image Alt Text"/>" /> </figure> </a> </div> </perch:repeater> </div>
Perch Runway: 3.1.3, PHP: 7.2.8, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $, with PDO Server OS: Darwin, apache2handler Installed apps: content (3.1.3), assets (3.1.3), categories (3.1.3), perch_blog (5.6.1), perch_forms (1.12), chirp_seo (1.4.1) App runtimes: <?php $apps_list = [ 'perch_blog', 'perch_forms', 'chirp_seo', ]; PERCH_LOGINPATH: /perch PERCH_PATH: /Users/Grant/Dropbox/Sites/150-Dannenberg-Photography/public/perch PERCH_CORE: /Users/Grant/Dropbox/Sites/150-Dannenberg-Photography/public/perch/core PERCH_RESFILEPATH: /Users/Grant/Dropbox/Sites/150-Dannenberg-Photography/public/perch/resources Image manipulation: GD PHP limits: Max upload 32M, Max POST 8M, Memory: 128M, Total max file upload: 8M F1: 3b606135b33e6a102526838f4152a807 Resource folder writeable: Yes HTTP_HOST: foodimaging.local DOCUMENT_ROOT: /Users/Grant/Dropbox/Sites/150-Dannenberg-Photography/public REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Now a little stuck on what to try, the error is present on both localhost and live server.
Want to reply to this thread?Login with Perch