Forum

Thread tagged as: Problem, Events

Perch Events - editor role cannot add events

Hi,

I have a client calling me on the weekend, because they no longer can add new Events. In my testing just now, only admins can add new events in the Perch UI.

Events 1.9.5 Perch: 3.0.10

Summary information

Perch: 3.0.10, PHP: 7.1.9-1+ubuntu16.04.1+deb.sury.org+1, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $, with PDO
Server OS: Linux, fpm-fcgi
Installed apps: content (3.0.10), assets (3.0.10), categories (3.0.10), perch_events (1.9.5), perch_forms (1.9.1)
App runtimes: <?php $apps_list = array( 'perch_forms', 'perch_events' );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/forge/www.sitename.org.uk/public/perch
PERCH_CORE: /home/forge/www.sitename.org.uk/public/perch/core
PERCH_RESFILEPATH: /home/forge/www.sitename.org.uk/public/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 24M, Max POST 24M, Memory: 512M, Total max file upload: 24M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
HTTP_HOST: www.sitename.org.uk
DOCUMENT_ROOT: /home/forge/www.sitename.org.uk/public
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

Before updating perch to v 3 recently and also inline with that, events, all was fine...

I have tried the 'manual update' to see if that helps, but no joy: when logged in as the 'Editor' role, the 'Add Event' button does not show at the top right of the Perch UI.

Any speedy tips or an update to the Perch / Events codebase would be appreciated.

Adam

Adam Menczykowski

Adam Menczykowski 1 points

  • 3 years ago

Note, I just added 'content' and 'categories' to apps.php but to no avail.

Duncan Revell

Duncan Revell 78 points
Registered Developer

Have a search through the forum - others have had similar issues.

Here’s one example:
https://forum.grabaperch.com/forum/08-31-2017-user-cannot-add-events

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, it's a known issue.

This is from the other linked thread on this issue.

Drew McLellan said:

define('PERCH_PRODUCTION_MODE', PERCH_DEVELOPMENT);  
define('PERCH_PRIV_ASSIST', true);

Then visit the page in the control panel where the button should be. That should trigger the privilege to be added.

Log back in as the admin and enable the new privilege for the roles that should have it.