Forum
Shared Multi Item Region Auto Setting to Draft
Hi
Having an issue with a multi item region which is auto setting new posts to draft. It has been running for a couple of years now without an issue and has just started setting new items to draft and if you go to an old item you are editing in draft mode.
I have updated to the latest version of perch incase that was causing the issue but it hasn't resolved the problem.
Any idea why it would be doing this?
Perch: 3.1.1
Production mode: Production (100)
Installed apps: content (3.1.1), assets (3.1.1), categories (3.1.1), perch_blog (5.6.1), perch_events (1.9.5), perch_forms (1.11), perch_gallery (2.8.9), perch_members (1.6.4), perch_twitter (4.0)
DB driver: PDO
DB tables: perch2_blog_authors (4), perch2_blog_comments (0), perch2_blog_index (6814), perch2_blog_posts (224), perch2_blog_posts_to_tags (7), perch2_blog_sections (1), perch2_blog_tags (6), perch2_blog_webmention_queue (0), perch2_blogs (1), perch2_categories (38), perch2_category_counts (13), perch2_category_sets (4), perch2_content_index (567542), perch2_content_items (6340), perch2_content_regions (72), perch2_events (14), perch2_events_categories (1), perch2_events_to_categories (9), perch2_forms (1), perch2_forms_responses (189), perch2_gallery_albums (124), perch2_gallery_image_versions (15342), perch2_gallery_images (2563), perch2_members (1), perch2_members_forms (0), perch2_members_member_tags (1), perch2_members_sessions (1), perch2_members_tags (1), perch2_menu_items (14), perch2_navigation (7), perch2_navigation_pages (63), perch2_page_templates (5), perch2_pages (50), perch2_resource_log (1883), perch2_resource_tags (5), perch2_resources (1429), perch2_resources_to_tags (12), perch2_scheduled_tasks (60), perch2_settings (45), perch2_twitter_scheduled_tweets (0), perch2_twitter_settings (1), perch2_twitter_tweets (2378), perch2_user_passwords (2), perch2_user_privileges (51), perch2_user_role_privileges (50), perch2_user_roles (4), perch2_users (5)
Users: 5
App runtimes:
<?php
$apps_list = array(
'content',
'categories',
'perch_blog',
'perch_events',
'perch_forms',
'perch_gallery',
'perch_members',
'perch_twitter',
);
?>
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins), publish_posts (1 mins), process_webmentions (1 mins)
Scheduled tasks for perch_twitter: post_tweets (1 mins), update_tweets (10 mins)
Editor plug-ins: markitup
H1: 8bfe579a45f813ede80eb3f59f33e2b9
L1: 498c666d0b6a07ef9db5d4dadf2fe3ad
F1: 3b606135b33e6a102526838f4152a807
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.8.13: done
latest_version:
on_sale_version:
headerScheme: light
dashboard: 1
content_frontend_edit: 1
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
logoPath: /admin/resources/2017-neilirwin-cms-new.png
perch_blog_post_url: /news/{postSlug}
perch_events_update: 1.8
perch_gallery_update: 2.8.5
perch_twitter_update: 3.5
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
perch_members_login_page: /members/login.php?r={returnURL}
perch_events_detail_url: /events/event.php?s={eventSlug}
perch_gallery_bucket_mode: single
perch_gallery_bucket: default
perch_blog_comment_notify: 0
perch_gallery_basicUpload: 0
update_2.8.15: done
update_2.8.34: done
perch_blog_update: 5.6
update_3.0.8: done
perch_blog_site_name:
keyboardShortcuts: 0
content_skip_region_list: 0
perch_blog_webmention_tx: 0
perch_blog_webmention_rx: 0
perch_members_update: 1.4
update_3.0.13: done
update_3.1.1: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: siteName_admin
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: siteName_database
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: mail@siteNAME.com
PERCH_EMAIL_FROM_NAME: siteName Rugby Club
PERCH_LOGINPATH: /admin
PERCH_PATH: /home/siteName/public_html/admin
PERCH_CORE: /home/siteName/public_html/admin/core
PERCH_RESFILEPATH: /home/siteName/public_html/admin/resources
PERCH_RESPATH: /admin/resources
PERCH_HTML5: 1
PERCH_SCHEDULE_SECRET: hotshot
PERCH_RWD: 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_ASSET_VERSION: 8255e4c4a367cfa3e2bd
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/siteName/public_html/admin/templates
PERCH_TEMPLATE_FILTERS:
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_XHTML_MARKUP:
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_CUSTOM_EDITOR_CONFIGS:
PERCH_ENABLE_EXIF: 1
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: 5.6.37
Zend: 2.6.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
MySQL server: 5.5.5-10.2.16-MariaDB
Free disk space: 51.12 GB
Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, filter, hash, pcntl, readline, Reflection, SPL, session, standard, cgi-fcgi, bcmath, bz2, calendar, ctype, curl, dom, mbstring, ftp, gd, iconv, imap, intl, json, exif, mcrypt, mysqlnd, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, SimpleXML, soap, sockets, SourceGuardian, sqlite3, tokenizer, xml, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, mhash, ionCube Loader
GD: Yes
ImageMagick: No
PHP max upload size: 512M
PHP max form post size: 512M
PHP memory limit: 256M
Total max uploadable file size: 256M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
TZ: Europe/London
REDIRECT_UNIQUE_ID: W2F03uTNpJ57KGHOg1OioQAAAA8
REDIRECT_SCRIPT_URL: /admin/core/settings/diagnostics/
REDIRECT_SCRIPT_URI: https://siteNAME.com/admin/core/settings/diagnostics/
REDIRECT_proto: https
REDIRECT_HTTPS: on
REDIRECT_SSL_TLS_SNI: siteNAME.com
REDIRECT_HANDLER: application/x-httpd-ea-php56
REDIRECT_STATUS: 200
UNIQUE_ID: W2F03uTNpJ57KGHOg1OioQAAAA8
SCRIPT_URL: /admin/core/settings/diagnostics/
SCRIPT_URI: https://siteNAME.com/admin/core/settings/diagnostics/
HTTPS: on
SSL_TLS_SNI: siteNAME.com
HTTP_HOST: siteNAME.com
HTTP_CONNECTION: keep-alive
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
HTTP_REFERER: https://siteNAME.com/admin/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip, deflate, br
HTTP_ACCEPT_LANGUAGE: en-GB,en-US;q=0.9,en;q=0.8
HTTP_COOKIE: cmsa=1; __utmc=267071515; __utmz=267071515.1532820760.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); PHPSESSID=rtigu9idlldjhpfiq0dn0neq11; __utma=267071515.380005540.1532820760.1533076901.1533112716.5; __utmt=1; __utmb=267071515.11.10.1533112716
HTTP_X_HTTPS: 1
PATH: /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
SERVER_SOFTWARE: Apache
SERVER_NAME: siteNAME.com
SERVER_ADDR: 82.145.53.196
SERVER_PORT: 443
REMOTE_ADDR: 81.107.114.62
DOCUMENT_ROOT: /home/siteName/public_html
REQUEST_SCHEME: https
CONTEXT_PREFIX: /cgi-sys
CONTEXT_DOCUMENT_ROOT: /usr/local/cpanel/cgi-sys/
SERVER_ADMIN: webmaster@siteNAME.com
SCRIPT_FILENAME: /home/siteName/public_html/admin/core/settings/diagnostics/index.php
REMOTE_PORT: 58228
REDIRECT_URL: /admin/core/settings/diagnostics/index.php
REDIRECT_QUERY_STRING: extended
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /admin/core/settings/diagnostics/?extended
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
ORIG_SCRIPT_FILENAME: /usr/local/cpanel/cgi-sys/ea-php56
ORIG_PATH_INFO: /admin/core/settings/diagnostics/index.php
ORIG_PATH_TRANSLATED: /home/siteName/public_html/admin/core/settings/diagnostics/index.php
ORIG_SCRIPT_NAME: /cgi-sys/ea-php56
PHP_SELF: /admin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1533113566.6412
REQUEST_TIME: 1533113566
argc: 1
Entering draft mode is usually a failsafe when something goes wrong. Can you show us the template? How many items are in the region? Normally shared regions should be small.
Hi Drew
The region has a lot of items but it has been running for 3 years without an issue. I think it may have something to do with a recent server upgrade.
Thanks
Neil
Hi Drew
It has now been sorted. It was an issue with the database on the new server.
Thanks
Neil
Ok, it's worth rethinking when you get the chance. A shared region is loaded in full for every page of the site, so will unnecessarily slow down pages where it's not used.
no problem thanks