Forum

Thread tagged as: Problem, Error, Addons

Tweets no longer updated

I'm using the perch_twitter app but my tweets are no longer being updated - they stopped in December. I've had a look at my settings and I can't see anything wrong. I did have some errors in December: [17-Dec-2015 12:09:00 UTC] PHP Fatal error: Call to undefined function perch_twitter_get_latest() in /home/iconwww/public_html/perch/templates/pages/home.php on line 42 [17-Dec-2015 12:25:25 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 3072 bytes) in /home/iconwww/public_html/perch/addons/feathers/twitter/runtime.php on line 5

but I haven't had any errors since. Any help would be much appreciated.

Nick Capehorn

Nick Capehorn 0 points

  • 5 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

We need to see your Diagnostics Report to offer help.

PERCH INFORMATION

Perch Runway: 2.8.19
Production mode: Production (100)
Installed apps: content (2.8.19), assets (2.8.19), categories (2.8.19), perch_blog (5.0), perch_forms (1.8.3), collection_1 (2.8.19), perch_twitter (3.5.1)
DB driver: PDO
DB tables: perch2_backup_plans, perch2_backup_resources, perch2_backup_runs, perch2_blog_authors, perch2_blog_comments, perch2_blog_index, perch2_blog_posts, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_blogs, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_collection_index, perch2_collection_items, perch2_collection_revisions, perch2_collections, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_forms, perch2_forms_responses, perch2_mailchimp_campaigns, perch2_mailchimp_history, perch2_mailchimp_log, perch2_mailchimp_stats, perch2_mailchimp_subscribers, perch2_navigation, perch2_navigation_pages, perch2_page_routes, 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: 8
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
        'perch_blog',
        'perch_twitter',
        'perch_forms',
    );
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Scheduled tasks for perch_twitter: post_tweets (1 mins), update_tweets (1440 mins)
Editor plug-ins: ckeditor, markitup
H1: b8437403a79e4c5ea7beffbc204fad2c
L1: 7d3ec7b8f4126c86d2e4cf20ea478c39
headerColour: #000000
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.15: done
perch_blog_update: 5.0.1
headerScheme: dark
update_runway_2.8.15: done
latest_version: 2.8.15
on_sale_version: 2.8.26
dashboard: 1
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
perch_blog_post_url: /resources/blog/{postSlug}
perch_blog_site_name:
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_comment_notify: 1
perch_mailchimp_secret: bb0b25ae91c991f161d07329c998a71f
perch_mailchimp_update: 2.0
perch_mailchimp_api_key:
perch_mailchimp_list_id:
perch_mailchimp_campaign_url: /mailchimp/campaign.php?s={campaignSlug}
perch_twitter_update: 3.5
update_runway_2.8.19: done
perch_blog_max_spam_days: 30
perch_cm_api_key: e282052e211aa2fdec191f7f7bfbb6b7
perch_cm_list_id:
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_SITEPATH: /home/iconwww/public_html
PERCH_SCHEDULE_SECRET: xgZbP6h2kWrJb5tZ
PERCH_DB_USERNAME: iconwww_perch
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: iconwww_perch
PERCH_DB_PREFIX: perch2_
PERCH_EMAIL_FROM: nick.capehorn@themegroup.co.uk
PERCH_EMAIL_FROM_NAME: Nick Capehorn
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/iconwww/public_html/perch
PERCH_CORE: /home/iconwww/public_html/perch/core
PERCH_RESFILEPATH: /home/iconwww/public_html/perch/resources
PERCH_RESPATH: /perch/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_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/iconwww/public_html/perch/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.5.16
Zend: 2.5.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: bf9ad53b11c9a57efdb1057292d73b928b8c5c77 $
MySQL server: 5.5.48-cll
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, filter, ftp, gd, hash, iconv, SPL, json, mbstring, mcrypt, session, mysql, mysqli, standard, Phar, posix, Reflection, mysqlnd, SimpleXML, sockets, imap, tokenizer, xml, xmlreader, xmlwriter, cgi-fcgi, PDO, pdo_sqlite, timezonedb, pdo_mysql
GD: Yes
ImageMagick: No
PHP max upload size: 16M
PHP max form post size: 16M
PHP memory limit: 256M
Total max uploadable file size: 16M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
DOCUMENT_ROOT: /home/iconwww/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: __utma=158794751.284475540.1457619041.1457619041.1457619041.1; __utmc=158794751; __utmz=158794751.1457619041.1.1.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); cmsa=1; PHPSESSID=0fc6766ff5d97023d1b0f471f67c48e3
HTTP_HOST: icon.themegroup.co.uk
HTTP_REFERER: https://icon.themegroup.co.uk/perch/core/settings/diagnostics/
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36
PATH: /bin:/usr/bin
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 86.139.221.117
REMOTE_PORT: 51732
REQUEST_METHOD: GET
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /home/iconwww/public_html/perch/core/settings/diagnostics/index.php
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SERVER_ADDR: 78.31.107.237
SERVER_ADMIN: webmaster@iconsolutions.com
SERVER_NAME: icon.themegroup.co.uk
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1458306337.63
REQUEST_TIME: 1458306337
argc: 1
Perch Runway by edgeofmyseat.com
Drew McLellan

Drew McLellan 2638 points
Perch Support

What happens when you click the Get Tweets button?

Ah! Failed to see that button. Yes it updated the tweets! I thought that they would come in automatically - I have it set to check every day.

In that case the problem is that they aren't being updated everyday when they should be.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Under Settings > Scheduled Tasks do you see it listed?

No - nothing is listed

Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you verified that your cron job is running?

No - how do I do that? I have ftp access..... or do I need to log into cpanel?

Drew McLellan

Drew McLellan 2638 points
Perch Support

When you installed Runway there was a step on configuring scheduled tasks. Did you follow that or did you skip it?

If you skipped it, go to the Scheduled Tasks section under Settings and follow the instructions there.