Forum
Gallery - images uploading but aren't appearing in app
Hi there,
I've just updated Perch and the gallery app on a site I'm working on. Something hasn't survived the upgrade and the gallery app is broken.
The gallery appears normal and I can upload images (they are in the resources folder) but they aren't appearing in the app afterwards.
If I use the basic image uploader I get this message:
Fatal error: Class 'PerchAssetFile' not found in /homepages/9/d150611838/htdocs/clare-laughland-apr-2015/perch/core/lib/PerchImage.class.php on line 299
I've tried reinstalling fresh copies of Perch and the gallery app but the problem remains.
The initial version of Perch was relatively old, 2.4 possibly. Have I missed something obvious when I updated?
SUMMARY INFORMATION
Perch: 2.8.5, PHP: 5.5.23, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.5), assets (2.8.5), categories (2.8.5), perch_gallery (2.8.6), perch_kraken (1.0)
App runtimes: <?php //include(PERCH_PATH.'/core/apps/content/runtime.php'); //include(PERCH_PATH.'/addons/apps/perch_gallery/runtime.php'); ?> <?php $apps_list = array( 'content', 'categories', 'perch_gallery', ); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /homepages/9/d150611838/htdocs/clare-laughland-apr-2015/perch
PERCH_CORE: /homepages/9/d150611838/htdocs/clare-laughland-apr-2015/perch/core
PERCH_RESFILEPATH: /homepages/9/d150611838/htdocs/clare-laughland-apr-2015/perch/resources
Image manipulation: GD
PHP limits: Max upload 40M, Max POST 8M, Memory: 120M, Total max file upload: 8M
Resource folder writeable: Yes
HTTP_HOST: www.clarelaughland.co.uk
DOCUMENT_ROOT: /kunden/homepages/9/d150611838/htdocs/clare-laughland-apr-2015
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
No, I think that looks like a bug with yesterday's release. Do images upload elsewhere without issue?
Hi Drew, yes, images upload via Assets and publish correctly.
Thanks, I'm looking into this now.
I can't reproduce this error - I've got another that I can fix, but not this one.
Can you try redeploying the
perch/core
folder?Hi All
I started a new site today and have the same issue
The only difference is that i can use the basic uploader, the resource folder is created and the images are in it but do not appear in the gallery app.
Fresh install of all perch runway 2.8.5 and gallery 2.8.6
I rolled the site back to the previous 2.4.9 version and updated both Perch and the gallery app with new versions.
The basic image uploader now works but the standard uploader still doesn't. I've handed the site back to the client and they're happy to use this so I'm content to leave it here though I will keep checking it against updated versions of Perch.
Thanks Drew.
We have an update almost ready to go.