Forum

Thread tagged as: Question, Problem

No input file specified after Perch 3 upgrade

No input file specified for my master pages after upgrading. Master pages are still listed in the admin and referenced from their parent pages.

Danny Turley

Danny Turley 0 points

  • 4 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Please post your Diagnostics Report plus the steps you followed to upgrade.

Perch: 3.0
Production mode: Production (100)
Installed apps: content (3.0), assets (3.0), categories (3.0), perch_blog (5.0)
DB driver: PDO
DB tables: perch2_blog_authors (2), perch2_blog_comments (0), perch2_blog_index (256), perch2_blog_posts (5), perch2_blog_posts_to_tags (2), perch2_blog_sections (2), perch2_blog_tags (5), perch2_blogs (1), perch2_categories (3), perch2_category_counts (0), perch2_category_sets (1), perch2_content_index (1630), perch2_content_items (161), perch2_content_regions (38), perch2_menu_items (9), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (3), perch2_pages (19), perch2_resource_log (390), perch2_resource_tags (0), perch2_resources (81), perch2_resources_to_tags (0), perch2_settings (24), perch2_user_passwords (0), perch2_user_privileges (35), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (3)
Users: 3
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
        'perch_blog',
    );
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: markitup
H1: d542312bb8ee9372e7608a2fe8eece5d
L1: 2e0fa8cd92d430e814ffdb6acaf40f60
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.34: done
latest_version:
on_sale_version:
perch_blog_update: 5.0.1
perch_blog_post_url: post.php?s={postSlug}
headerScheme: light
perch_blog_site_name:
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
perch_blog_comment_notify: 0
logoPath: /perch/resources/logo-1.png
update_3.0: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: forge
PERCH_DB_SERVER: 127.0.0.1
PERCH_DB_DATABASE: performa
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: hello@aarongilmore.com
PERCH_EMAIL_FROM_NAME: Aaron Gilmore
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/forge/v2.performasports.com/perch
PERCH_CORE: /home/forge/v2.performasports.com/perch/core
PERCH_RESFILEPATH: /home/forge/v2.performasports.com/perch/resources
PERCH_RESPATH: /perch/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_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_ASSET_VERSION: c4c70b856b16830782ef
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/forge/v2.performasports.com/perch/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

I removed /perch/core and committed/pushed my changes to BitBucket, then I added the new /perch/core from 3.0 and committed/pushed again.

Rachel Andrew

Rachel Andrew 394 points
Perch Support

The instructions are here https://docs.grabaperch.com/perch/upgrading/

I can see you have an out of date blog app and your apps runtime is incorrect, so please check you have followed the steps as detailed then report back if this hasn't helped.

Rachel, have updated those few points. Still seeing the same error. Republishing seems to be stuck, too. I added a new page using the master template and it seems to be working.

Perch: 3.0
Production mode: Production (100)
Installed apps: content (3.0), assets (3.0), categories (3.0), perch_blog (5.5)
DB driver: PDO
DB tables: perch2_blog_authors (2), perch2_blog_comments (0), perch2_blog_index (256), perch2_blog_posts (5), perch2_blog_posts_to_tags (2), perch2_blog_sections (2), perch2_blog_tags (5), perch2_blogs (1), perch2_categories (3), perch2_category_counts (0), perch2_category_sets (1), perch2_content_index (1630), perch2_content_items (161), perch2_content_regions (38), perch2_menu_items (9), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (3), perch2_pages (19), perch2_resource_log (390), perch2_resource_tags (0), perch2_resources (81), perch2_resources_to_tags (0), perch2_settings (24), perch2_user_passwords (0), perch2_user_privileges (35), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (3)
Users: 3
App runtimes:
<?php
    $apps_list = [ 
        'perch_blog',
    ];
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins:
H1: d542312bb8ee9372e7608a2fe8eece5d
L1: 2e0fa8cd92d430e814ffdb6acaf40f60
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.34: done
latest_version:
on_sale_version:
perch_blog_update: 5.0.1
perch_blog_post_url: post.php?s={postSlug}
headerScheme: light
perch_blog_site_name:
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
perch_blog_comment_notify: 0
logoPath: /perch/resources/logo-1.png
update_3.0: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: forge
PERCH_DB_SERVER: 127.0.0.1
PERCH_DB_DATABASE: performa
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: hello@aarongilmore.com
PERCH_EMAIL_FROM_NAME: Aaron Gilmore
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/forge/v2.performasports.com/perch
PERCH_CORE: /home/forge/v2.performasports.com/perch/core
PERCH_RESFILEPATH: /home/forge/v2.performasports.com/perch/resources
PERCH_RESPATH: /perch/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_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_ASSET_VERSION: c4c70b856b16830782ef
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/forge/v2.performasports.com/perch/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
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you be specific what you mean by "No input file specified for my master pages after upgrading." ?

This isn't terminology that I recognise - what are you seeing?

I had a few master pages in Perch to display product information, after the upgrade to Perch 3 I can't view the pages. The error message in the browser is "No input file specified." See: https://www.dropbox.com/s/7ixkl30wiwwza9q/Screenshot%202017-03-29%2011.56.39.png?dl=0

Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you doing any URL rewriting?

For the blog section, yes. Just to confirm, should the path for this page contain the extension? e.g. for the example above:

/performa-sports.php

Drew McLellan

Drew McLellan 2638 points
Perch Support

What was the case before you applied the update?

I was using the above path (I haven't changed anything) and it was working.

Deleting the pages using the template and re-adding them seems to have fixed it.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Interesting. Hmm, we'll keep an eye out for it.

Just wanted to give an update on this and the issue I posted about the assets error; these issues look like they were due to our server, not anything to do with Perch 3.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Thanks for the update!