Forum
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;
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
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;
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.