It will not show up inside a repeater in a block element after updating to Perch 3.
Get this error message: Skipping 35__blocks_6 as deleted (2). It was no problems before the update.
Debug Message - Perch Runway 3.0.1
[30] SELECT p.pagePath, pr.routePattern, pr.routeRegExp, p.pageTemplate, pr.routeOrder, s.settingValue AS siteOffline FROM perch2_pages p LEFT JOIN perch2_page_routes pr ON p.pageID=pr.pageID LEFT JOIN perch2_settings s ON s.settingID='siteOffline' UNION SELECT NULL AS pagePath, pr2.routePattern, pr2.routeRegExp, pr2.templatePath AS pageTemplate, pr2.routeOrder, NULL AS siteOffline FROM perch2_page_routes pr2 WHERE templateID!=0 ORDER BY routeOrder ASC, pagePath ASC
Matched page: /produkter-og-losninger/datafangst-og-flatestyring, so not using routes.
Using master page: /templates/pages/produkt-losning.php
[3] SELECT regionKey, regionHTML FROM perch2_content_regions WHERE regionPage='/produkter-og-losninger/datafangst-og-flatestyring' OR regionPage='*' ORDER BY regionPage DESC
[1] SELECT * FROM perch2_pages WHERE pagePath='/produkter-og-losninger/datafangst-og-flatestyring' LIMIT 1
Using template: /templates/pages/attributes/default.html
Using sub-template: /templates/pages/attributes/seo.html
[6] SELECT * FROM perch2_pages WHERE pageNew=0 AND pageHidden=0 AND pageDepth >=0 AND pageDepth<=1 ORDER BY pageTreePosition ASC
[1] SELECT pageTreePosition FROM perch2_pages WHERE pagePath='/produkter-og-losninger/datafangst-og-flatestyring' LIMIT 1
[2] SELECT pageID FROM perch2_pages WHERE pageTreePosition IN ('000-002-001', '000-002', '000') ORDER BY pageTreePosition DESC
[6] Using template: /templates/navigation/navigasjon.html
Using template: /templates/search/search-form.html
[1] SELECT pageTreePosition FROM perch2_pages WHERE pagePath='/produkter-og-losninger/datafangst-og-flatestyring' OR pageSortPath='/produkter-og-losninger/datafangst-og-flatestyring' LIMIT 1
[2] SELECT * FROM perch2_pages WHERE pageHidden=0 AND pageNew=0 AND pageTreePosition IN ('000-002-001', '000-002', '000') ORDER BY pageTreePosition
[2] Using template: /templates/navigation/breadcrumbs.html
[1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch2_content_regions WHERE regionKey='Innhold' AND (regionPage='/produkter-og-losninger/datafangst-og-flatestyring' OR regionPage='*')
[1] SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM perch2_content_index idx JOIN perch2_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID JOIN perch2_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID=64 AND idx.itemRev=49)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
[1] Using template: /templates/content/ut/produkt-losning-ut.html
Using sub-template: /templates/content/blocks.html
Using sub-template: /templates/content/blocks/overskrift.html
Using sub-template: /templates/content/blocks/ingress.html
Using sub-template: /templates/content/blocks/tekst.html
Using sub-template: /templates/content/blocks/bilde.html
Using sub-template: /templates/content/blocks/sitat.html
Using sub-template: /templates/content/blocks/internlink.html
Using sub-template: /templates/content/blocks/fil.html
[2] Using sub-template: /templates/content/blocks/logoer.html
Debug Message - Perch Runway 3.0.1
[30] SELECT p.pagePath, pr.routePattern, pr.routeRegExp, p.pageTemplate, pr.routeOrder, s.settingValue AS siteOffline FROM perch2_pages p LEFT JOIN perch2_page_routes pr ON p.pageID=pr.pageID LEFT JOIN perch2_settings s ON s.settingID='siteOffline' UNION SELECT NULL AS pagePath, pr2.routePattern, pr2.routeRegExp, pr2.templatePath AS pageTemplate, pr2.routeOrder, NULL AS siteOffline FROM perch2_page_routes pr2 WHERE templateID!=0 ORDER BY routeOrder ASC, pagePath ASC
Matched page: /produkter-og-losninger/datafangst-og-flatestyring, so not using routes.
Using master page: /templates/pages/produkt-losning.php
[3] SELECT regionKey, regionHTML FROM perch2_content_regions WHERE regionPage='/produkter-og-losninger/datafangst-og-flatestyring' OR regionPage='*' ORDER BY regionPage DESC
[1] SELECT * FROM perch2_pages WHERE pagePath='/produkter-og-losninger/datafangst-og-flatestyring' LIMIT 1
Using template: /templates/pages/attributes/default.html
Using sub-template: /templates/pages/attributes/seo.html
[6] SELECT * FROM perch2_pages WHERE pageNew=0 AND pageHidden=0 AND pageDepth >=0 AND pageDepth<=1 ORDER BY pageTreePosition ASC
[1] SELECT pageTreePosition FROM perch2_pages WHERE pagePath='/produkter-og-losninger/datafangst-og-flatestyring' LIMIT 1
[2] SELECT pageID FROM perch2_pages WHERE pageTreePosition IN ('000-002-001', '000-002', '000') ORDER BY pageTreePosition DESC
[6] Using template: /templates/navigation/navigasjon.html
Using template: /templates/search/search-form.html
[1] SELECT pageTreePosition FROM perch2_pages WHERE pagePath='/produkter-og-losninger/datafangst-og-flatestyring' OR pageSortPath='/produkter-og-losninger/datafangst-og-flatestyring' LIMIT 1
[2] SELECT * FROM perch2_pages WHERE pageHidden=0 AND pageNew=0 AND pageTreePosition IN ('000-002-001', '000-002', '000') ORDER BY pageTreePosition
[2] Using template: /templates/navigation/breadcrumbs.html
[1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch2_content_regions WHERE regionKey='Innhold' AND (regionPage='/produkter-og-losninger/datafangst-og-flatestyring' OR regionPage='*')
[1] SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM perch2_content_index idx JOIN perch2_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID JOIN perch2_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID=64 AND idx.itemRev=49)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
[1] Using template: /templates/content/ut/produkt-losning-ut.html
Using sub-template: /templates/content/blocks.html
Using sub-template: /templates/content/blocks/overskrift.html
Using sub-template: /templates/content/blocks/ingress.html
Using sub-template: /templates/content/blocks/tekst.html
Using sub-template: /templates/content/blocks/bilde.html
Using sub-template: /templates/content/blocks/sitat.html
Using sub-template: /templates/content/blocks/internlink.html
Using sub-template: /templates/content/blocks/fil.html
[2] Using sub-template: /templates/content/blocks/logoer.html
Request time: 0.0458
Process time: 0.0456
Memory: 2.8673
No browser errors! Same happens on other machines. Both Safari (10.0.3) and Chrome (57.0.2987.133 (64-bit)). «Select or upload an image» links only «flashes» assets and disappears.
Hi Drew, the repeater problem is solved. We did not see the «Add new item» button in the right corner. Don´t ask. Maybe it should be more visible, I don´t know. Ups...
It should be as fieldtypes didn't receive any changes. That being said, what trouble are you having?
It will not show up inside a repeater in a block element after updating to Perch 3. Get this error message: Skipping 35__blocks_6 as deleted (2). It was no problems before the update.
In fact, this happens with images, files and links too... Not only pagelist. All inside repeaters in block elements.
Really, should you be using a repeater inside a block, that sounds like you might need to rethink the design. I am not sure this is bug.
I'm pretty sure it's ok practice to have Repeaters inside Blocks. I hope so anyway. Otherwise, lock me up now. :o
Can you give us your diagnostics report, your template and the debug output?
Diagnostics report
Perch Runway: 3.0.1 Production mode: Production (100) Installed apps: content (3.0.1), assets (3.0.1), categories (3.0.1), perch_blog (5.5), perch_backup (1.2) DB driver: PDO DB tables: perch2_backup_plans (0), perch2_backup_resources (0), perch2_backup_runs (0), perch2_blog_authors (1), perch2_blog_comments (0), perch2_blog_index (52), perch2_blog_posts (2), perch2_blog_posts_to_tags (0), perch2_blog_sections (1), perch2_blog_tags (0), perch2_blogs (1), perch2_categories (8), perch2_category_counts (0), perch2_category_sets (3), perch2_collection_index (580), perch2_collection_items (50), perch2_collection_revisions (12), perch2_collections (2), perch2_content_index (892), perch2_content_items (203), perch2_content_locks (0), perch2_content_regions (31), perch2_forms (0), perch2_forms_responses (0), perch2_menu_items (11), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_routes (18), perch2_page_templates (17), perch2_pages (26), perch2_resource_log (655), perch2_resource_tags (222), perch2_resources (114), perch2_resources_to_tags (593), perch2_settings (28), perch2_user_passwords (5), perch2_user_privileges (40), perch2_user_role_privileges (45), perch2_user_roles (3), perch2_users (6) Users: 6 App runtimes: <?php $apps_list = [ 'perch_blog', ]; Scheduled tasks for perch_blog: delete_spam_comments (1440 mins) Editor plug-ins: H1: bc7d79ab5b1ddab42b0fc69ee54f15b7 L1: faefb0f88110ad209a99e89616d7fff4 F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7 headerColour: #000000 content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 1 content_collapseList: 1 lang: en-gb update_2.8.34: done headerScheme: dark update_runway_2.8.34: done latest_version: on_sale_version: perch_blog_update: 5.0.1 perch_blog_post_url: /aktuelt/{postSlug} content_hideNonEditableRegions: 1 perch_blog_site_name: perch_blog_slug_format: %d-%m-%Y-{postTitle} perch_blog_akismet_key: perch_blog_max_spam_days: 0 perch_backup_mysqldump_path: dashboard: 1 hide_pwd_reset: 0 content_frontend_edit: 0 perch_blog_comment_notify: 0 logoPath: /dv-cms/resources/dunderverk-perch2.png update_runway_3.0.1: done siteOffline: 0 PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_SITEPATH: /home/14/w327246/www PERCH_SCHEDULE_SECRET: vpdqJTdueMmqtlhF PERCH_DB_USERNAME: d28727 PERCH_DB_SERVER: mysql02.uniweb.no PERCH_DB_DATABASE: d28727 PERCH_DB_PREFIX: perch2_ PERCH_EMAIL_FROM: utvikling@dunderverk.no PERCH_EMAIL_FROM_NAME: Dunderverk Administrator PERCH_LOGINPATH: /dv-cms PERCH_PATH: /home/14/w327246/www/dv-cms PERCH_CORE: /home/14/w327246/www/dv-cms/core PERCH_RESFILEPATH: /home/14/w327246/www/dv-cms/resources PERCH_RESPATH: /dv-cms/resources PERCH_HTML5: 1 PERCH_TZ: Europe/Oslo 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_ASSET_VERSION: 7ca631ef9a54e99e413a PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /home/14/w327246/www/dv-cms/templates PERCH_TEMPLATE_FILTERS: PERCH_DEFAULT_DOC: index.php PERCH_DEFAULT_EXT: .php PERCH_PRODUCTION_MODE: 100 PERCH_XHTML_MARKUP: PERCH_RWD: 1 PERCH_HTML_ENTITIES: PERCH_SSL: PERCH_STRIPSLASHES: PERCH_PROGRESSIVE_FLUSH: 1 PERCH_PARANOID: PERCH_FORCE_SECURE_COOKIES: PERCH_DEFAULT_BUCKET: default PERCH_TRANSLATION_ASSIST: PERCH_PASSWORD_MIN_LENGTH: 6 PERCH_MAX_FAILED_LOGINS: 10 PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR PERCH_VERIFY_UPLOADS: PERCH_PRIV_ASSIST: PERCH_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: PERCH_APPS_EDITOR_PLUGIN: markitup PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown Hosting settings
PHP: 7.0.12 Zend: 3.0.0 OS: Linux SAPI: cgi-fcgi Safe mode: not detected MySQL client: mysqlnd 5.0.12-dev - 20150407 - $Id: 241ae00989d1995ffcbbf63d579943635faf9972 $ MySQL server: 5.7.17-11 Free disk space: 761.39 GB Extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, intl, json, mbstring, mcrypt, standard, mysqlnd, pcntl, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, imap, shmop, SimpleXML, soap, sockets, exif, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, imagick GD: Yes ImageMagick: Yes PHP max upload size: 200M PHP max form post size: 200M PHP memory limit: 128M Total max uploadable file size: 128M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: Yes CONTEXT_DOCUMENT_ROOT: /home/14/w327246/www DOCUMENT_ROOT: /home/14/w327246/www 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 HTTP_CONNECTION: close HTTP_COOKIE: __utma=90351516.891879746.1490732217.1491503983.1491514744.32; __utmc=90351516; __utmz=90351516.1490732217.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); PHPSESSID=smi105chlpuai4ngq8clvk0477; cmsa=1 HTTP_HOST: w327246-www.php5.dittdomene.no HTTP_REFERER: https://w327246-www.php5.dittdomene.no/dv-cms/core/settings/diagnostics/add-ons/ HTTP_UPGRADE_INSECURE_REQUESTS: 1 HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8 PATH: /bin:/usr/bin QUERY_STRING: extended REDIRECT_STATUS: 200 REMOTE_ADDR: 195.159.119.61 REMOTE_PORT: 47508 REQUEST_METHOD: GET REQUEST_SCHEME: http REQUEST_URI: /dv-cms/core/settings/diagnostics/?extended SCRIPT_FILENAME: /home/14/w327246/www/dv-cms/core/settings/diagnostics/index.php SCRIPT_NAME: /dv-cms/core/settings/diagnostics/index.php SERVER_ADDR: 127.0.1.1 SERVER_ADMIN: [no address given] SERVER_NAME: w327246-www.php5.dittdomene.no SERVER_PORT: 80 SERVER_PROTOCOL: HTTP/1.0 SERVER_SOFTWARE: Apache PHP_SELF: /dv-cms/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1491547825.1801 REQUEST_TIME: 1491547825 Debug Message - Perch Runway 3.0.1 [1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=6 AND u.userHash='6cc61d287be06bcaa3de9d7a8b73ec6b' LIMIT 1 UPDATE perch2_users SET userHash='4dde91e6f353d582705d723360ababc4' WHERE userID='6' [40] SELECT p.privKey FROM perch2_user_privileges p [27] SELECT settingID, settingValue, userID FROM perch2_settings WHERE userID=6 OR userID=0 ORDER BY userID ASC [9] SELECT itemValue FROM perch2_menu_items WHERE itemType='app' [1] SELECT * FROM perch2_menu_items WHERE itemActive=1 AND itemType='menu' AND parentID=0 ORDER BY itemOrder ASC LIMIT 0, 1 [4] SELECT mi.*, p.privKey FROM perch2_menu_items mi LEFT JOIN perch2_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=1 ORDER BY mi.itemOrder ASC [1] SELECT itemTitle FROM perch2_menu_items WHERE itemType='app' AND itemValue='settings' LIMIT 1 [1] SELECT * FROM perch2_menu_items WHERE itemActive=1 AND itemType='menu' AND parentID=0 ORDER BY itemOrder ASC LIMIT 1, 10 [2] SELECT mi.*, p.privKey FROM perch2_menu_items mi LEFT JOIN perch2_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=2 ORDER BY mi.itemOrder ASC File: /core/settings/modes/diagnostics.extended.post.php [40] SHOW TABLES [0] SELECT COUNT() FROM perch2_backup_plans [0] SELECT COUNT() FROM perch2_backup_resources [0] SELECT COUNT() FROM perch2_backup_runs [1] SELECT COUNT() FROM perch2_blog_authors [0] SELECT COUNT() FROM perch2_blog_comments [52] SELECT COUNT() FROM perch2_blog_index [2] SELECT COUNT() FROM perch2_blog_posts [0] SELECT COUNT() FROM perch2_blog_posts_to_tags [1] SELECT COUNT() FROM perch2_blog_sections [0] SELECT COUNT() FROM perch2_blog_tags [1] SELECT COUNT() FROM perch2_blogs [8] SELECT COUNT() FROM perch2_categories [0] SELECT COUNT() FROM perch2_category_counts [3] SELECT COUNT() FROM perch2_category_sets [580] SELECT COUNT() FROM perch2_collection_index [50] SELECT COUNT() FROM perch2_collection_items [12] SELECT COUNT() FROM perch2_collection_revisions [2] SELECT COUNT() FROM perch2_collections [892] SELECT COUNT() FROM perch2_content_index [203] SELECT COUNT() FROM perch2_content_items [0] SELECT COUNT() FROM perch2_content_locks [31] SELECT COUNT() FROM perch2_content_regions [0] SELECT COUNT() FROM perch2_forms [0] SELECT COUNT() FROM perch2_forms_responses [11] SELECT COUNT() FROM perch2_menu_items [0] SELECT COUNT() FROM perch2_navigation [0] SELECT COUNT() FROM perch2_navigation_pages [18] SELECT COUNT() FROM perch2_page_routes [17] SELECT COUNT() FROM perch2_page_templates [26] SELECT COUNT() FROM perch2_pages [655] SELECT COUNT() FROM perch2_resource_log [222] SELECT COUNT() FROM perch2_resource_tags [114] SELECT COUNT() FROM perch2_resources [593] SELECT COUNT() FROM perch2_resources_to_tags [28] SELECT COUNT() FROM perch2_settings [5] SELECT COUNT() FROM perch2_user_passwords [40] SELECT COUNT() FROM perch2_user_privileges [45] SELECT COUNT() FROM perch2_user_role_privileges [3] SELECT COUNT() FROM perch2_user_roles [6] SELECT COUNT() FROM perch2_users [1] SELECT COUNT(*) FROM perch2_users [nil] SELECT * FROM perch2_backup_plans WHERE planActive='1' ORDER BY planCreated ASC [27] SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=0 Queries: 55 Memory: 2.1117
Main template
Sub template - pagelist
Sub template - image The pop up window shows up and disappear.
Can you clarify what you're seeing when you say "It will not show up inside a repeater " ?
A field label with text and two gray lines under with nothing between (no pagelist).
Debug message from site:
And this is the same for other fieldtypes?
Yes, with fieldtypes between a repeater.
It sounds like something's wrong with your installation. Are you getting any browser errors?
It sounds like something's wrong with your installation. Are you getting any browser errors?
No browser errors! Same happens on other machines. Both Safari (10.0.3) and Chrome (57.0.2987.133 (64-bit)). «Select or upload an image» links only «flashes» assets and disappears.
Does the same happen for you on our demo?
https://grabaperch.com/demo
Hi Drew, the repeater problem is solved. We did not see the «Add new item» button in the right corner. Don´t ask. Maybe it should be more visible, I don´t know. Ups...
Thank you!