Forum

Thread tagged as: Question

Setting up Perch

I am a beginner and I need some assistance with getting my files to appear under add/edit. I have only been able to have them show up under Master pages. I am trying to follow along with this tutorial https://grabaperch.com/products/perch, but I can’t figure out where to put my php file within the perch folder on my server.

I would strongly appreciate some assistance.

Rose Sankar

Rose Sankar 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

That video is more of a demo than a complete tutorial, so it may be glossing over some steps.

The actual video tutorial might be of more help: https://docs.grabaperch.com/video/swift-migrations/

I followed the directions to this video but nothing ever showed up under the add/edit section. https://docs.grabaperch.com/video/v/creating-pages/

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Did your server pass the compatibility test?

If so please show us your Diagnostics Report, from under Settings in the Perch Control Panel.


PERCH INFORMATION Perch: 2.8.32 Production mode: Production (100) Installed apps: content (2.8.32), assets (2.8.32), categories (2.8.32) DB driver: PDO DB tables: perch2_categories (0), perch2_category_counts (0), perch2_category_sets (0), perch2_content_index (0), perch2_content_items (0), perch2_content_regions (0), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (2), perch2_pages (0), perch2_resource_log (0), perch2_resource_tags (0), perch2_resources (0), perch2_resources_to_tags (0), perch2_settings (10), perch2_user_passwords (0), perch2_user_privileges (26), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (4) Users: 4 App runtimes: <?php $apps_list = array( 'content', 'categories', ); Editor plug-ins: markitup H1: c83990eae777f9dea0cdaa60a4f466a4 L1: 401070145b0fea795aa9ba6af2f0c4b5 F1: 2edba60ed1f613d6dd804feb202456a2 headerColour: #ffffff content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 0 content_collapseList: 1 lang: en-gb update_2.8.32: done latest_version: 2.8.15 on_sale_version: 2.8.32 PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: root PERCH_DB_SERVER: localhost PERCH_DB_DATABASE: Default PERCH_DB_PREFIX: perch2_ PERCH_TZ: America/New_York PERCH_EMAIL_FROM: kevin_yang@comcast.com PERCH_EMAIL_FROM_NAME: Kevin Yang PERCH_LOGINPATH: /perch PERCH_PATH: /var/www/html/perch PERCH_CORE: /var/www/html/perch/core PERCH_RESFILEPATH: /var/www/html/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_RUNWAY_ROUTED: PERCH_STRONG_PASSWORDS: PERCH_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /var/www/html/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_PARANOID: PERCH_FORCE_SECURE_COOKIES: PERCH_PASSWORD_MIN_LENGTH: 6 PERCH_MAX_FAILED_LOGINS: 10 PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR PERCH_VERIFY_UPLOADS: PERCH_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: PERCH_SESSION_TIMEOUT_MINS: 20 HOSTING SETTINGS PHP: 5.6.28 Zend: 2.6.0 OS: Linux SAPI: apache2handler Safe mode: not detected MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $ MySQL server: 5.5.52 Free disk space: 6.38 GB Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, exif, mcrypt, mysqlnd, PDO, Phar, posix, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlwriter, xsl, zip, mysql, mysqli, pdo_mysql, pdo_sqlite, wddx, xmlreader, json, mhash GD: Yes ImageMagick: No PHP max upload size: 2M PHP max form post size: 8M PHP memory limit: 128M Total max uploadable file size: 2M Resource folder writeable: No Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: No HTTPS: on SSL_TLS_SNI: ec2-52-90-29-171.compute-1.amazonaws.com SSL_SERVER_S_DN_C: -- SSL_SERVER_S_DN_ST: SomeState SSL_SERVER_S_DN_L: SomeCity SSL_SERVER_S_DN_O: SomeOrganization SSL_SERVER_S_DN_OU: SomeOrganizationalUnit SSL_SERVER_S_DN_CN: ip-172-31-53-182 SSL_SERVER_S_DN_Email: root@ip-172-31-53-182 SSL_SERVER_I_DN_C: -- SSL_SERVER_I_DN_ST: SomeState SSL_SERVER_I_DN_L: SomeCity SSL_SERVER_I_DN_O: SomeOrganization SSL_SERVER_I_DN_OU: SomeOrganizationalUnit SSL_SERVER_I_DN_CN: ip-172-31-53-182 SSL_SERVER_I_DN_Email: root@ip-172-31-53-182 SSL_SERVER_SAN_DNS_0: localhost SSL_SERVER_SAN_DNS_1: localhost.localdomain SSL_SERVER_SAN_DNS_2: ip-172-31-53-182 SSL_SERVER_SAN_DNS_3: ip-172-31-53-182.ec2.internal SSL_VERSION_INTERFACE: mod_ssl/2.4.23 SSL_VERSION_LIBRARY: OpenSSL/1.0.1k-fips SSL_PROTOCOL: TLSv1.2 SSL_SECURE_RENEG: true SSL_COMPRESS_METHOD: NULL SSL_CIPHER: ECDHE-RSA-AES256-GCM-SHA384 SSL_CIPHER_EXPORT: false SSL_CIPHER_USEKEYSIZE: 256 SSL_CIPHER_ALGKEYSIZE: 256 SSL_CLIENT_VERIFY: NONE SSL_SERVER_M_VERSION: 3 SSL_SERVER_M_SERIAL: 6F03 SSL_SERVER_V_START: Nov 22 15:26:29 2016 GMT SSL_SERVER_V_END: Nov 22 15:26:29 2017 GMT SSL_SERVER_S_DN: emailAddress=root@ip-172-31-53-182,CN=ip-172-31-53-182,OU=SomeOrganizationalUnit,O=SomeOrganization,L=SomeCity,ST=SomeState,C=-- SSL_SERVER_I_DN: emailAddress=root@ip-172-31-53-182,CN=ip-172-31-53-182,OU=SomeOrganizationalUnit,O=SomeOrganization,L=SomeCity,ST=SomeState,C=-- SSL_SERVER_A_KEY: rsaEncryption SSL_SERVER_A_SIG: sha256WithRSAEncryption SSL_SESSION_ID: cb1a89c4501cbb20105aab78750bf6779c0d30a7c81cb9102e6b0d00b185414a SSL_SESSION_RESUMED: Resumed HTTP_HOST: ec2-52-90-29-171.compute-1.amazonaws.com HTTP_CONNECTION: keep-alive HTTP_UPGRADE_INSECURE_REQUESTS: 1 HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36 HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 HTTP_REFERER: https://ec2-52-90-29-171.compute-1.amazonaws.com/perch/core/settings/diagnostics/ HTTP_ACCEPT_ENCODING: gzip, deflate, sdch, br HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8 HTTP_COOKIE: cmsa=1; PHPSESSID=rfk80pkmi14gmdi6ov6jvob1n3 PATH: /sbin:/usr/sbin:/bin:/usr/bin SERVER_SOFTWARE: Apache/2.4.23 (Amazon) OpenSSL/1.0.1k-fips PHP/5.6.28 SERVER_NAME: ec2-52-90-29-171.compute-1.amazonaws.com SERVER_ADDR: 172.31.53.182 SERVER_PORT: 443 REMOTE_ADDR: 68.87.100.242 DOCUMENT_ROOT: /var/www/html REQUEST_SCHEME: https CONTEXT_DOCUMENT_ROOT: /var/www/html SERVER_ADMIN: root@localhost SCRIPT_FILENAME: /var/www/html/perch/core/settings/diagnostics/index.php REMOTE_PORT: 35644 GATEWAY_INTERFACE: CGI/1.1 SERVER_PROTOCOL: HTTP/1.1 REQUEST_METHOD: GET QUERY_STRING: extended REQUEST_URI: /perch/core/settings/diagnostics/?extended SCRIPT_NAME: /perch/core/settings/diagnostics/index.php PHP_SELF: /perch/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1480707184.063 REQUEST_TIME: 1480707184
Drew McLellan

Drew McLellan 2638 points
Perch Support

What output do you get when you load one of your new pages in your browser?

I have manually added the pages through perch, but now I cant get regions to appear.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, but what output do you get when you load one of your new pages in your browser?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, great. Do the regions now appear in the control panel?