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 »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • event registration gives me blank page (mail returned failure?)
Pages: [1]

Author Topic: event registration gives me blank page (mail returned failure?)  (Read 1536 times)

demonic_Cat

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: CiviCRM 4.2.7
  • CMS version: Drupal 7.26
  • MySQL version: ?
  • PHP version: ?
event registration gives me blank page (mail returned failure?)
February 25, 2014, 01:40:36 pm
Hi,

I use CiviCRM connected to Drupal. I show a list of events in Drupal, but the events themself are managed in CiviCRM.
I show all the details of the event, people can input the information for the registration and click the continue button to send the confirmation.
That's the moment where it goes wrong... You can press the button, it shows that it's busy for quite a while, and then you end up on a blank page.. When i go check in CiviCRM the registration is performed, but it's not very user friendly to just let users end on a blank page not knowing if their registration went ok or not...  :-\
Something goes wrong, and from the loggings I think with CiviMail configuration?, but I can't seem to figure out what's the problem or how to fix it..

Logging:

Feb 18 17:52:42  [info] Ignoring exception thrown by nullHandler: , mail() returned failure

Feb 18 17:52:42  [info] $backTrace = #0 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\CRM\Core\Error.php(765): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 [internal function](): CRM_Core_Error::nullHandler(Object(PEAR_Error))
#2 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\packages\PEAR.php(931): call_user_func((Array:2), Object(PEAR_Error))
#3 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\packages\PEAR.php(566): PEAR_Error->PEAR_Error("mail() returned failure", NULL, 16, (Array:2), NULL)
#4 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\packages\Mail\mail.php(174): PEAR->raiseError("mail() returned failure")
#5 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\CRM\Utils\Mail.php(176): Mail_mail->send((Array:1), (Array:11), "--=_4ae0d3ce0f54fe07ab2c3e2595d1f8ea\nContent-Transfer-Encoding: 8bit\nConten...")
#6 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\CRM\Core\BAO\MessageTemplates.php(523): CRM_Utils_Mail::send((Array:18))
#7 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\CRM\Core\BAO\UFGroup.php(2501): CRM_Core_BAO_MessageTemplates::sendTemplate((Array:6))
#8 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\CRM\Profile\Form.php(1061): CRM_Core_BAO_UFGroup::commonSendMail(55, (Array:3))
#9 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\CRM\Profile\Form\Dynamic.php(127): CRM_Profile_Form->postProcess()
#10 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\CRM\Core\Form.php(246): CRM_Profile_Form_Dynamic->postProcess()
#11 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\CRM\Core\QuickForm\Action\Upload.php(151): CRM_Core_Form->mainProcess()
#12 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\CRM\Core\QuickForm\Action\Upload.php(128): CRM_Core_QuickForm_Action_Upload->realPerform(Object(CRM_Profile_Form_Dynamic), "upload")
#13 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\packages\HTML\QuickForm\Controller.php(203): CRM_Core_QuickForm_Action_Upload->perform(Object(CRM_Profile_Form_Dynamic), "upload")
#14 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\packages\HTML\QuickForm\Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Profile_Form_Dynamic), "upload")
#15 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\CRM\Core\Controller.php(289): HTML_QuickForm_Page->handle("upload")
#16 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\CRM\Core\BAO\UFGroup.php(591): CRM_Core_Controller->run()
#17 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\drupal\civicrm.module(560): CRM_Core_BAO_UFGroup::getEditHTML(55, "", 2, TRUE, FALSE, NULL, FALSE, "Individual")
#18 C:\zpanel\hostdata\leendavid\public_html\urobel\sites\all\modules\civicrm\drupal\civicrm_user.inc(76): civicrm_register_data((Array:24), Object(stdClass), "account", FALSE)
#19 C:\zpanel\hostdata\leendavid\public_html\urobel\modules\user\user.module(101): civicrm_user_insert((Array:24), Object(stdClass), "account")
#20 C:\zpanel\hostdata\leendavid\public_html\urobel\modules\user\user.module(589): user_module_invoke("insert", (Array:24), Object(stdClass), "account")
#21 C:\zpanel\hostdata\leendavid\public_html\urobel\modules\user\user.module(3861): user_save(Object(stdClass), (Array:16))
#22 C:\zpanel\hostdata\leendavid\public_html\urobel\includes\form.inc(1478): user_register_submit((Array:36), (Array:21))
#23 C:\zpanel\hostdata\leendavid\public_html\urobel\includes\form.inc(868): form_execute_handlers("submit", (Array:36), (Array:21))
#24 C:\zpanel\hostdata\leendavid\public_html\urobel\includes\form.inc(380): drupal_process_form("user_register_form", (Array:36), (Array:21))
#25 C:\zpanel\hostdata\leendavid\public_html\urobel\includes\form.inc(131): drupal_build_form("user_register_form", (Array:21))
#26 [internal function](): drupal_get_form("user_register_form")
#27 C:\zpanel\hostdata\leendavid\public_html\urobel\includes\menu.inc(517): call_user_func_array("drupal_get_form", (Array:1))
#28 C:\zpanel\hostdata\leendavid\public_html\urobel\index.php(21): menu_execute_active_handler()
#29 {main}

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: event registration gives me blank page (mail returned failure?)
February 25, 2014, 02:18:44 pm
Are you using the default Events - Registration Confirmation and Receipt (on-line) or has it been customised?

I had this problem when there was a logic error in a customised receipt.

If you have a customised receipt, copy the customised code to a text editor and then restore to the default receipt to see if the problem still exists.

If you are already using the default receipt go to Administer - System settings - Undelete, Logging and ReCAPTCHA.  Uncheck the Attach PDF copy to receipts box and see if that fixes it.

 

demonic_Cat

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: CiviCRM 4.2.7
  • CMS version: Drupal 7.26
  • MySQL version: ?
  • PHP version: ?
Re: event registration gives me blank page (mail returned failure?)
February 26, 2014, 11:57:34 am
Hi,

Thank you for your reply!
I still use the default confirmations.. Unchecking the 'attach pdf copy to receipts' box did bring back an error instead of a blank screen (yeay progress!  :) )

The error I get is the following:
Failed to connect to ssl://smtp.gmail.com:465 [SMTP: Failed to connect socket: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (code: -1, response: )]


I presume this might be blocked by the server? Going to check this with my provider..

demonic_Cat

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: CiviCRM 4.2.7
  • CMS version: Drupal 7.26
  • MySQL version: ?
  • PHP version: ?
Re: event registration gives me blank page (mail returned failure?)
February 27, 2014, 12:29:37 pm
Error: Failed to connect to ssl://smtp.gmail.com:465 [SMTP: Failed to connect socket: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (code: -1, response: )]

was indeed because of wrong SMTP settings (provider uses his own SMTP settings).

Problem solved!  ;D

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • event registration gives me blank page (mail returned failure?)

This forum was archived on 2017-11-26.