Forum

Thread tagged as: Error

Slug doesn't remove registered trademark symbol

Hello,

The slug field doesn't remove the ® symbol, this obviously causes issues with urls & routing in Perch Runway

Dexter Harrison

Dexter Harrison 29 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show me your diagnostics report?

Sure

Perch: 2.7.10
Production mode: Development (10)
Installed apps: content (2.7.10), assets (2.7.10), categories (2.7.10), perch_blog (4.5.4), perch_events (1.9), perch_forms (1.8.2), perch_gallery (2.8.5), collection_6 (2.7.10), collection_2 (2.7.10), perch_twitter (3.5.1)
DB driver: PDO
DB tables: perch2_backup_plans, perch2_backup_resources, perch2_backup_runs, 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_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_events, perch2_events_categories, perch2_events_to_categories, perch2_forms, perch2_forms_responses, perch2_gallery_albums, perch2_gallery_image_versions, perch2_gallery_images, 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_scheduled_tasks, 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: 6
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
        'perch_forms',
        'perch_events',
        'perch_gallery',
        'perch_blog',
        'perch_twitter',
    );
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Scheduled tasks for perch_events: update_category_counts (60 mins)
Scheduled tasks for perch_twitter: post_tweets (1 mins), update_tweets (15 mins)
Scheduled tasks for Backup: plan_1 (10 mins)
Editor plug-ins: markitup, redactor
H1: 421aa90e079fa326b6494f812ad13e79
L1: 9aefee7ac27c9c849e95dd9a3bb466d6
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.7.2: done
headerColour: rgb(54,54,54)
headerScheme: dark
latest_version: 2.7.10
on_sale_version: 2.7.10
dashboard: 1
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 1
update_2.7.3: done
perch_events_update: 1.8
perch_gallery_update: 2.8.5
perch_events_detail_url: /news/exhibitions/{eventSlug}
perch_gallery_bucket_mode: dynamic
perch_gallery_bucket: gallery
perch_gallery_basicUpload: 0
perch_blog_update: 5.0
perch_blog_post_url: /blog/2014/{postSlug}
perch_blog_slug_format: {postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
perch_blog_comment_notify: 0
perch_twitter_update: 3.5
update_2.7.4: done
logoPath: /admin/resources/Square Logo.png
update_2.7.9: done
update_2.7.10: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_SCHEDULE_SECRET: pZUmyOVMVmVQluBl
PERCH_DB_PREFIX: perch2_
PERCH_DB_USERNAME: root
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: runway
PERCH_PRODUCTION_MODE: 10
PERCH_EMAIL_FROM: webmaster@lapsafe.com
PERCH_EMAIL_FROM_NAME: LapSafe Prodcuts
PERCH_LOGINPATH: /admin
PERCH_PATH: /Users/dharrison/Dropbox/LapSafe Website/admin
PERCH_CORE: /Users/dharrison/Dropbox/LapSafe Website/admin/core
PERCH_RESFILEPATH: /Users/dharrison/Dropbox/LapSafe Website/admin/resources
PERCH_RESPATH: /admin/resources
PERCH_HTML5: 1
PERCH_TZ: UTC
PERCH_RWD: 1
PERCH_CLEAN_RESOURCES:
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_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /Users/dharrison/Dropbox/LapSafe Website/admin/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
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_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile
HOSTING SETTINGS

PHP: 5.6.2
Zend: 2.6.0
OS: Darwin
SAPI: apache2handler
Safe mode: not detected
MySQL client: 5.5.38
MySQL server: 5.5.38
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, SPL, iconv, intl, json, ldap, mbstring, mysql, mysqli, session, PDO, pdo_sqlite, standard, posix, Reflection, Phar, SimpleXML, soap, sockets, exif, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, apache2handler, imap, yaz, mcrypt, gettext, pgsql, pdo_pgsql, pdo_mysql
GD: Yes
ImageMagick: No
PHP max upload size: 32M
PHP max form post size: 32M
PHP memory limit: 128M
Total max uploadable file size: 32M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
HTTP_HOST: localhost:8888
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: cmsa=1; PHPSESSID=20902335f3c0c0a17a4f1df3c8ffcb72; SQLiteManager_currentLangue=2
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_REFERER: https://localhost:8888/admin/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip, deflate
PATH: /usr/bin:/bin:/usr/sbin:/sbin
SERVER_SOFTWARE: Apache/2.2.29 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.8 PHP/5.6.2 mod_ssl/2.2.29 OpenSSL/0.9.8zc DAV/2 mod_perl/2.0.8 Perl/v5.20.0
SERVER_NAME: localhost
SERVER_ADDR: ::1
SERVER_PORT: 8888
REMOTE_ADDR: ::1
DOCUMENT_ROOT: /Users/dharrison/Dropbox/LapSafe Website
SERVER_ADMIN: you@example.com
SCRIPT_FILENAME: /Users/dharrison/Dropbox/LapSafe Website/admin/core/settings/diagnostics/index.php
REMOTE_PORT: 55816
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /admin/core/settings/diagnostics/?extended
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
PHP_SELF: /admin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1423055911.91
REQUEST_TIME: 1423055911
argc: 1
Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, thanks, I'll have a look.

Any news on this?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, it should have got better in Perch 2.8. Did that not help for you?

We haven't tried the ® symbol but the ™ symbol still stays on the slug.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Which version are you running?

Perch Runway is up to date PHP 5.5.20 is up to date MySQL 5.5.33 is up to date Image processing available

Drew McLellan

Drew McLellan 2638 points
Perch Support

Hmm. It looks like ™ needs more work. Can you confirm that ® is being correctly transliterated for you? Your original query didn't address ™ so I'd not tested with that specifically.

Yeah sorry Drew, I didn't realise you had fixed it in the release.

the ® symbol get's converted to a r.

That's great thank you.

While you're still here to get scheduled tweets working do i have to set up the scheduled task cron job to run every minute?

Drew McLellan

Drew McLellan 2638 points
Perch Support

That depends on how accurate you need the schedule to be. Ideally yes, every minute. The script doesn't used any noticeable resources if it has no work to do.