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 CiviMail »
  • Using CiviSMTP (Moderator: shane) »
  • Http 500 error with soap.php
Pages: [1]

Author Topic: Http 500 error with soap.php  (Read 1188 times)

jchnews

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Wordpress
  • MySQL version: 5.1
  • PHP version: 5.3.x
Http 500 error with soap.php
November 17, 2014, 10:43:53 am
Hello,

I have subscribe to civismtp
Civismtp bring me support to try to solve the following issue but we don't solve it.

I get this error : it appears that the proxy URL that you gave is invalid

In apache error i get this error :
XX.XXX.XXX.XXX - - [17/Nov/2014:17:51:11 +0100] "POST /wp-content/plugins/civicrm/civicrm/extern/soap.php HTTP/1.1" 500 3214 "-" "SOAP::Lite/Perl/1.11"

I have in error_log file in wp-content/plugins/civicrm/civicrm/extern/ directory :

[17-Nov-2014 17:41:01 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mbstring.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mbstring.dll: cannot open shared object file: No such file or directory in Unknown on line 0

wordpress version : 3.4.1
civicrm version : 4.5.3

alleyla

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 1
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.2
Re: Http 500 error with soap.php
November 17, 2014, 11:45:34 am
Hello,

Do you see this error happen when you test the CiviSMTP Settings? The timestamps between the 2 errors you posted are different so they might not be related.

Check where your PHP errors go by opening php.ini file and searching for "error_log" entry. This will show you where your php errors are being logged to. It might be the same as apache error log.

To confirm that you are getting the error log entry that's causing the SOAP issue do the following:

1. open the php error log and make note of the very last entry in the log. If using the command line then just use the "tail -f" command which will show you the last lines in the logs and update in real time:

tail -f /path_to_your_php_error_log

2. go to your CiviSMTP Account Settings here:

https://www.civismtp.com/drupal/civismtp/account

Test your settings by checking the "Test Settings" box at the bottom and hitting Save.

3. go back to your php error log and reload it if in GUI or if you are using "tail -f" just check what new log entries this request has produced. Copy those entries and email them to us.

Also what is your PHP version? And have you upgraded CiviCRM recently? - it looks like your version reported here is different than what you told us before: Civicrm 4.3.5 vs CiviCRM 4.5.3?

Kind regards,
Leyla

jchnews

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Wordpress
  • MySQL version: 5.1
  • PHP version: 5.3.x
Re: Http 500 error with soap.php
November 18, 2014, 09:42:36 am
Civicrm version : 4.3.5 (i made a mistake in previous post, no update civicrm recently)
Wordpress version : 3.4.1
php version : 5.4.34

in /usr/local/lib/php.ini => error_log = error_log

When i submit a test on your form
only this file seems to be updated : /home/cnasim/public_html/wp-content/plugins/civicrm/civicrm/extern/error_log

with this :

Code: [Select]
[18-Nov-2014 17:32:55 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mbstring.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mbstring.dll: cannot open shared object file: No such file or directory in Unknown on line 0

i am totally loose to solve this problem ...


jchnews

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Wordpress
  • MySQL version: 5.1
  • PHP version: 5.3.x
Re: Http 500 error with soap.php
November 18, 2014, 10:14:25 am

When i do test on your form i get this in
/usr/local/apache/domlogs/my_account/my_domainname.tld

67.XXX.XXX.XXX - - [18/Nov/2014:19:10:31 +0100] "POST /wp-content/plugins/civicrm/civicrm/extern/soap.php HTTP/1.1" 500 3214 "-" "SOAP::Lite/Perl/1.11"

alleyla

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 1
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.2
Re: Http 500 error with soap.php
November 20, 2014, 06:59:04 am
This error:

67.XXX.XXX.XXX - - [18/Nov/2014:19:10:31 +0100] "POST /wp-content/plugins/civicrm/civicrm/extern/soap.php HTTP/1.1" 500 3214 "-" "SOAP::Lite/Perl/1.11"

means the soap.php script errors out when a request is made to it when you test your settings. This is what we are seeing on our side as well when we test your soap script on our side. We are not getting any other error details unfortunately.

You can try:
1. checking permissions on the soap.php file and make sure it's executable

2. add this to the top of soap.php file to try displaying the errors:

error_reporting(E_ALL);
ini_set('display_errors', '1');

3. if you are using .htaccess file for your site/app check that it's configured properly. To see if it's perhaps causing this issue try to temporarily rename or remove it and test your civismtp settings again.

Regarding the warning below we recommend that you contact your hosting provider as it looks like there might be a problem with your php build and/or settings:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mbstring.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_mbstring.dll: cannot open shared object file: No such file or directory in Unknown on line 0

Regards,

-Leyla
CiviSMTP Support

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail »
  • Using CiviSMTP (Moderator: shane) »
  • Http 500 error with soap.php

This forum was archived on 2017-11-26.