Forum

Thread tagged as: Question, Problem, Gallery

Perch Gallery App won't allow me to upload images or create a gallery.

I have followed the instructions in the docs to installing perch gallery. I updated the apps.php file withe perch_gallery and also added the perch_gallery to perch/addons/apps.

The gallery shows up in my panel but when I click on create album or add album link it takes me to a blank page with https://test.mywebsite.com/perch/addons/apps/perch_gallery/edit/

Any ideas as what went wrong?

Thanks

PERCH INFORMATION

Perch: 2.8.6
Production mode: Production (100)
Installed apps: content (2.8.6), assets (2.8.6), categories (2.8.6), perch_gallery (2.8.6)
DB driver: PDO
DB tables: perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_gallery_albums, perch2_gallery_image_versions, perch2_gallery_images, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 1
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'perch_gallery', 
        'categories',
    );
Editor plug-ins: markitup, ckeditor
H1: 36814574bfb66cab3e96ae027f8581b3
L1: f0bd24cc65694c27883f7d719aceaae0
headerColour: #000000
content_singlePageEdit: 1
helpURL:
perch_gallery_update: 2.8.5
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.8.6: done
latest_version: 2.8
on_sale_version: 2.8.6
headerScheme: dark
siteURL:
dashboard: 1
hide_pwd_reset: 1
content_hideNonEditableRegions: 0
content_frontend_edit: 0
logoPath: /perch/resources/madhava NYC - white stroke.jpg
perch_gallery_bucket_mode: dynamic
perch_gallery_bucket: default
perch_gallery_basicUpload: 0
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: C168080_madmax
PERCH_DB_SERVER: mysql411.ixwebhosting.com
PERCH_DB_DATABASE: C168080_madhavanyc
PERCH_DB_PREFIX: perch2_
PERCH_TZ: America/New_York
PERCH_EMAIL_FROM: markachen@gmail.com
PERCH_EMAIL_FROM_NAME: Mark Chen
PERCH_LOGINPATH: /perch
PERCH_PATH: /hsphere/local/home/c168080/test.madhavanyc.com/perch
PERCH_CORE: /hsphere/local/home/c168080/test.madhavanyc.com/perch/core
PERCH_RESFILEPATH: /hsphere/local/home/c168080/test.madhavanyc.com/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /hsphere/local/home/c168080/test.madhavanyc.com/perch/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
HOSTING SETTINGS

PHP: 5.3.29
Zend: 2.3.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: 5.1.73
MySQL server: 5.1.69-community-log
Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, bcmath, bz2, calendar, ctype, dba, dbase, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, json, ldap, mbstring, mcrypt, ncurses, OAuth, session, standard, posix, pspell, Reflection, Phar, SimpleXML, soap, sockets, exif, suhosin, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, curl, gmp, iconv, imap, mysqli, mysql, odbc, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, sqlite3, mongo, htscanner, PDFlib, trader, mhash, Zend Guard Loader
GD: Yes
ImageMagick: No
PHP max upload size: 30M
PHP max form post size: 30M
PHP memory limit: 64M
Total max uploadable file size: 30M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36
SERVER_PORT: 80
HTTP_HOST: test.madhavanyc.com
DOCUMENT_ROOT: /hsphere/local/home/c168080/test.madhavanyc.com
SCRIPT_FILENAME: /hsphere/local/home/c168080/test.madhavanyc.com/perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/?extended
HTTP_ALEXATOOLBAR_ALX_NS_PH: AlexaToolbar/alxg-3.3
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
HTTP_CONNECTION: keep-alive
PHP_FCGI_CHILDREN: 3
REMOTE_PORT: 56298
PATH: /usr/local/bin:/usr/bin:/bin
PWD: /hsphere/local/home/c168080/test.madhavanyc.com/cgi-bin
SERVER_ADMIN: webmaster@test.madhavanyc.com
REDIRECT_STATUS: 200
REDIRECT_QUERY_STRING: extended
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8,nb;q=0.6
HTTP_REFERER: https://test.madhavanyc.com/perch/core/settings/diagnostics/
HTTP_DNT: 1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
REMOTE_ADDR: 100.37.165.214
SERVER_NAME: test.madhavanyc.com
SERVER_SOFTWARE: Apache
QUERY_STRING: extended
SERVER_ADDR: 98.130.128.2
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
REDIRECT_URL: /perch/core/settings/diagnostics/index.php
REQUEST_METHOD: GET
HTTP_COOKIE: PHPSESSID=rgbucfoaab99ds929g7beanil3; cmsa=1
ORIG_SCRIPT_FILENAME: /hsphere/local/home/c168080/test.madhavanyc.com/cgi-bin/php53.cgi
ORIG_PATH_INFO: /perch/core/settings/diagnostics/index.php
ORIG_PATH_TRANSLATED: /hsphere/local/home/c168080/test.madhavanyc.com/perch/core/settings/diagnostics/index.php
ORIG_SCRIPT_NAME: /cgi-bin/php53.cgi
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME: 1431749699
argc: 1

Mark Chen

Mark Chen 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

If you are getting a "blank page" then you have a PHP error. See: https://solutions.grabaperch.com/development/why-am-i-getting-a-blank-page

Hello Rachel. I am not seeing any PHP errors in my error log.

This is also my runtime I added to apps.php

I also updated the folder "fieldtypes" with "albumlist"

NB. I have not created any pages in my site as yet that will call to the gallery app. (Not sure if this wold affect anything?)

<?php
    $apps_list = array(
        'content', 
        'perch_gallery', 
        'categories',
    );
Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you getting any errors in your log at all?

no php errors got some other errors though. Would probably be best to send you a screen capture.

Drew McLellan

Drew McLellan 2638 points
Perch Support

I'm only interested in PHP errors. If none are being logged, check your server configuration.

no php errors

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, so you need to make sure that PHP errors are being logged.

I have logs turned on. but no errors related to php

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Then you need to find out how to get them logged, if you are getting a white screen then you have PHP errors, if they aren't being output to a log that's the first issue you need to solve.