Text Editor is showing Content Regions as blank in the Admin, but they are showi...
Hi - I'm having a rather odd issue happening where my content for Text Blocks in the Perch editor is showing up as blank, but the content that was put in there is still showing up on the site.
I'm running MAMP on both my localdev and my sandbox server, and other sites running Perch in the same localdev / sandbox setup are not having this issue - it's only happening on this one site. This is also happening on the LIVE version of the site, so I don't think the issue is unique to my localdev or sandbox environments.
This site was running an older version of Perch (2.3 I believe) that has been updated to 2.8.13, I made sure to update the markitup editor as well, and I updated the text-blocks.html template to the most current just to be safe.
Note: it's actually happening with other content areas, but 80% of the content areas on my site are using text-blocks.html, so that's where I saw it first.
Here's the content of my text-blocks.html template:
<perch:content id="text" type="textarea" label="Text" markdown="true" editor="markitup" imagewidth="640" imageheight="480" />
Here's my Diagnostics Information:
Perch: 2.8.13, PHP: 5.5.23, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO Server OS: Darwin, apache2handler Installed apps: content (2.8.13), assets (2.8.13), categories (2.8.13), perch_events (1.6.1), perch_forms (1.8.3), perch_gallery (2.5.1), perch_shop_foxycart (2), perch_blog (3.6.1), perch_twitter (2.0.2) App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_comments', 'perch_events', 'perch_forms', 'perch_gallery', 'perch_members', 'perch_twitter', 'perch_shop_foxycart', ); PERCH_LOGINPATH: /perch PERCH_PATH: /Users/gtomlinson/Sites/www.burgerlounge.com/perch PERCH_CORE: /Users/gtomlinson/Sites/www.burgerlounge.com/perch/core PERCH_RESFILEPATH: /Users/gtomlinson/Sites/www.burgerlounge.com/perch/resources Image manipulation: GD PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M Resource folder writeable: Yes HTTP_HOST: backslider.local:5757 DOCUMENT_ROOT: /Users/gtomlinson/Sites/www.burgerlounge.com REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
When running debug in the admin, this is the output I get at the bottom of the screen:
Debug Message SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='0d285f569703c817b655453b704525ce' LIMIT 1 UPDATE perch2_users SET userHash='95d7987ee2e2b38a83bedf88a5400f81' WHERE userID='1' SELECT p.privKey FROM perch2_user_privileges p SELECT * FROM (SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID SELECT * FROM perch2_content_regions WHERE regionID=555 LIMIT 1 SELECT * FROM perch2_pages WHERE pageID='95' LIMIT 1 SELECT * FROM perch2_content_items WHERE regionID=555 AND itemRev=1 ORDER BY itemOrder ASC SELECT MAX(itemID)+1 FROM perch2_content_items SELECT itemOrder FROM perch2_content_items WHERE regionID=555 AND itemRev=1 ORDER BY itemOrder DESC LIMIT 1 INSERT INTO perch2_content_items(itemID,regionID,pageID,itemRev,itemJSON,itemSearch,itemOrder) VALUES(294,'555','95','1','','',1000) SELECT * FROM perch2_content_items WHERE itemRowID=1 LIMIT 1 SELECT * FROM perch2_content_items WHERE regionID=555 AND itemRev=1 ORDER BY itemOrder ASC Using template: /templates/content/text_block.html Form not posted or did not validate Queries: 14 Memory: 3.586
And when running debug on the page in question, this is the output I get in the debug area:
Your config/apps.php contains "perch_comments" but that app is not installed. Your config/apps.php contains "perch_members" but that app is not installed. SELECT regionKey, regionHTML FROM perch2_content_regions WHERE regionPage='/realestate/index.php' OR regionPage='*' ORDER BY regionPage DESC Array ( [type] => 2 [message] => include(): Failed opening '/Users/gtomlinson/Sites/www.burgerlounge.com/perch/addons/feathers/twitter/runtime.php' for inclusion (include_path='.:/Applications/MAMP/bin/php/php5.5.23/lib/php') [file] => /Users/gtomlinson/Sites/www.burgerlounge.com/perch/config/feathers.php [line] => 3 )
Please let me know if you need any other info, or if I am not giving you enough diagnostic info.