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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Internal Server Error on Event Registrations
Pages: [1]

Author Topic: Internal Server Error on Event Registrations  (Read 1193 times)

kgilnack

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • a beautiful mix of Drupal & CiviCRM.. when things are going right
Internal Server Error on Event Registrations
April 16, 2010, 12:06:33 pm
Recently visitors on our site who try to register for an event have been receiving a Internal Server Error - usually after the Confirmation screen, but occasionally right after submitting the registration profile.

This is what the Civi logs had to say about it:
Quote
Apr 15 15:27:37  [info] $Fatal Error Details = Array
(
    [message] => The page you requested is currently unavailable.
    [c ode] =>
)


Apr 15 15:27:37  [info] $backTrace = .../sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 265
.../sites/all/modules/civicrm/CRM/Event/Page/EventInfo.php, fatal, 81
.../sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 205
.../sites/all/modules/civicrm/drupal/civicrm.module, invoke, 342
, civicrm_invoke,
.../includes/menu.inc, call_user_func_array, 348
.../drupal/index.php, menu_execute_active_handler, 18

I'm at a loss of where to start hear because our host cannot find any server-side issues, but we also haven't made any significant changes like module updates.  The only recent changes I'm aware of are the creation of new CiviEvents and nodes in Drupal, and tinkering with some views.
« Last Edit: April 16, 2010, 12:10:07 pm by kgilnack »

kgilnack

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • a beautiful mix of Drupal & CiviCRM.. when things are going right
Re: Internal Server Error on Event Registrations
April 16, 2010, 12:25:54 pm
Not sure if this is related, but two additional pieces of info:
1. Adding existing users to an event through their profile is working fine.
2. When creating new users, we generate many errors like these:
Quote
Type   php
Date   Friday, April 16, 2010 - 14:48
User   agroves
Location   http://providers.org/sites/default/files/css/0651f26a0480afdc97c3fb4329cb5fdf.css
Referrer   http://providers.org/civicrm/contact/add
Message   Duplicate entry 'admin/content/node-type/weblink/map/delete/%' for key 'PRIMARY' query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, page_callback, page_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('admin/content/node-type/weblink/map/delete/%', 'a:1:{i:6;N;}', '', 'feedapi_mapper_access_mapper', 'a:1:{i:0;i:3;}', 'drupal_get_form', 'a:3:{i:0;s:26:\"feedapi_mapper_delete_form\";i:1;i:3;i:2;i:6;}', 126, 7, 'admin/content/node-type/weblink/map', 'admin/content/node-type/weblink', 'Delete', 't', '', 128, '', '', '', 0, '') in /nfs/home3/home3/m/mchsp/drupal/includes/menu.inc on line 2423.
Severity   error
Hostname   209.104.226.178
Operations   

Quote
Type   php
Date   Friday, April 16, 2010 - 14:48
User   agroves
Location   http://providers.org/sites/default/files/css/0651f26a0480afdc97c3fb4329cb5fdf.css
Referrer   http://providers.org/civicrm/contact/add
Message   Duplicate entry 'admin/content/node-type/tellafriend-node/map/delete/%' for key 'PRIMARY' query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, page_callback, page_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('admin/content/node-type/tellafriend-node/map/delete/%', 'a:1:{i:6;N;}', '', 'feedapi_mapper_access_mapper', 'a:1:{i:0;i:3;}', 'drupal_get_form', 'a:3:{i:0;s:26:\"feedapi_mapper_delete_form\";i:1;i:3;i:2;i:6;}', 126, 7, 'admin/content/node-type/tellafriend-node/map', 'admin/content/node-type/tellafriend-node', 'Delete', 't', '', 128, '', '', '', 0, '') in /nfs/home3/home3/m/mchsp/drupal/includes/menu.inc on line 2423.
Severity   error
Hostname   209.104.226.178
Operations   

Quote
Type   php
Date   Friday, April 16, 2010 - 14:48
User   agroves
Location   http://providers.org/sites/default/files/css/0651f26a0480afdc97c3fb4329cb5fdf.css
Referrer   http://providers.org/civicrm/contact/add
Message   Duplicate entry 'admin/content/node-type/webform/map/delete/%' for key 'PRIMARY' query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, page_callback, page_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('admin/content/node-type/webform/map/delete/%', 'a:1:{i:6;N;}', '', 'feedapi_mapper_access_mapper', 'a:1:{i:0;i:3;}', 'drupal_get_form', 'a:3:{i:0;s:26:\"feedapi_mapper_delete_form\";i:1;i:3;i:2;i:6;}', 126, 7, 'admin/content/node-type/webform/map', 'admin/content/node-type/webform', 'Delete', 't', '', 128, '', '', '', 0, '') in /nfs/home3/home3/m/mchsp/drupal/includes/menu.inc on line 2423.
Severity   error
Hostname   209.104.226.178
Operations   

kgilnack

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • a beautiful mix of Drupal & CiviCRM.. when things are going right
Re: Internal Server Error on Event Registrations
April 16, 2010, 01:12:25 pm
Here is yet more information that I hope will help offer insight into what's going wrong here..
Quote
CiviCRM error at Providers' Council ============================ CIVICRM ERROR ============================ message: Could not find valid value for id
c ode: ============================ PHP ERROR ============================ 0:
============================ USER ============================ uid: 0
hostname: 208.95.104.27 roles: Array ( [1] => anonymous user ) session:
cache: 0 ============================ SERVER ============================
CONTENT_LENGTH: 0 DOCUMENT_ROOT: /home3/m/mchsp/drupal GATEWAY_INTERFACE:
CGI/1.1 HTTP_HOST: providers.org HTTP_USER_AGENT: Drupal
(+http://drupal.org/) PATH: /bin:/usr/bin:/usr/local/bin PHPRC:
/home3/m/mchsp/conf/php5/ QUERY_STRING: q=civicrm/event/info REDIRECT_QUERY_STRING:q=civicrm/event/info
REDIRECT_SCRIPT_URI:http://www.providers.org/civicrm/event/info
REDIRECT_SCRIPT_URL:/civicrm/event/info REDIRECT_STATUS: 200
REDIRECT_UNIQUE_ID: S8jDEtBfaBsAAGAVJ-8 REDIRECT_URL: /civicrm/event/info
REMOTE_ADDR: 208.95.104.27 REMOTE_PORT: 55405 REQUEST_METHOD: GET
REQUEST_URI: /civicrm/event/info SCRIPT_FILENAME:
/home3/m/mchsp/drupal/index.php SCRIPT_NAME: /index.php SCRIPT_URI:
http://www.providers.org/civicrm/event/info SCRIPT_URL: /civicrm/event/info
SERVER_ADDR: 208.95.104.27 SERVER_ADMIN: mchsp@kattare.com SERVER_NAME:
www.providers.org SERVER_PORT: 80 SERVER_PROTOCOL: HTTP/1.0 SERVER_SIGNATURE:
SERVER_SOFTWARE: Apache UNIQUE_ID: S8jDEtBfaBsAAGAVJ-8 PHP_SELF: /index.php
REQUEST_TIME: 1271448338 ============================ SESSION ============================ CiviCRM: Array ( [CRM_Event_Page_EventInfo] => Array ( ) ) ============================ REQUEST ============================
q: civicrm/event/info IDS_request_uri: /civicrm/event/info IDS_user_agent:
Drupal (+http://drupal.org/) ============================ BACKTRACE ============================ ------------------------------- next call
------------------------------- file:
/nfs/home3/home3/m/mchsp/drupal/sites/all/modules/civicrm/CRM/Core/Error.php
line: 249 function: civicrm_error_handler args: Array (
  • => Array ( [message] => Could not find valid value for id [c ode] => ) )

------------------------------- next call -------------------------------
file:
/nfs/home3/home3/m/mchsp/drupal/sites/all/modules/civicrm/CRM/Utils/Request.php
line: 108 function: fatal class: CRM_Core_Error type: :: args: Array (
  • => Could not find valid value for id ) ------------------------------- next call

------------------------------- file:
/nfs/home3/home3/m/mchsp/drupal/sites/all/modules/civicrm/CRM/Event/Page/EventInfo.php
line: 58 function: retrieve class: CRM_Utils_Request type: :: args: Array (
  • => id [1] => Positive [2] => CRM_Event_Page_EventInfo Object ( [_name:protected] => CRM_Event_Page_EventInfo [_title:protected] => Event Information [_mode:protected] => null [_embedded:protected] => [_print:protected] => ) [3] => 1 ) ------------------------------- next call

------------------------------- file:
/nfs/home3/home3/m/mchsp/drupal/sites/all/modules/civicrm/CRM/Core/Invoke.php
line: 205 function: run class: CRM_Event_Page_EventInfo type: -> object:
CRM_Event_Page_EventInfo Object ( [_name:protected] => CRM_Event_Page_EventInfo [_title:protected] => Event Information [_mode:protected] => null [_embedded:protected] => [_print:protected] => )
args: Array (
  • => Array (
  • => civicrm [1] => event [2] => info ) [1] =>

) ------------------------------- next call -------------------------------
file:
/nfs/home3/home3/m/mchsp/drupal/sites/all/modules/civicrm/drupal/civicrm.module
line: 342 function: invoke class: CRM_Core_Invoke type: :: args: Array (
  • => Array (
  • => civicrm [1] => event [2] => info ) )

------------------------------- next call -------------------------------
function: civicrm_invoke args: Array (
  • => event [1] => info )

------------------------------- next call -------------------------------
file: /nfs/home3/home3/m/mchsp/drupal/includes/menu.inc line: 348 function:
call_user_func_array args: Array (
  • => civicrm_invoke [1] => Array (
  • => event [1] => info ) ) ------------------------------- next call

------------------------------- file:
/nfs/home3/home3/m/mchsp/drupal/index.php line: 18 function:
menu_execute_active_handler args: Array ( )

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: Internal Server Error on Event Registrations
April 20, 2010, 12:26:25 pm

your best bet will be to work with your integrator in diagnosing and fixing this issue

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

kgilnack

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • a beautiful mix of Drupal & CiviCRM.. when things are going right
Re: Internal Server Error on Event Registrations
May 03, 2010, 12:15:22 pm
In case anyone stumbles on this thread, it turns out the issue started with our host upgrading from PHP 5.2.11RC2 to 5.2.13.

We're still trying to figure out what that caused the problem - and any ideas would be appreciated - but if you're having similar problems with CiviCRM 2.2.5, be sure to see if your host changed anything.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Internal Server Error on Event Registrations

This forum was archived on 2017-11-26.