Forum

Thread tagged as: Problem, Runway

Blocks - Missing Content in Admin

Here is a section of the code that I use;

    <perch:blocks>

        <perch:block type="HomePageSlider" label="Home Page Slider">
            <perch:template path="content/blocks/HomePageSliderImages.html" />
        </perch:block>


<!--
    Green Banner Start
-->             
        <perch:block type="BannerGreen5050" label="Green Banner 50/50">

            <section class="bg01">
                <div class="container">
                    <div class="line"></div>
                    <div class="row">
                        <div class="grid_7">
                            <h3><perch:content id="HeaderText" type="text" label="Header Text" /></h3>
                        </div>
                        <div class="preffix_1 grid_4">
                            <p class="mt2">
                                <perch:content id="ParagraphText" type="textarea" editor="ckeditor" html="true" markdown="false" label="Paragraph Text"/>
                            </p>
                        </div>
                    </div>
                </div>
            </section>

        </perch:block>

<!--
    Green Banner End
--> 
      </perch:blocks>

The problem that I have is that the blocks appear in the page editor page in the back office. When you click on one to add it to the page, there is nothing in the page;

example

Any ideas?

Perch Diag.

Hosting settings

    PHP: 5.4.42
    Zend: 2.4.0
    OS: Linux
    SAPI: cgi-fcgi
    Safe mode: not detected
    MySQL client: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
    MySQL server: 5.6.21
    Free disk space: 22.90 TB
    Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, intl, json, ldap, mbstring, mcrypt, mssql, standard, mysql, mysqlnd, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, imap, SimpleXML, soap, sockets, exif, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, memcache, geoip, mhash, ionCube Loader, Zend Guard Loader
    GD: Yes
    ImageMagick: No
    PHP max upload size: 100M
    PHP max form post size: 100M
    PHP memory limit: 128M
    Total max uploadable file size: 100M
    Resource folder writeable: Yes
    Session timeout: 240 minutes
    Native JSON: Yes
    Filter functions: Yes
    Transliteration functions: Yes
    DOCUMENT_ROOT: /var/sites/a/ashfieldmain.sitedevelopment.pro/public_html
    GATEWAY_INTERFACE: CGI/1.1
    HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_ENCODING: gzip, deflate
    HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.5
    HTTP_CONNECTION: close
    HTTP_COOKIE: cmsa=1; __utma=157594282.1177389943.1454618545.1456951103.1456953186.12; __utmz=157594282.1454618545.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); PHPSESSID=fa45b349e0b294abe041875a5bc2eaf2; __utmc=157594282; __utmb=157594282.0.10.1456953186
    HTTP_HOST: ashfieldmain.sitedevelopment.pro
    HTTP_REFERER: https://ashfieldmain.sitedevelopment.pro/perch/core/settings/diagnostics/
    HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:44.0) Gecko/20100101 Firefox/44.0
    HTTP_X_FORWARDED_FOR: 82.19.104.76
    PATH: /bin
    QUERY_STRING: extended
    REDIRECT_STATUS: 200
    REMOTE_ADDR: 82.19.104.76
    REMOTE_PORT: 34737
    REQUEST_METHOD: GET
    REQUEST_URI: /perch/core/settings/diagnostics/?extended
    SCRIPT_FILENAME: /var/sites/a/ashfieldmain.sitedevelopment.pro/public_html/perch/core/settings/diagnostics/index.php
    SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
    SERVER_ADDR: 10.168.1.224
    SERVER_ADMIN: you@example.com
    SERVER_NAME: ashfieldmain.sitedevelopment.pro
    SERVER_PORT: 80
    SERVER_PROTOCOL: HTTP/1.1
    SERVER_SOFTWARE: Apache
    PHP_SELF: /perch/core/settings/diagnostics/index.php
    REQUEST_TIME_FLOAT: 1456955459.98
    REQUEST_TIME: 1456955459
    argc: 1

This code is part of a larger section of blocks

Dennis Pickworth

Dennis Pickworth 0 points

  • 5 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Please post the entire Diagnostics report, we need to see things like the version of Perch you are running to help.

Sorry, Here is the missing part;

Perch information

    Perch Runway: 2.8.26
    Production mode: Production (100)
    Installed apps: content (2.8.26), assets (2.8.26), categories (2.8.26), perch_blog (5.0)
    DB driver: PDO
    DB tables: perch2_backup_plans (0), perch2_backup_resources (0), perch2_backup_runs (0), perch2_categories (0), perch2_category_counts (0), perch2_category_sets (0), perch2_collection_index (0), perch2_collection_items (0), perch2_collection_revisions (0), perch2_collections (0), perch2_content_index (10), perch2_content_items (8), perch2_content_regions (11), perch2_navigation (1), perch2_navigation_pages (0), perch2_page_routes (0), perch2_page_templates (7), perch2_pages (3), perch2_resource_log (3), perch2_resource_tags (0), perch2_resources (3), perch2_resources_to_tags (0), perch2_settings (13), perch2_user_passwords (0), perch2_user_privileges (28), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (2)
    Users: 2
    App runtimes:

    <?php
        $apps_list = array(
            'content', 
            'categories',
            'perch_blog',
        );

    Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
    Editor plug-ins: markitup, ckeditor
    H1: eee7cb04737af6a5400d0b69b9a32110
    L1: f8ebf7fd824cc01a59a323db22c7be5f
    F1: 2edba60ed1f613d6dd804feb202456a2
    headerColour: rgb(54,54,54)
    content_singlePageEdit: 1
    helpURL:
    siteURL: /
    hideBranding: 0
    content_collapseList: 1
    lang: en-gb
    update_2.8.24: done
    headerScheme: dark
    update_runway_2.8.24: done
    latest_version: 2.8.15
    on_sale_version: 2.8.26
    update_runway_2.8.26: done
    PERCH_DEVELOPMENT: 10
    PERCH_STAGING: 50
    PERCH_PRODUCTION: 100
    PERCH_SITEPATH: /var/sites/a/ashfieldmain.sitedevelopment.pro/public_html
    PERCH_SCHEDULE_SECRET: HmGHlUeviEDj2tm7
    PERCH_DB_USERNAME: sitedeve1_ashmai
    PERCH_DB_SERVER: 10.169.0.70
    PERCH_DB_DATABASE: sitedeve1_ashfieldmain
    PERCH_DB_PREFIX: perch2_
    PERCH_EMAIL_FROM: developer@develop101.co.uk
    PERCH_EMAIL_FROM_NAME: Dennis Pickworth
    PERCH_LOGINPATH: /perch
    PERCH_PATH: /var/sites/a/ashfieldmain.sitedevelopment.pro/public_html/perch
    PERCH_CORE: /var/sites/a/ashfieldmain.sitedevelopment.pro/public_html/perch/core
    PERCH_RESFILEPATH: /var/sites/a/ashfieldmain.sitedevelopment.pro/public_html/perch/resources
    PERCH_RESPATH: /perch/resources
    PERCH_HTML5: 1
    PERCH_TZ: Europe/London
    PERCH_DEBUG: 1
    PERCH_RUNWAY: 1
    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_PREVIEW_ARG: preview
    PERCH_TEMPLATE_PATH: /var/sites/a/ashfieldmain.sitedevelopment.pro/public_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
Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you tested that part in isolation?

Managed to correct the issue.

I added each block one by one and found a broken tag link.

Thanks for all the help.