Forum

Thread tagged as: Question, Problem, Error

Assets not loading

When I choose and load an image it says that no image has been selected. When viewing the assets (Listing assets) I get a row of default red squares showing the images that I have tried to load. When you click on it for a detail view there is nothing there.

Perch Runway: 3.0.5, PHP: 7.1.5, MySQL: 10.0.30-MariaDB, with PDO
Server OS: Linux, litespeed
Installed apps: content (3.0.5), assets (3.0.5), categories (3.0.5), perch_blog (5.5.1), perch_forms (1.9), perch_gallery (2.8.9), perch_kraken (1.1), chirp_seo (1), perch_mailchimp (3.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms', 'perch_gallery', 'perch_mailchimp', 'chirp_seo', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/robertsd/public_html/perch
PERCH_CORE: /home/robertsd/public_html/perch/core
PERCH_RESFILEPATH: /home/robertsd/public_html/perch/resources
Image manipulation: Imagick
PHP limits: Max upload 256M, Max POST 32M, Memory: 128M, Total max file upload: 32M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
HTTP_HOST: robertsdesign.biz
DOCUMENT_ROOT: /home/robertsd/public_html
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
David Roberts

David Roberts 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

When you upload an image do you see a thumbnail for it?

No, just a red Square of where the image should be. !(https://www.evernote.com/l/AAUzpWEt4MtKeKblAcp4QVN_F2Xordek8nM)

Drew McLellan

Drew McLellan 2638 points
Perch Support

The red is your theme colour.

It looks like image resizing isn't working on your server - no thumbnail is being generated.

Ok, Thanks I will check with my server support but all the correct PHP extensions are in use for images, GD and ImageMagick.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Check your error log, too.

I get this error [30-May-2017 10:33:38 Europe/London] PHP Notice: Constant PERCH_SCHEDULE_SECRET already defined in /home/robertsd/public_html/perch/config/config.php on line 8 line 8 define('PERCH_SCHEDULE_SECRET', 'BURUNVSfa1fZrI1S');

Drew McLellan

Drew McLellan 2638 points
Perch Support

That's not related.

Ok, there is nothing else in the error log

Working now increased memory output.