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) »
  • 403 Errors Trying to Create an Event
Pages: [1]

Author Topic: 403 Errors Trying to Create an Event  (Read 1244 times)

SWD

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6.22
  • MySQL version: 5.5.20
  • PHP version: 5.3.9
403 Errors Trying to Create an Event
January 15, 2012, 06:15:09 pm
Hi everyone,
We thought we had CiviCRM installed and working but have discovered one it's key functions - Adding an Event - is generating a 403 Forbidden Error when we try to create the Event. 

The URL where the error occurs is /civicrm/event/add
It happens when I click on the Continue button.  The event does not get created.  I am logged in as Administrator and have confirmed that the Admin does have access to the CiviEvents component.

We are running Drupal 6.22 with CiviCRM 3.4.8.

As far as I can tell there are no events in the Drupal log which are related to this error.  In fact I'm not even seeing the 403 error despite having CiviCRM set up to log it's errors to Drupal. 

Any help on where to look or how I can debug this issue would be hugely appreciated.  I'm a relative newbie to the CiviCRM (and Drupal) world so please be gentle!!

Regards
Josh

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: 403 Errors Trying to Create an Event
January 15, 2012, 07:39:10 pm

whats the url before u click continue and after that

ensure that they both are example.com OR www.example.com and not a mixture

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

SWD

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6.22
  • MySQL version: 5.5.20
  • PHP version: 5.3.9
Re: 403 Errors Trying to Create an Event
January 15, 2012, 07:56:06 pm
Hi there Donald... indeed they do share the same domain name.
About the only difference I could see was the when I click on Add Event the URL looks like this:
http://www.example.com/civicrm/event/add?reset=1&action=add

But when I click submit and get the forbidden error the URL is:
http://www.example.com/civicrm/event/add

Not sure that helps but it's all I can see that is out of the ordinary.

Josh

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: 403 Errors Trying to Create an Event
January 16, 2012, 07:48:11 am

U'll need to trace thru the code and debug this.

U can start off at CRM/Core/Invoke.php, function invoke

and trace the code from there

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • 403 Errors Trying to Create an Event

This forum was archived on 2017-11-26.