CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Permission Denied while Creating New Event
Pages: 1 2 [3]

Author Topic: Permission Denied while Creating New Event  (Read 3375 times)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Permission Denied while Creating New Event
June 23, 2011, 09:16:31 am

IRC is a good venue. However not sure we can add a lot more than what hershel did

http://webchat.freenode.net/?channels=#civicrm

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

crypto

  • I’m new here
  • *
  • Posts: 18
  • Karma: 0
  • CiviCRM version: 3.4.2
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.17
Re: Permission Denied while Creating New Event
June 28, 2011, 05:49:56 am
I finally managed to get this working. The issue was with the mod_security rules which were blocking many of the civicrm triggers. My hosting support added each of the rules in the whitelist which solved the problem. Hope this helps anyone else who has the same problem. I'd even appreciate a note regarding this in the civicrm documentation for users to track mod_security logs if they ran into these kind of issues.

Although, I have been into drupal for last 8 years or so, this is the first time I'm using civicrm and I was really feeling disappointed with it but I'm much more happy now. Credit to all the guys out there who are supporting this wonderful CRM.

Cheers
- Crypto

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Permission Denied while Creating New Event
June 28, 2011, 08:18:14 am

hey crypto:

can u please elaborate a bit more on what rules in mod_security were blocking civicrm? Adding this info to the install docs would be great and helpful to others. The wiki is community editable

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

crypto

  • I’m new here
  • *
  • Posts: 18
  • Karma: 0
  • CiviCRM version: 3.4.2
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.17
Re: Permission Denied while Creating New Event
June 30, 2011, 09:43:12 am
Since my account is on a shared hosting, I didn't get much details. But here are the URLs that were whitelisted:

<LocationMatch "/civicrm/event/add">
  SecRuleRemoveById 340147 340148 340149
</LocationMatch>

<LocationMatch "/civicrm/report/instance/*">
  SecRuleRemoveById 340147 340148 340149
</LocationMatch>

<LocationMatch "/civicrm/member/import">
  SecRuleRemoveById 340147 340148 340149
</LocationMatch>

Hope it helps others.

- Crypto

Pages: 1 2 [3]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Permission Denied while Creating New Event

This forum was archived on 2017-11-26.