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) »
  • Stuck at "it appears that the proxy URL that you gave is invalid"
Pages: [1]

Author Topic: Stuck at "it appears that the proxy URL that you gave is invalid"  (Read 1392 times)

enderash

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.1.39
  • PHP version: 5.2.15
Stuck at "it appears that the proxy URL that you gave is invalid"
March 06, 2011, 02:18:49 am
Greetings to the CiviSMTP community,

I seem to be stuck at the validation phase of my 1st CiviSMTP setup.
I've searched and read through half a dozen articles about this particular error message, but can't seem to figure out what to do next. Also followed instructions to the letter.

Could someone help me diagnose and fix this error message?
Otherwise, it seems I've set everything up correctly to take advantage of CiviSMTP's great service.

Thanks for your help!
Andrew Michael

#1
Our SOAP Proxy URL (entered this into the CiviSMTP account page):
crm.kavodhouse.com/sites/all/modules/civicrm/extern/soap.php

This returns some warnings, but I don't believe any errors.
Here are the warnings:
crm.kavodhouse.com/sites/all/modules/civicrm/extern/soap.php

#2
I checked the username & password. Copying & Pasting those values directly from the CiviSMTP form and into crm.kavodhouse.com, I am logged in successfully. Permissions for that user are very low - essentially "Access CiviCRM" and "Access Node" and a few other permissions that are given to anonymous users (i.e. register for an event, create a profile, etc... - maybe unncessary)

#3
Validation Results
Civimail User Check : it appears that the proxy URL that you gave is invalid
SMTP Authorization Check : SMTP Authorization Succeeded! This proves that the SMTP server is up and that the SMTP Authorization is working with the SMTP username and SMTP password you have entered.
Email Domain Check : The MX records for m.kavodhouse.com are correctly configured
SMTP Account settings updated for Moishe/Kavod House
</END>

#4
Could it be my civicrm.settings.php file?
I was able to locate the file, and added this line
 define( 'SMTP_Password','fake_password');
but I'm not sure what the correct syntax is, or if it's relevant.

Thanks for any help, or suggested debugging steps!

Be well,
Andrew Michael

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Stuck at "it appears that the proxy URL that you gave is invalid"
March 07, 2011, 06:56:16 am
Hi,

[1]  do you have the SOAP libraries installed for PHP?
[2]  also, please check your apache error log for errors and tell us what you find

also, we will run some tests today and get back to you

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Stuck at "it appears that the proxy URL that you gave is invalid"
March 07, 2011, 07:20:29 am
hi,  it looks like we are running into some probs with the soap response from your server.  here is what we receive in response:

<br />
<b>Deprecated</b>:  Assigning the return value of new by reference is deprecated in <b>/home/khcrm_admin/crm.kavodhouse.com/sites/all/modules/civicrm/CRM/Contact/BAO/Contact.php</b> on line <b>699</b><br />
<br />
<b>Deprecated</b>:  Assigning the return value of new by reference is deprecated in <b>/home/khcrm_admin/crm.kavodhouse.com/sites/all/modules/civicrm/packages/HTML/QuickForm.php</b> on line <b>602</b><br />
<br />
<b>Deprecated</b>:  Assigning the return value of new by reference is deprecated in <b>/home/khcrm_admin/crm.kavodhouse.com/sites/all/modules/civicrm/packages/HTML/QuickForm.php</b> on line <b>1721</b><br />
<br />
<b>Deprecated</b>:  Assigning the return value of new by reference is deprecated in <b>/home/khcrm_admin/crm.kavodhouse.com/sites/all/modules/civicrm/packages/HTML/QuickForm.php</b> on line <b>1878</b><br />

this basically causes a soap fault due to malformed xml.

the quick and dirty way to fix this is setting the error reporting in your php.ini to ignore deprecated warnings

error_reporting  = E_ALL & ~E_DEPRECATED

what version of CCRM are you running?  if it is the latest version then it looks like something that will need to be patched soon.  maybe lobo and folks can weigh in on this deprecated code.

-Shane

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: Stuck at "it appears that the proxy URL that you gave is invalid"
March 07, 2011, 08:15:44 am

Seems like you are running PHP 5.3 on a version of CiviCRM that does not support 5.3 (3.2?). The latest versions of CiviCRM do support PHP 5.3

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail »
  • Using CiviSMTP (Moderator: shane) »
  • Stuck at "it appears that the proxy URL that you gave is invalid"

This forum was archived on 2017-11-26.