Forum
Problem in Events with Netcarver\Textile\Parser
One of my users has tried to add an Event in Perch today, after a long time of inactivity and it is generating a server 500 error. I suspect something is out of date somewhere. Events was 1.9.2 but updating hasn't fixed the issue.
The error log has the following...
[11-Jul-2016 18:00:07 UTC] PHP Warning: Unterminated comment starting line 60 in /home/cuttined/public_html/edit/core/lib/Textile.class.php on line 60
[11-Jul-2016 18:00:07 UTC] PHP Fatal error: Class 'Netcarver\Textile\Parser' not found in /home/cuttined/public_html/edit/addons/apps/perch_events/PerchEvents_Events.class.php on line 470
Here is the full diagnostics information...
Perch: 2.8.30
Production mode: Production (100)
Installed apps: content (2.8.30), assets (2.8.30), categories (2.8.30), perch_events (1.9.3)
DB driver: PDO
DB tables: perch2_categories (1), perch2_category_counts (0), perch2_category_sets (1), perch2_content_index (261), perch2_content_items (35), perch2_content_regions (2), perch2_events (115), perch2_events_categories (0), perch2_events_to_categories (0), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (1), perch2_pages (2), perch2_resource_log (66), perch2_resource_tags (0), perch2_resources (12), perch2_resources_to_tags (0), perch2_settings (33), perch2_user_passwords (0), perch2_user_privileges (29), perch2_user_role_privileges (18), perch2_user_roles (2), perch2_users (5)
Users: 5
App runtimes:
<?php
$apps_list = array(
'content',
'categories',
'perch_events',
);
Scheduled tasks for perch_events: update_category_counts (60 mins)
Editor plug-ins: markitup
H1: 08da31f9ac2b2493d4545cf50e2118cc
L1: 6e26da4f90d29cbb842f98727016619b
F1: 2edba60ed1f613d6dd804feb202456a2
headerColour: #6d84ac
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.4: done
on_sale_version: 2.8.30
perch_events_update: 1.8
headerScheme: dark
perch_events_detail_url: /events/event.php?s={eventSlug}
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
logoPath: /edit/resources/cutzz_perch.png
update_2.8.7: done
update_2.8.8: done
latest_version: 2.8.15
update_2.8.14: done
update_2.8.15: done
update_2.8.17: done
update_2.8.18: done
update_2.8.19: done
update_2.8.21: done
update_2.8.23: done
update_2.8.24: done
update_2.8.25: done
update_2.8.28: done
update_2.8.29: done
update_2.8.30: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: cuttined_perch
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: cuttined_perch
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: perch@easttown.co.uk
PERCH_EMAIL_FROM_NAME: Paul Margetson
PERCH_LOGINPATH: /edit
PERCH_PATH: /home/cuttined/public_html/edit
PERCH_CORE: /home/cuttined/public_html/edit/core
PERCH_RESFILEPATH: /home/cuttined/public_html/edit/resources
PERCH_RESPATH: /edit/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_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/cuttined/public_html/edit/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_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
Hosting settings
PHP: 5.6.23
Zend: 2.6.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: 5.5.50
MySQL server: 5.5.50-cll
Free disk space: 263.85 GB
Extensions: Core, date, ereg, 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, cgi-fcgi, bcmath, dom, gd, imap, json, exif, mcrypt, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, soap, sockets, xmlreader, xmlrpc, xmlwriter, xsl, zip, mhash
GD: Yes
ImageMagick: No
PHP max upload size: 2M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 2M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
CONTEXT_DOCUMENT_ROOT: /home/cuttined/public_html
DOCUMENT_ROOT: /home/cuttined/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: __utma=197557437.1671375561.1403362408.1429724599.1434656171.22; PHPSESSID=g24bn00q1ij4tr1kaa2cho45u2; cmsa=1; cpsession=cuttined%3a4x8ozOhRNRBJi_DG%2c01086e64cff6808ff7d3edd5e4e01fdd; timezone=Europe/London
HTTP_HOST: cuttinedge.co.uk
HTTP_REFERER: https://cuttinedge.co.uk/edit/core/settings/diagnostics/
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
PATH: /bin:/usr/bin
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 81.157.107.34
REMOTE_PORT: 51264
REQUEST_METHOD: GET
REQUEST_SCHEME: http
REQUEST_URI: /edit/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /home/cuttined/public_html/edit/core/settings/diagnostics/index.php
SCRIPT_NAME: /edit/core/settings/diagnostics/index.php
SERVER_ADDR: 193.189.74.83
SERVER_ADMIN: webmaster@cuttinedge.co.uk
SERVER_NAME: cuttinedge.co.uk
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
UNIQUE_ID: V4P1-MG9S2UAAPgpk0oAAAAK
PHP_SELF: /edit/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1468265980.3646
REQUEST_TIME: 1468265980
When does the error occur?
When submitting either a new Event or an Event Category. Although we're not using Event categories, I checked the categories to see if the error occurred there too and it does.
And presumably you're using Textile formatting on one or more of your fields?
No, Textile isn't being used as far as I can see, unless it's the default.
Can I see your template?
From the error it sounds like the
core/lib/Textile.class.php
file might not have been fully uploaded. Can you check?Fixed!
It was quite a bit smaller than the local file. Not had that happen before. I should have checked that, although the updating of Events threw me because the error persisted.
Thanks.