Forum

Thread tagged as: Problem, Runway, Twitter

Twitter not updating

Hi,

I am having an issue where the twitter cron updates are not working on a site. I have the following cron job:

php /home/yortonfa/public_html/admin/core/scheduled/run.php u365nW8az8ncy9cs

Which gives the following error:

X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-type: text/html; charset=UTF-8

No secret found. See https://docs.grabaperch.com/docs/scheduled-tasks/ for configuration instructions.

I also tried this (I remember this working on another server):

php /home/yortonfa/public_html/admin/core/scheduled/run.php?secret=u365nW8az8ncy9cs

Which gives this error:

Status: 404 Not Found
X-Powered-By: PHP/7.0.16
Content-type: text/html; charset=UTF-8

No input file specified.

Manually fetching the tweets is working fine. Any ideas what might be causing the issue? My full diagnostics are below. I can get on to the host if the problem is with them but wanted to check I wasn't doing something wrong here first.

Thanks!

Mike

Perch Runway: 2.8.34
Production mode: (PERCH_PRODUCTION)
Installed apps: content (2.8.34), assets (2.8.34), categories (2.8.34), perch_blog (5.0), collection_1 (2.8.34), collection_2 (2.8.34), perch_twitter (3.6.2)
DB driver: PDO
DB tables: yorton_backup_plans (0), yorton_backup_resources (0), yorton_backup_runs (0), yorton_blog_authors (2), yorton_blog_comments (0), yorton_blog_index (88), yorton_blog_posts (3), yorton_blog_posts_to_tags (0), yorton_blog_sections (1), yorton_blog_tags (0), yorton_blogs (1), yorton_categories (3), yorton_category_counts (0), yorton_category_sets (2), yorton_collection_index (4319), yorton_collection_items (75), yorton_collection_revisions (16), yorton_collections (2), yorton_content_index (265), yorton_content_items (52), yorton_content_regions (10), yorton_navigation (0), yorton_navigation_pages (0), yorton_page_routes (3), yorton_page_templates (11), yorton_pages (10), yorton_resource_log (1106), yorton_resource_tags (0), yorton_resources (195), yorton_resources_to_tags (0), yorton_settings (24), yorton_twitter_scheduled_tweets (0), yorton_twitter_settings (1), yorton_twitter_tweets (479), yorton_user_passwords (0), yorton_user_privileges (34), yorton_user_role_privileges (16), yorton_user_roles (2), yorton_users (2)
Users: 2
PHPMailer: 5.2.21
App runtimes:
<?php
    $apps_list = array(
        'content',
        'categories',
        'perch_twitter',
        'perch_blog'
    );
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Scheduled tasks for perch_twitter: post_tweets (1 mins), update_tweets (10 mins)
Editor plug-ins: markitup
H1: 14a3848ce839e6ff070ff704f6c030ee
L1: ff6eadb732e7b702446c309ff1588c7a
F1: 6a33f95eca3667f9e0c39bf5ca2980fe
headerColour: #000000
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.34: done
perch_twitter_update: 3.5
headerScheme: dark
update_runway_2.8.34: done
latest_version: 2.8.15
on_sale_version: 2.8.34
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
perch_blog_update: 5.0.1
perch_blog_post_url: /news/{postSlug}
perch_blog_site_name:
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
perch_blog_comment_notify: 0
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_SITEPATH: /Users/mikeharrison/Google Drive/Client Work/Yorton/Site
PERCH_SCHEDULE_SECRET: u365nW8az8ncy9cs
PERCH_DB_USERNAME: yortonfa_user
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: yortonfa_db
PERCH_DEBUG:
PERCH_PRODUCTION_MODE: PERCH_PRODUCTION
PERCH_DB_PREFIX: yorton_
PERCH_GMAPS_API_KEY: AIzaSyAd308VRJWPyDMsXhwdO_MYIp8T-_rqV7c
PERCH_YOUTUBE_API_KEY: AIzaSyAd308VRJWPyDMsXhwdO_MYIp8T-_rqV7c
PERCH_EMAIL_FROM: mike@mikeharrisondesign.com
PERCH_EMAIL_FROM_NAME: Mike Harrison
PERCH_LOGINPATH: /admin
PERCH_PATH: /home/yortonfa/public_html/admin
PERCH_CORE: /home/yortonfa/public_html/admin/core
PERCH_RESFILEPATH: /home/yortonfa/public_html/admin/resources
PERCH_RESPATH: /admin/resources
PERCH_HTML5: 1
PERCH_TZ: UTC
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_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/yortonfa/public_html/admin/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
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: 7.0.16
Zend: 3.0.0
OS: Linux
SAPI: litespeed
Safe mode: not detected
MySQL client: 10.1.22-MariaDB
MySQL server: 10.1.21-MariaDB
Free disk space: 10.48 TB
Extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, shmop, SimpleXML, mbstring, tokenizer, xml, litespeed, bcmath, dom, fileinfo, gd, imagick, imap, json, exif, mcrypt, mysqli, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, sockets, tidy, xmlreader, xmlrpc, xmlwriter, xsl, zip, ionCube Loader, Zend OPcache
GD: Yes
ImageMagick: Yes
PHP max upload size: 32M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 8M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch, br
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8,fr;q=0.6,it;q=0.4
HTTP_COOKIE: __utmt=1; __utma=231413527.2080160160.1489090960.1489090960.1490042232.2; __utmb=231413527.1.10.1490042232; __utmc=231413527; __utmz=231413527.1489090960.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); cmsa=1; timezone=Europe/London; cpsession=yortonfa%3a8WMGNFjgoIqdT88s%2cdc9b33ccacd129638bb2eae2b4be731f; webmailsession=yortonfa%3aRFsOVrpArMK9u64V%2c384cdea90a3ef99322d84671cf90bd21; roundcube_cookies=enabled; roundcube_sessid=l7vs65cndvnba97pnebkuddph2; roundcube_sessauth=JRqZMQVoi6OStiM7ER2JAE9Low-1490042400; PHPSESSID=9v8r9ii7nv706fctv0j39qb6s7
HTTP_HOST: yortonfarm.co.uk
HTTP_REFERER: https://yortonfarm.co.uk/admin/core/settings/diagnostics/
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS: 1
DOCUMENT_ROOT: /home/yortonfa/public_html
REMOTE_ADDR: 86.166.194.75
REMOTE_PORT: 64624
SERVER_ADDR: 89.187.86.7
SERVER_NAME: yortonfarm.co.uk
SERVER_ADMIN: webmaster@yortonfarm.co.uk
SERVER_PORT: 443
REQUEST_URI: /admin/core/settings/diagnostics/?extended
HTTPS: on
X_SPDY: HTTP2
SSL_PROTOCOL: TLSv1.2
SSL_SESSION_ID: bf457bdf5c2d128c36b20c77988b22e7b1107cf70886fa5a00da526e5b713903
SSL_CIPHER: ECDHE-RSA-AES128-GCM-SHA256
SSL_CIPHER_USEKEYSIZE: 128
SSL_CIPHER_ALGKEYSIZE: 128
SCRIPT_FILENAME: /home/yortonfa/public_html/admin/core/settings/diagnostics/index.php
QUERY_STRING: extended
SCRIPT_URI: https://yortonfarm.co.uk/admin/core/settings/diagnostics/
SCRIPT_URL: /admin/core/settings/diagnostics/
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: LiteSpeed
REQUEST_METHOD: GET
X-LSCACHE: 1
PHP_SELF: /admin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1490042733.977
REQUEST_TIME: 1490042733
Mike Harrison

Mike Harrison 37 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You should probably ask your host how to set that up.