Answers.Body: <p>This issue is not permissions related. It's a problem with CiviEvent not showing or allowing you to create more than 26 events. I can reproduce this on a fresh install of the latest version of Joomla and CiviCRM.</p>
  
  <p><a href="https://civicrm.stackexchange.com/questions/18771/cant-create-more-than-26-events-in-civievents-or-view-on-dashboard">Can&#39;t create more than 26 events in CiviEvents (or view on dashboard)</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-23T23:45:07.300Z
Answers.LastActivityDate: 2017-05-23T23:45:07.300Z
Answers.UserDisplayName: severdia
Answers.Body: <p>I believe that error is more suggesting an issue with the permissions associated with the role. it looks like you need to grant edit permissions for CiviEvents as per <a href="https://github.com/civicrm/civicrm-core/blob/master/CRM/Event/Form/ManageEvent.php#L128" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/master/CRM/Event/Form/ManageEvent.php#L128</a>.</p>
  
  <p>Those sorts of errors are typical where the role that you have has insufficient permissions defined in your content management system (CMS)</p>
  
  <p>Seamus</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-23T02:10:32.527Z
Answers.Text: I'm a Super User and all the permissions are green/allowed in the Global Configuration for CiviCRM. I used to be able to add events and the role settings have not changed since then.
Answers.UserDisplayName: severdia
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-23T02:18:24.823Z
Answers.Text: I added an edit ACL for admins in the CiviCRM config and it had no effect.
Answers.UserDisplayName: severdia
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-23T01:59:31.630Z
Answers.LastActivityDate: 2017-05-23T01:59:31.630Z
Answers.UserDisplayName: Seamus Lee
Body: <p>I'm using the latest version of CiviCRM for Joomla and trying to create a new event or copy an existing one and I'm getting this error:</p>
  
  <blockquote>
    <p>An error has occurred.  0   @import
    url(/administrator/components/com_civicrm/civicrm/css/civicrm.css);
    @import
    url(/administrator/components/com_civicrm/civicrm/bower_components/font-awesome/css/font-awesome.min.css);
       Sorry but we are not able to provide this at the
    moment. You do not
    have permission to access this page. <p>Return to home page.</p>    function toggle( element ) { var parent =
    element.parentNode; var className = parent.className; if ( className
    == 'crm-accordion-wrapper collapsed crm-fatal-error-details-block') { parent.className = 'crm-accordion-wrapper
    crm-fatal-error-details-block'; } else { parent.className =
    'crm-accordion-wrapper collapsed crm-fatal-error-details-block'; } }
    </p>
  </blockquote>
  
  <p>When I check the CiviCRM log, I see:</p>
  
  <pre><code>May 22 20:22:24  [info] $Fatal Error Details = Array
  (
      [message] =&gt; You do not have permission to access this page.
      [code] =&gt; 
  )
  
  
  May 22 20:22:24  [info] $backTrace = #0 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php(378): CRM_Core_Error::backtrace("backTrace", TRUE)
  #1 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Event/Form/ManageEvent.php(128): CRM_Core_Error::fatal("You do not have permission to access this page.")
  #2 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Event/Form/ManageEvent/EventInfo.php(47): CRM_Event_Form_ManageEvent-&gt;preProcess()
  #3 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php(543): CRM_Event_Form_ManageEvent_EventInfo-&gt;preProcess()
  #4 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Display.php(92): CRM_Core_Form-&gt;buildForm()
  #5 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display-&gt;perform(Object(CRM_Event_Form_ManageEvent_EventInfo), "display")
  #6 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller-&gt;handle(Object(CRM_Event_Form_ManageEvent_EventInfo), "display")
  #7 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page-&gt;handle("display")
  #8 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/Wrapper.php(113): CRM_Core_Controller-&gt;run()
  #9 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(283): CRM_Utils_Wrapper-&gt;run("CRM_Event_Form_ManageEvent_EventInfo", "Event Info and Settings", (Array:0))
  #10 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:14))
  #11 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
  #12 /home/mysite/public_html/administrator/components/com_civicrm/civicrm.php(121): CRM_Core_Invoke::invoke((Array:4))
  #13 /home/mysite/public_html/administrator/components/com_civicrm/civicrm.php(40): civicrm_invoke()
  #14 /home/mysite/public_html/libraries/cms/component/helper.php(394): require_once("/home/mysite/public_html/administrator/components/com_civicrm/civicrm.php")
  #15 /home/mysite/public_html/libraries/cms/component/helper.php(369): JComponentHelper::executeComponent("/home/mysite/public_html/administrator/components/com_civicrm/civicrm.php")
  #16 /home/mysite/public_html/libraries/cms/application/administrator.php(98): JComponentHelper::renderComponent("com_civicrm")
  #17 /home/mysite/public_html/libraries/cms/application/administrator.php(156): JApplicationAdministrator-&gt;dispatch()
  #18 /home/mysite/public_html/libraries/cms/application/cms.php(265): JApplicationAdministrator-&gt;doExecute()
  #19 /home/mysite/public_html/administrator/index.php(51): JApplicationCms-&gt;execute()
  #20 {main}
  </code></pre>
  
  <p>I checked the folder permissions and everything is 755. This may have started with Joomla 3.7 or 3.7.1, but I can't be sure. I also tried switching between PHP 5.6 and 7.</p>
  
  <p><a href="https://i.sstatic.net/fXuVC.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/fXuVC.png" alt="enter image description here"></a></p>
  
  <p>I did some further investigating and the event is getting created/copied in the civicrm_event table, but isn't showing up in the Events section.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-23T13:40:53.307Z
Comments.Text: I tried manually changing the component permissions in the assets table and this had no effect. It's looking more and more like a bug in CiviCRM and the way it handles permissions with Joomla 3.7+.
Comments.UserDisplayName: severdia
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-23T17:53:17.250Z
Comments.Text: When I revert the civicrm_events table back to its default, adding events works. I've noticed that the CiviCRM Database Upgrade Utility doesn't work very well. When comparing my tables with those of a default installation, columns are out of order, column comments are missing and there are various small issues with column settings (like tinyint 1 instead of 4). I've manually updated the bigger issues, but the upgrade utility should really be fixed.
Comments.UserDisplayName: severdia
Tags: <civievent><joomla>
Title: Permission error trying to create new event or copy existing
ThreadText: # Permission error trying to create new event or copy existing
  
  (Asked by: username_0 on 2017-05-23)
  
  I'm using the latest version of CiviCRM for Joomla and trying to create a new event or copy an existing one and I'm getting this error:
  
  An error has occurred.  0   @import
    url(/administrator/components/com_civicrm/civicrm/css/civicrm.css);
    @import
    url(/administrator/components/com_civicrm/civicrm/bower_components/font-awesome/css/font-awesome.min.css);
       Sorry but we are not able to provide this at the
    moment. You do not
    have permission to access this page. Return to home page.    function toggle( element ) { var parent =
    element.parentNode; var className = parent.className; if ( className
    == 'crm-accordion-wrapper collapsed crm-fatal-error-details-block') { parent.className = 'crm-accordion-wrapper
    crm-fatal-error-details-block'; } else { parent.className =
    'crm-accordion-wrapper collapsed crm-fatal-error-details-block'; } }
    
  
  When I check the CiviCRM log, I see:
  May 22 20:22:24  [info] $Fatal Error Details = Array
  (
      [message] => You do not have permission to access this page.
      [code] => 
  )
  
  
  May 22 20:22:24  [info] $backTrace = #0 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php(378): CRM_Core_Error::backtrace("backTrace", TRUE)
  #1 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Event/Form/ManageEvent.php(128): CRM_Core_Error::fatal("You do not have permission to access this page.")
  #2 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Event/Form/ManageEvent/EventInfo.php(47): CRM_Event_Form_ManageEvent->preProcess()
  #3 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php(543): CRM_Event_Form_ManageEvent_EventInfo->preProcess()
  #4 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Display.php(92): CRM_Core_Form->buildForm()
  #5 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Event_Form_ManageEvent_EventInfo), "display")
  #6 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Event_Form_ManageEvent_EventInfo), "display")
  #7 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle("display")
  #8 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/Wrapper.php(113): CRM_Core_Controller->run()
  #9 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(283): CRM_Utils_Wrapper->run("CRM_Event_Form_ManageEvent_EventInfo", "Event Info and Settings", (Array:0))
  #10 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:14))
  #11 /home/mysite/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
  #12 /home/mysite/public_html/administrator/components/com_civicrm/civicrm.php(121): CRM_Core_Invoke::invoke((Array:4))
  #13 /home/mysite/public_html/administrator/components/com_civicrm/civicrm.php(40): civicrm_invoke()
  #14 /home/mysite/public_html/libraries/cms/component/helper.php(394): require_once("/home/mysite/public_html/administrator/components/com_civicrm/civicrm.php")
  #15 /home/mysite/public_html/libraries/cms/component/helper.php(369): JComponentHelper::executeComponent("/home/mysite/public_html/administrator/components/com_civicrm/civicrm.php")
  #16 /home/mysite/public_html/libraries/cms/application/administrator.php(98): JComponentHelper::renderComponent("com_civicrm")
  #17 /home/mysite/public_html/libraries/cms/application/administrator.php(156): JApplicationAdministrator->dispatch()
  #18 /home/mysite/public_html/libraries/cms/application/cms.php(265): JApplicationAdministrator->doExecute()
  #19 /home/mysite/public_html/administrator/index.php(51): JApplicationCms->execute()
  #20 {main}
  
  I checked the folder permissions and everything is 755. This may have started with Joomla 3.7 or 3.7.1, but I can't be sure. I also tried switching between PHP 5.6 and 7.
  
  I did some further investigating and the event is getting created/copied in the civicrm_event table, but isn't showing up in the Events section.
  
  **Tags:** civievent, joomla
  
  > **Comments:**
  > **username_0**: I tried manually changing the component permissions in the assets table and this had no effect. It's looking more and more like a bug in CiviCRM and the way it handles permissions with Joomla 3.7+.  
  > **username_0**: When I revert the civicrm_events table back to its default, adding events works. I've noticed that the CiviCRM Database Upgrade Utility doesn't work very well. When comparing my tables with those of a default installation, columns are out of order, column comments are missing and there are various small issues with column settings (like tinyint 1 instead of 4). I've manually updated the bigger issues, but the upgrade utility should really be fixed.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2017-05-23. Score: 1
  
  This issue is not permissions related. It's a problem with CiviEvent not showing or allowing you to create more than 26 events. I can reproduce this on a fresh install of the latest version of Joomla and CiviCRM.
  
  [Can't create more than 26 events in CiviEvents (or view on dashboard)](https://civicrm.stackexchange.com/questions/18771/cant-create-more-than-26-events-in-civievents-or-view-on-dashboard)
  
  
  ---
  
  ### Answer by username_1 on 2017-05-23. Score: 0
  
  I believe that error is more suggesting an issue with the permissions associated with the role. it looks like you need to grant edit permissions for CiviEvents as per <https://github.com/civicrm/civicrm-core/blob/master/CRM/Event/Form/ManageEvent.php#L128>.
  
  Those sorts of errors are typical where the role that you have has insufficient permissions defined in your content management system (CMS)
  
  Seamus
  
  > **Comments:**
  > **username_0**: I'm a Super User and all the permissions are green/allowed in the Global Configuration for CiviCRM. I used to be able to add events and the role settings have not changed since then.  
  > **username_0**: I added an edit ACL for admins in the CiviCRM config and it had no effect.  
  
  ---
  
  