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) »
  • soap.php error
Pages: [1]

Author Topic: soap.php error  (Read 3044 times)

korzen

  • Guest
soap.php error
January 15, 2009, 12:59:29 pm
Hi folks, I tried posting this to CiviSMTP, but no response.  I don't think this issue relates specifically to CiviSMTP since it involves a core CRM script, so I'm trying here.  I really hoping someone can help.

The bottom line is that my soap.php script is failing with a 500 error.  So far I've been unable to get any more information from my hosting provider as to exactly what the error is.

Here's the script:  http://www.catholics-united.org/sites/all/modules/civicrm/extern/soap.php

I've done as much debugging as I can, and have found that the last line, $server->handle();, is triggering the error.  That's probably not very helpful.

Any thoughts on how to diagnose this?

Thank you!


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: soap.php error
January 15, 2009, 02:12:57 pm

You need access to the server logs  to get more information on the 500 error. please followup with your hosting provider

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

korzen

  • Guest
Re: soap.php error
January 15, 2009, 04:52:54 pm
I think I may have found the problem.  Change:

Code: [Select]
'soap_version' => SOAP_1_2 ) );
to

Code: [Select]
'soap_version' => SOAP_1_1 ) );
and I get an XML response.  I can't find anything in phpinfo but I'm guessing we only have ver. 1.1 installed.

I've been looking through the CiviMail documentation for SOAP requirements, but seem to be coming up short.  Am I correct in assuming that we need 1.2 in order to make this work?




Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: soap.php error
January 16, 2009, 02:46:34 am
Quote from: korzen on January 15, 2009, 12:59:29 pm
The bottom line is that my soap.php script is failing with a 500 error.  So far I've been unable to get any more information from my hosting provider as to exactly what the error is.

Did you try the example script we distribute in bin/soapClient.php.txt?

Quote from: korzen on January 15, 2009, 12:59:29 pm
Here's the script:  http://www.catholics-united.org/sites/all/modules/civicrm/extern/soap.php

Your server runs this script, so we can’t really see it…
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

korzen

  • Guest
Re: soap.php error
January 16, 2009, 02:13:17 pm
Thanks for sending this along... I've been trying to get it to work all day, but it keeps failing with a "looks like we got no XML document" error.  I've traced this to the database call in Drupal.php but the sql statement looks fine.  So I don't know...

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: soap.php error
January 19, 2009, 07:47:55 am
Ok, so when you rename the bin/soapClient.php.txt script to bin/soapClient.php, fix the path inside to point to your install and then run it – what do you get?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • soap.php error

This forum was archived on 2017-11-26.