Forum

Thread tagged as: Problem, Installation, Blog

Categories missing in blog after moving to a new installation and upgrading

I can't see Categories in the admin when I create or edit a blog post.

Blog categories were working on the old version of the site (Perch 2.8.8 with Blog 4.1). I have created a new staging area and installation with Perch 2.8.15 and Blog 5.0 and have moved the data across and run update.

Any idea what to look out for?

Here are my diagnostics (for the new/later installation) - Thanks

Perch information

Perch: 2.8.15
Production mode: Production (100)
Installed apps: content (2.8.15), assets (2.8.15), categories (2.8.15), perch_blog (5.0), perch_backup (1.2), perch_twitter (3.5.1)
DB driver: PDO
DB tables: perch2_blog_authors, perch2_blog_categories, perch2_blog_comments, perch2_blog_index, perch2_blog_posts, perch2_blog_posts_to_categories, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_blogs, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_twitter_scheduled_tweets, perch2_twitter_settings, perch2_twitter_tweets, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 2
App runtimes:

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

Scheduled tasks for perch_twitter: post_tweets (1 mins), update_tweets (10 mins)
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: markitup, ckeditor
H1: 76f91ab22cf9c7e9971f065eee1e1aa6
L1: 662ae092b505d9b8506012acfb720528
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.6.3: done
latest_version: 2.8.15
on_sale_version: 2.8.18
perch_blog_post_url: /blog/post.php?s={postSlug}
headerScheme: light
perch_blog_slug_format: {postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 7
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
perch_blog_comment_notify: 1
logoPath: /admin/resources/1412329240_amodeo-logo-perch.png
update_2.6.6: done
update_2.8.8: done
perch_backup_mysqldump_path:
update_2.8.15: done
perch_blog_update: 5.0.1
perch_twitter_update: 3.5
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: amodeowe_ip
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: amodeowe_ip
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: nigel.harding@talktalk.net
PERCH_EMAIL_FROM_NAME: Nigel Harding
PERCH_LOGINPATH: /admin
PERCH_PATH: /home/amodeowe/public_html/ip/admin
PERCH_CORE: /home/amodeowe/public_html/ip/admin/core
PERCH_RESFILEPATH: /home/amodeowe/public_html/ip/admin/resources
PERCH_RESPATH: /admin/resources
PERCH_HTML5: 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_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/amodeowe/public_html/ip/admin/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_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SESSION_TIMEOUT_MINS: 20
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile

Hosting settings

PHP: 5.4.33
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.27
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, filter, ftp, gd, gettext, SPL, iconv, session, json, mbstring, mcrypt, standard, mysql, mysqli, pgsql, posix, pspell, Reflection, mysqlnd, imap, SimpleXML, soap, sockets, exif, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, PDO, pdo_sqlite, timezonedb, pdo_mysql, ionCube Loader, Zend Guard Loader
GD: Yes
ImageMagick: No
PHP max upload size: 20M
PHP max form post size: 20M
PHP memory limit: 128M
Total max uploadable file size: 20M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
UNIQUE_ID: VmBjTlVcTjcAAVsZTHsAAAAz
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
SERVER_PORT: 80
HTTP_HOST: www.ip.hardingweb.net
REDIRECT_HANDLER: application/x-httpd-php5
DOCUMENT_ROOT: /home/amodeowe/public_html/ip
SCRIPT_FILENAME: /home/amodeowe/public_html/ip/admin/core/settings/diagnostics/index.php
REQUEST_URI: /admin/core/settings/diagnostics/?extended
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
HTTP_CONNECTION: keep-alive
REMOTE_PORT: 59474
PATH: /usr/local/bin:/usr/bin:/bin
CONTEXT_PREFIX: /cgi-sys
PWD: /usr/local/cpanel/cgi-sys
SERVER_ADMIN: webmaster@ip.hardingweb.net
REQUEST_SCHEME: http
REDIRECT_STATUS: 200
REDIRECT_QUERY_STRING: extended
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.5
HTTP_REFERER: https://www.ip.hardingweb.net/admin/core/settings/diagnostics/
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
REMOTE_ADDR: 92.1.161.233
SERVER_NAME: www.ip.hardingweb.net
SERVER_SOFTWARE: Apache
QUERY_STRING: extended
SERVER_ADDR: 85.92.78.62
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
HTTP_ACCEPT_ENCODING: gzip, deflate
REDIRECT_URL: /admin/core/settings/diagnostics/index.php
REQUEST_METHOD: GET
HTTP_COOKIE: _ga=GA1.2.1936265496.1422892870; cmsa=1; PHPSESSID=8408a74307cc02c398a97f170b0041da
CONTEXT_DOCUMENT_ROOT: /usr/local/cpanel/cgi-sys/
ORIG_SCRIPT_FILENAME: /usr/local/cpanel/cgi-sys/php5
ORIG_PATH_INFO: /admin/core/settings/diagnostics/index.php
ORIG_PATH_TRANSLATED: /home/amodeowe/public_html/ip/admin/core/settings/diagnostics/index.php
ORIG_SCRIPT_NAME: /cgi-sys/php5
PHP_SELF: /admin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1449157454.47
REQUEST_TIME: 1449157454
argc: 1
Nigel Harding

Nigel Harding 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Has the Blog category set been created in the Categories app?

Yes I can see those categories. So I have a set called Blog and 4 Categories inside that set.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, great. Have you updated your templates for the new version of Blog?

https://docs.grabaperch.com/addons/blog/installation/

Thanks Drew, you're right, the old blog templates in perch/templates/blog were over-riding the new ones