Forum

Thread tagged as: Question, Problem, Events

Editor role has no access to Events

Hi,

Our editors don't have access to the Events app to add/amend events, everything is up-to-date as far as I can tell. But Events isn't listed under Roles on the user settings app. Do you have any ideas what could be causing this?

Thanks in Advance

Perch: 2.8.13, PHP: 5.5.30, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.13), assets (2.8.13), categories (2.8.13), perch_events (1.9.2), perch_forms (1.8.3), perch_gallery (2.8.6), perch_backup (1.2)
App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_gallery/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_forms/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_categories/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_events/runtime.php'); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /homepages/44/d428827245/htdocs/httpdocs/perch
PERCH_CORE: /homepages/44/d428827245/htdocs/httpdocs/perch/core
PERCH_RESFILEPATH: /homepages/44/d428827245/htdocs/httpdocs/perch/resources
Image manipulation: GD
PHP limits: Max upload 40M, Max POST 8M, Memory: 120M, Total max file upload: 8M
Resource folder writeable: Yes
HTTP_HOST: www.rcet.org.uk
DOCUMENT_ROOT: /kunden/homepages/44/d428827245/htdocs/httpdocs
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Paul McGinnity

Paul McGinnity 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show me your extended diagnostics?

Sure here they are…

PERCH INFORMATION

Perch: 2.8.13
Production mode: Production (100)
Installed apps: content (2.8.13), assets (2.8.13), categories (2.8.13), perch_events (1.9.2), perch_forms (1.8.3), perch_gallery (2.8.6), perch_backup (1.2)
DB driver: PDO
DB tables: perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_content_resources, 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_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 21
App runtimes:
<?php
    include(PERCH_PATH.'/core/apps/content/runtime.php');
    include(PERCH_PATH.'/addons/apps/perch_gallery/runtime.php');
    include(PERCH_PATH.'/addons/apps/perch_forms/runtime.php');
    include(PERCH_PATH.'/addons/apps/perch_categories/runtime.php');
    include(PERCH_PATH.'/addons/apps/perch_events/runtime.php');
?>
Scheduled tasks for perch_events: update_category_counts (60 mins)
Editor plug-ins: markitup, redactor, tinymce
H1: 0d5599a3e5115db6954ca63f8a844469
L1: 8f318f45b193e002cd527bbc13c8824e
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: https://www.rcet.org.uk
hideBranding: 1
content_collapseList: 1
lang: en-gb
latest_version: 2.8.8
headerScheme: light
dashboard: 1
content_hideNonEditableRegions: 1
perch_gallery_basicUpload: 0
logoPath: /perch/resources/rcet-logo-copy.png
update_2.3.2: done
perch_gallery_update: 2.8.5
on_sale_version: 2.8.13
update_2.7.10: done
perch_events_update: 1.8
perch_backup_mysqldump_path:
perch_events_detail_url: /events/event.php?event={eventSlug}
perch_gallery_bucket_mode: single
perch_gallery_bucket: default
hide_pwd_reset: 0
content_frontend_edit: 1
update_2.8.8: done
update_2.8.13: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: dbo568021853
PERCH_DB_SERVER: db568021853.db.1and1.com
PERCH_DB_DATABASE: db568021853
PERCH_DB_PREFIX: perch2_
PERCH_EMAIL_FROM: admin@rcet.org.uk
PERCH_EMAIL_FROM_NAME: RCET
PERCH_LOGINPATH: /perch
PERCH_PATH: /homepages/44/d428827245/htdocs/httpdocs/perch
PERCH_CORE: /homepages/44/d428827245/htdocs/httpdocs/perch/core
PERCH_RESFILEPATH: /homepages/44/d428827245/htdocs/httpdocs/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_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /homepages/44/d428827245/htdocs/httpdocs/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
HOSTING SETTINGS

PHP: 5.5.30
Zend: 2.5.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $
MySQL server: 5.1.73-log
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, intl, json, mbstring, mcrypt, standard, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, imap, shmop, SimpleXML, soap, mysqli, exif, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, mysql, cgi-fcgi
GD: Yes
ImageMagick: No
PHP max upload size: 40M
PHP max form post size: 8M
PHP memory limit: 120M
Total max uploadable file size: 8M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
REDIRECT_UNIQUE_ID: Vh-NwAouBc4AAFvJa2gAAAA2
REDIRECT_SCRIPT_URL: /perch/core/settings/diagnostics/
REDIRECT_SCRIPT_URI: https://www.rcet.org.uk/perch/core/settings/diagnostics/
REDIRECT_DOCUMENT_ROOT: /kunden/homepages/44/d428827245/htdocs/httpdocs
REDIRECT_UI_SUEXEC_DEFAULT_CHROOT_ID: 2
REDIRECT_UI_SUEXEC_FSTATD_UNIXSOCKET: /var/run/ui-fstatd.suexec.socket
REDIRECT_HANDLER: x-mapp-php5
REDIRECT_STATUS: 200
UNIQUE_ID: Vh-NwAouBc4AAFvJa2gAAAA2
SCRIPT_URL: /perch/core/settings/diagnostics/
SCRIPT_URI: https://www.rcet.org.uk/perch/core/settings/diagnostics/
UI_SUEXEC_DEFAULT_CHROOT_ID: 2
DBENTRY_HOST: rcet.org.uk
DBENTRY_VALUE: /kunden/homepages/44/d428827245/htdocs/httpdocs:d0000#CPU 40 #MEM 81920 #CGI 786762 #NPROC 15 #TAID 70108353 #LANG 1 #STAT 1 #CHROOT 6
DBENTRY_DOCROOT: /kunden/homepages/44/d428827245/htdocs/httpdocs
DBENTRY_HASH: d0000
DBENTRY__CPU: 40
DBENTRY__MEM: 81920
DBENTRY__CGI: 786762
DBENTRY__NPROC: 15
DBENTRY__TAID: 70108353
DBENTRY__LANG: 1
DBENTRY__STAT: 1
DBENTRY__CHROOT: 6
DBENTRY: /kunden/homepages/44/d428827245/htdocs/httpdocs:d0000#CPU 40 #MEM 81920 #CGI 786762 #NPROC 15 #TAID 70108353 #LANG 1 #STAT 1 #CHROOT 6
HTTP_HOST: www.rcet.org.uk
HTTP_CONNECTION: keep-alive
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
HTTP_REFERER: https://www.rcet.org.uk/perch/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_COOKIE: cmsa=1; __utma=103908227.792277417.1444839777.1444900061.1444915124.3; __utmc=103908227; __utmz=103908227.1444839777.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); PHPSESSID=b7c9b1aef7ba3d8a40099cb085b0b095
PATH: /bin:/usr/bin
SERVER_SOFTWARE: Apache
SERVER_NAME: rcet.org.uk
SERVER_ADDR: 217.160.65.237
SERVER_PORT: 80
REMOTE_ADDR: 86.182.21.146
DOCUMENT_ROOT: /kunden/homepages/44/d428827245/htdocs/httpdocs
SERVER_ADMIN: webmaster@rcet.org.uk
SCRIPT_FILENAME: /kunden/homepages/44/d428827245/htdocs/httpdocs/perch/core/settings/diagnostics/index.php
REMOTE_PORT: 51414
REDIRECT_QUERY_STRING: extended
REDIRECT_URL: /perch/core/settings/diagnostics/index.php
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
STATUS: 200
ORIG_PATH_INFO: /perch/core/settings/diagnostics/index.php
ORIG_PATH_TRANSLATED: /kunden/homepages/44/d428827245/htdocs/httpdocs/perch/core/settings/diagnostics/index.php
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1444924864.4499
REQUEST_TIME: 1444924864
argc: 1
Drew McLellan

Drew McLellan 2638 points
Perch Support

Thanks - not the problem I was thinking though. Hmm.

Can you try the following in a page that includes the Perch runtime? You should just need to load it once - it won't output anything. You can then remove it.

    $API = new PerchAPI(1.0, 'perch_events');
    $UserPrivileges = $API->get('UserPrivileges');
    $UserPrivileges->create_privilege('perch_events', 'Access events');
    $UserPrivileges->create_privilege('perch_events.categories.manage', 'Manage categories');

Thanks Drew, that worked.

Paul.