Thread tagged as: Error

settings upload logo error - bug?

When I upload a custom logo in settings I see an error along the top of the screen:

Warning: exif_read_data(phpBVr1vr): Incorrect APP1 Exif Identifier Code in /volume1/web/xxx/perch/core/lib/PerchImage.class.php on line 536

The logo does get uploaded and applied OK.

Diagnostic report

Perch: 3.1.2, PHP: 5.6.36, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO
Server OS: Linux, fpm-fcgi
Installed apps: content (3.1.2), assets (3.1.2), categories (3.1.2), perch_blog (5.6.1)
App runtimes: <?php $apps_list = [ 'perch_blog' ];
PERCH_PATH: /volume1/web/xxx/perch
PERCH_CORE: /volume1/web/xxx/perch/core
PERCH_RESFILEPATH: /volume1/web/xxx/perch/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
DOCUMENT_ROOT: /volume1/web/xxx
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Graham Shedden

Graham Shedden 0 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If your server has issues with its EXIF implementation you can disable it in your config file with:

define('PERCH_ENABLE_EXIF', false);