[ZendTo] Re: Proxy setup for recaptcha not working

David Strachan david_strachan at anitech.com.au
Tue Apr 3 09:18:41 BST 2012


Hi All,

I've done some more test, and double checked the settings in the 
preferences.php file,
and still cannot get the recaptchaProxyHost & recaptchaProxyPort 
settings to work.

After much digging around in  /opt/zendto/www/ & /opt/zendto/lib/ I 
think I have found the problem. The value of  
$NSSDROPBOX_PREFS['recaptchaProxyHost'] and the corresponding 
'recaptchaPorxyPort' are not picking up the values that have been set in
preferences.php. They are always blank or unset. Looking around in 
NSSDropbox.php
for example, I cannot find any reference to 'recaptchaProxyHost' or 
recaptchaProxyPort ?

If someone could checkout those files, and see if I'm on to something or
I'm "barking up the wrong tree" :)

regards,

David Strachan.
Systems Administrator

Anitech
PH: +612 8845 0343
FX: +612 8845 0300

Save our in-boxes! http://emailcharter.org


On 29/03/2012 7:44 PM, Jules wrote:
>
> On 28/03/2012 07:09, David Strachan wrote:
>> Forgot to mention the version I'm using. Its 4.08
>> I also modified the recaptchalib.php file to get more vebose error
>> message. (from a Google groups post) I modified the die('Could not open
>> socket'); line to
>> die ("Could not open socket: $errno - $errstr"); and now get.
>> "Could not open socket: 110 - Connection timed out"
>> How should I be setting 'recaptchaProxyHost' line just the 'host name' or
>> 'http://proxy.example.com'
> Just the host name.
>> I think I have tried both.
>>
>> regards,
>>
>> David Strachan.
>> Systems Administrator
>>
>> Anitech
>> PH: +612 8845 0343
>> FX: +612 8845 0300
>>
>> Save our in-boxes! http://emailcharter.org
>>
>>
>> On 27/03/2012 5:42 PM, David Strachan wrote:
>>> Hi.
>>>
>>> I'm trying to set up a proxy host in the preferences.php file for recaptcha.
>>> I have set values for both the 'recaptchaProxyHost' and 'recaptchaProxyPort'
>>> but are getting a screen with "Could not open Socket" after trying to
>>> submit an answer
>>> to the "recaptcha" question.
>>>
>>> If I comment out the proxyhost&    port values, reconfigure my test box to
>>> have a direct
>>> network connection, it works correctly so I must have set up the private
>>> and public
>>> recaptcha keys correctly.
>>>
>>> Can you give me some pointers to where to start looking? The logs on the
>>> proxy server
>>> don't show any connection to the Google servers, from the test boxes IP
>>> address, so It
>>> looks like it hasn't made a connection to the proxy.
>>>
>>> Have I found a bug? Have other people had success using Zendto behind a
>>> Proxy?
>>>
>>> Thanks for your help.
>>>
>>>      --
>>> regards,
>>>
>>> David Strachan.
>>> Systems Administrator
>>>
>>> Anitech
>>> PH: +612 8845 0343
>>> FX: +612 8845 0300
>>>
>>> Save our in-boxes! http://emailcharter.org
>>>
>>> _______________________________________________
>>> ZendTo mailing list
>>> ZendTo at zend.to
>>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
> Jules
>


More information about the ZendTo mailing list