Forum

Thread tagged as: Question, Problem, Field-Types

Region's not showing immediately or at all locally with MAMP

Loving Perch so far, it's by far easiest CMS I've developed with. But for some reason my regions are showing up immediately or some times at all. They will show up 15 mins later in admin view but sometimes never come up. I've restarted MAMP servers and few other things.

Just to clear things up.... Main page index.php Above doctype <?php include('perch/runtime.php'); ?> Typical region <?php perch_content('About Content'); ?>

I want to love perch.....

Report

Perch: 2.8.31
Production mode: Production (100)
Installed apps: content (2.8.31), assets (2.8.31), categories (2.8.31)
DB driver: PDO
DB tables: perch2_categories (0), perch2_category_counts (0), perch2_category_sets (0), perch2_content_index (94), perch2_content_items (22), perch2_content_regions (5), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (0), perch2_pages (1), perch2_resource_log (24), perch2_resource_tags (0), perch2_resources (3), 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 (1)
Users: 1
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
    );
Editor plug-ins: markitup
H1: 421aa90e079fa326b6494f812ad13e79
L1: 03215c8e5be0dc91c83f62bb63574331
F1: 2edba60ed1f613d6dd804feb202456a2
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.31: done
latest_version: 2.8.15
on_sale_version: 2.8.31
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: root
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: redcaliber
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: paytonburd@gmail.com
PERCH_EMAIL_FROM_NAME: Payton Burdette
PERCH_LOGINPATH: /perch
PERCH_PATH: /Users/paytonburdette/Desktop/Red Caliber Design/perch
PERCH_CORE: /Users/paytonburdette/Desktop/Red Caliber Design/perch/core
PERCH_RESFILEPATH: /Users/paytonburdette/Desktop/Red Caliber Design/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: /Users/paytonburdette/Desktop/Red Caliber Design/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.10
Zend: 2.6.0
OS: Darwin
SAPI: apache2handler
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $
MySQL server: 5.5.42
Free disk space: 180.63 GB
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, SPL, iconv, intl, json, ldap, mbstring, session, standard, mysqlnd, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, mysql, SimpleXML, soap, sockets, exif, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, apache2handler, imap, yaz, mcrypt, gettext, pgsql, pdo_pgsql
GD: Yes
ImageMagick: No
PHP max upload size: 32M
PHP max form post size: 32M
PHP memory limit: 128M
Total max uploadable file size: 32M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
HTTP_HOST: localhost:8888
HTTP_CONNECTION: keep-alive
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_REFERER: https://localhost:8888/perch/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_COOKIE: bolt_authtoken_4cc54362930cb26261be0e29e6ad4a77=bdf7679717d46969f2f929c10762f37c; bolt_session_4cc54362930cb26261be0e29e6ad4a77=KTbPoZ08j28BOU6pD7Cl22sBGhVqyLlB; wp-settings-1=libraryContent%3Dbrowse%26editor%3Dtinymce%26post_dfw%3Don; wp-settings-time-1=1468973445; refreshInterval=120; filterDeviceType=all; filterDeviceAp=overview; filterClientConn=conn-all; filterClientWireless=wireless-all; filterClientAccess=access-all; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_cd9b744c619529c4988e0e94344eaf12=payton%7C1469239917%7CiDGYzpuh3PmbEYaq4BsNHyEx7IVVzGTuJialVWk8Ohy%7C0133a59b8d8f4871597a8a3d609ba3710362465532aa20a61cfcc314a50051ee; cmsa=1; SQLiteManager_currentLangue=2; PHPSESSID=8951fc4210ccc6e4c272ca0c0406c245
PATH: /usr/bin:/bin:/usr/sbin:/sbin
SERVER_SOFTWARE: Apache/2.2.29 (Unix) mod_wsgi/3.5 Python/2.7.10 PHP/5.6.10 mod_ssl/2.2.29 OpenSSL/0.9.8zh DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.22.0
SERVER_NAME: localhost
SERVER_ADDR: ::1
SERVER_PORT: 8888
REMOTE_ADDR: ::1
DOCUMENT_ROOT: /Users/paytonburdette/Desktop/Red Caliber Design
SERVER_ADMIN: you@example.com
SCRIPT_FILENAME: /Users/paytonburdette/Desktop/Red Caliber Design/perch/core/settings/diagnostics/index.php
REMOTE_PORT: 59638
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: 1469325593.26
REQUEST_TIME: 1469325593
argc: 1
Payton Burdette

Payton Burdette 0 points

  • 5 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

There is nothing in Perch that can cause a delay so the issue is with your environment somewhere.

You could try setting (in your config file) PERCH_PRODUCTION_MODE to PERCH_DEVELOPMENT (https://docs.grabaperch.com/docs/installing-perch/configuration/perch/) as this would disable any caching PHP is doing. Otherwise you would need to have a look at MAMP docs/support to see what might be going on there.