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 (Moderator: Dave Greenberg) »
  • Thank You Page Not Displaying, Getting HTTP 500 Error Instead
Pages: [1]

Author Topic: Thank You Page Not Displaying, Getting HTTP 500 Error Instead  (Read 1019 times)

nyccahnyc

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.27
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.3.3
Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 13, 2015, 12:25:40 pm
Hi - after a civicrm upgrade to 4.5.8, users who register and pay for an event are receiving a HTTP 500 error page instead of the standard thank you page. This only happens with event pages.  Contribution pages work as they should.  I have disabled all extensions but the thank you page is still not displaying with all extensions disabled.  I've added images of the error in both IE and FF. We are using drupal 7. Any  help in solving this problem is much appreciated.

Thanks,

Carrette

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 14, 2015, 02:09:08 pm
Can you check your server logs for a PHP error? Or ask your host for that?

Alternatively, enable debugging in CiviCRM and perhaps it will log the error.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

nyccahnyc

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.27
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.3.3
Re: Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 17, 2015, 09:46:15 am
Hi Hershel - apologies for the delayed response.  I did turn the debugging on, but their was no output in the FF and IE console. I attached screenshots of the consoles with no error output.  I'll ask our web server host at Mayfirst about any PHP errors in the logs and post back as soon as I get a response.  Also, could this be a redirect issue and if so, where would I look to correct it??

Thanks,

Carrette
 

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 17, 2015, 10:32:00 am
It is not a redirect error. You can tell CiviCRM to also record debug information in its own log files and check there.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

nyccahnyc

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.27
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.3.3
Re: Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 17, 2015, 12:08:05 pm
For some reason, I could enable the debugging settings today, so I turned on the drupal watchdog logging for civi.  I then tried purchasing a ticket through the event page and received the same error message. I've attached screen shots of the the 2 entries that showed up in the drupal logs.  Hopefully, this will identify the issue and how to fix it.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 17, 2015, 12:13:53 pm
It's hard to read your images (would be better to post the text) but it looks like the error is that it can't find a valid value for id, but it's not clear what id. I am unable to determine what the issue from this output. :(

Can you make a new event page and see if it also fails? Perhaps just the old ones fail.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

nyccahnyc

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.27
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.3.3
Re: Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 17, 2015, 12:19:55 pm
That's the first thing I did when I started to troubleshoot the issue and the new one failed.  I then tried an existing donation page and that worked as it should, and displayed the thank you page.  So it seems to be very specific to the events pages.  Here is the text for both of the errors showing up in the drupal logs:

1st error message in log:

$Fatal Error Details = Array ( [message] => Could not find valid value for id
Code: [Select]
=> )

debug

[b]2nd error message in log:[/b]

$backTrace = #0 /home/members/nyccah/sites/nyccah.org/web/sites/all/modules/civicrm/CRM/Core/Error.php(387): CRM_Core_Error::backtrace("backTrace", TRUE) #1 /home/members/nyccah/sites/nyccah.org/web/sites/all/modules/civicrm/CRM/Utils/Request.php(105): CRM_Core_Error::fatal("Could not find valid value for id") #2 /home/members/nyccah/sites/nyccah.org/web/sites/all/modules/civicrm/CRM/Event/StateMachine/Registration.php(53): CRM_Utils_Request::retrieve("id", "Positive", Object(CRM_Event_Controller_Registration), TRUE) #3 /home/members/nyccah/sites/nyccah.org/web/sites/all/modules/civicrm/CRM/Event/Controller/Registration.php(43): CRM_Event_StateMachine_Registration->__construct(Object(CRM_Event_Controller_Registration), TRUE) #4 /home/members/nyccah/sites/nyccah.org/web/sites/all/modules/civicrm/CRM/Core/Invoke.php(330): CRM_Event_Controller_Registration->__construct("Event Registration", TRUE, "null", NULL, "false") #5 /home/members/nyccah/sites/nyccah.org/web/sites/all/modules/civicrm/CRM/Core/Invoke.php(79): CRM_Core_Invoke::runItem((Array:15)) #6 /home/members/nyccah/sites/nyccah.org/web/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3)) #7 /home/members/nyccah/sites/nyccah.org/web/sites/all/modules/civicrm/drupal/civicrm.module(457): CRM_Core_Invoke::invoke((Array:3)) #8 [internal function](): civicrm_invoke("event", "register") #9 /usr/local/share/drupal-7.34/includes/menu.inc(517): call_user_func_array("civicrm_invoke", (Array:2)) #10 /usr/local/share/drupal-7.34/index.php(21): menu_execute_active_handler() #11 {main}

debug

Hope this is more helpful.







nyccahnyc

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.27
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.3.3
Re: Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 17, 2015, 12:44:07 pm
Hi Hershel - I went back to the event page and changed the type from fundraiser to registration and got the following errors logged to drupal when I tried to purchase a ticket:

https://nyccah.org/civicrm/event/register?_qf_Confirm_display=true&qfKey=4c8bc32671abc6663b03f8699f485c84_1728

Message   Notice: Undefined index: metric in CRM_Core_BAO_PdfFormat::retrieve() (line 316 of /home/members/nyccah/sites/nyccah.org/web/sites/all/modules/civicrm/CRM/Core/BAO/PdfFormat.php).


https://nyccah.org/civicrm/event/register
Referrer   https://nyccah.org/civicrm/event/register?_qf_Confirm_display=true&qfKey=4c8bc32671abc6663b03f8699f485c84_1728
Message   Notice: Undefined index: metric in CRM_Core_BAO_PdfFormat::retrieve() (line 316 of /home/members/nyccah/sites/nyccah.org/web/sites/all/modules/civicrm/CRM/Core/BAO/PdfFormat.php).


Hope this is even more helpful.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 17, 2015, 12:48:19 pm
Can you disable the PDF attachments in the emails and see if that helps?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

nyccahnyc

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.27
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.3.3
Re: Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 17, 2015, 01:05:31 pm
Hi Hershel - you are fantastic! that solved the problem.

Thanks so much,

Carrette

nyccahnyc

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.27
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.3.3
Re: Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 18, 2015, 10:38:20 am
Hi Hershel - I was wondering if you think that this error was specific to our installation or if it's a bug that I should report?

Thanks,

Carrette

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Thank You Page Not Displaying, Getting HTTP 500 Error Instead
March 18, 2015, 12:40:10 pm
It appears to be something with your install or your server as most users are able to use PDF attachments without problem.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Thank You Page Not Displaying, Getting HTTP 500 Error Instead

This forum was archived on 2017-11-26.