Forum

Thread tagged as: Problem, Error, Gallery

Gallery App error

Im working on a local machine. I had several albums created using the gallery app. I then deleted all of them. Now when I try to create a new album, I get a 'Server error 500'.

Diagnostics

Perch: 2.8.26, PHP: 5.6.2, MySQL: 5.5.38, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (2.8.26), assets (2.8.26), categories (2.8.26), perch_gallery (2.8.5), perch_backup (1.2)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_gallery' );
PERCH_LOGINPATH: /perch
PERCH_PATH: /Applications/MAMP/htdocs/pixies/perch
PERCH_CORE: /Applications/MAMP/htdocs/pixies/perch/core
PERCH_RESFILEPATH: /Applications/MAMP/htdocs/pixies/perch/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
HTTP_HOST: pixies
DOCUMENT_ROOT: /Applications/MAMP/htdocs/pixies
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

Here is album.html

<h2><perch:gallery id="albumTitle" type="text" label="Title" size="l" /></h2>
<perch:gallery id="description" type="textarea" label="Description" editor="markitup" textile="true" order="1" size="m" />
Chris James

Chris James 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What error do you get in your error log?

[22-Feb-2016 12:58:31 UTC] PHP Fatal error:  Call to a member function return_instance() on boolean in /Applications/MAMP/htdocs/pixies/perch/core/lib/api/PerchAPI_Form.class.php on line 425
[22-Feb-2016 13:00:01 UTC] PHP Fatal error:  Call to a member function return_instance() on boolean in /Applications/MAMP/htdocs/pixies/perch/core/lib/api/PerchAPI_Form.class.php on line 425
[22-Feb-2016 13:58:58 UTC] PHP Fatal error:  Call to a member function return_instance() on boolean in /Applications/MAMP/htdocs/pixies/perch/core/lib/api/PerchAPI_Form.class.php on line 425

Its ok now - I updated the gallery app to 2.8.6 and it's fine

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, great.