[ZendTo] reCAPTCHA issue

Jules Jules at Zend.To
Sat Feb 4 11:36:17 GMT 2017


Derek,

It's not installing the apcu module that's a problem, that's trivial.

The snag is that all the RFC1867 support has been ripped out of the 
source code of the module.
I had a go at adding the code back into it, but the Zend API in PHP has 
changed quite a lot too, so it rapidly turned into a nightmare. I 
wouldn't have made much headway without learning the entire Zend API to 
reimplement some of it from scratch.

Long term I'm going to have to reimplement the progress bar using some 
other technique, possibly the jQuery route.
But that is a job for another day.

My new installer detects you're using PHP7 and automatically disables 
the "RealProgressBar" in preferences.php.

Jules.

On 03/02/2017 20:01, Pedrosi, Derek G. wrote:
>
> Indeed…
>
> OS    Ubuntu 16.04.1 LTS
>
> PHP 7.0.13-0ubuntu0.16.04.1 (cli) ( NTS )
>
> Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
>
> with Zend OPcache v7.0.13-0ubuntu0.16.04.1, Copyright (c) 1999-2016, 
> by Zend Technologies
>
> I’m on PHP guy, is this feasible?
>
> https://guides.wp-bullet.com/install-apcu-object-cache-for-php7-for-wordpress-ubuntu-16-04/
>
> *From:*zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On 
> Behalf Of *Jules
> *Sent:* Friday, February 03, 2017 7:48 AM
> *To:* ZendTo Users
> *Subject:* Re: [ZendTo] reCAPTCHA issue
>
> What distribution and version of Linux are you using?
>
> And what version of PHP?
>
> The "real" progress bar will not work on anything running PHP 7 (only 
> Ubuntu 16 uses PHP 7 from what I've seen).
> The authors of the PHP "apcu" module removed the feature I was using 
> (RFC1876 support), in order to get their module to compile against PHP 7.
>
> Cheers,
> Jules.
>
> On 02/02/2017 14:12, Pedrosi, Derek G. wrote:
>
>     Hmmm,
>
>     It turns out when I set
>
>     'useRealProgressBar' => FALSE,
>
>     It works just fine.
>
>     So my problem was solved by changing the real progress bar usage
>     to FALSE.
>
>     Thanks!
>
>     derek
>
>     *From:*zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>
>     [mailto:zendto-bounces at zend.to] *On Behalf Of *Pedrosi, Derek G.
>     *Sent:* Thursday, February 02, 2017 9:03 AM
>     *To:* ZendTo Users
>     *Subject:* Re: [ZendTo] reCAPTCHA issue
>
>     Jules,
>
>     I tried that, and nothing ever shows in the /var/zendto/incoming.
>
>     Zendto.log also does not show that activity.
>
>     derek
>
>     *From:*zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>
>     [mailto:zendto-bounces at zend.to] *On Behalf Of *Jules
>     *Sent:* Thursday, February 02, 2017 6:27 AM
>     *To:* ZendTo Users
>     *Subject:* Re: [ZendTo] reCAPTCHA issue
>
>     Derek,
>
>     Try uploading something large enough that it will take a good few
>     seconds (1GB or so should do it).
>     While it's uploading, look in /var/zendto/incoming. Is there a
>     file appearing there?
>     If so, the upload process is working, so it could well be the
>     virus scan that's failing. So disable the virus scanning by setting
>       'clamdscan' => 'DISABLED',
>     in preferences.php.
>
>     Let me know how you get on.
>
>     Cheers,
>     Jules.
>
>     On 01/02/2017 20:08, Pedrosi, Derek G. wrote:
>
>         Jules,
>
>         I updated to the latest version with  apt-get and the
>         reCAPTCHA it working great now.  Thank you.
>
>         BUT, now I cannot upload files.  It just hangs on the
>         “Uploading…” pop-up and nothing happens.
>
>         This is for all my drop-offs, in company and unsolicited as well.
>
>         Where to trouble shoot?   Also, the ZendTo log does not have
>         any entries in it regarding the attempted upload.
>
>         Regards,
>
>         derek
>
>         *From:*zendto-bounces at zend.to <mailto:zendto-bounces at zend.to>
>         [mailto:zendto-bounces at zend.to] *On Behalf Of *Jules
>         *Sent:* Thursday, January 12, 2017 1:46 PM
>         *To:* ZendTo Users
>         *Subject:* Re: [ZendTo] reCAPTCHA issue
>
>         Derek,
>
>         I have hopefully just fixed this in the new beta.
>         Please can you try the new beta release and let me know how
>         you get on.
>
>         There are 3 template files that have changed: header.tpl,
>         verify.tpl and pickupcheck.tpl.
>
>         Cheers,
>         Jules.
>
>         On 11/01/2017 16:57, Pedrosi, Derek G. wrote:
>
>             Looking for clues as to my why reCAPTCHA is not working,
>             it simply does not appear.
>
>             I’ve went to google and created an account for the URL
>             that I’ve given zendto.
>
>             I’ve got a “Site key” and a “Secret key” from google.
>
>             In /opt/zendto/config/preferneces.php…
>
>             'captcha' => 'google',
>
>             I’ve added site key to the public key field and secret key
>             to the private key field.
>
>             'recaptchaPublicKey' =>
>             'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyYYYYYYYYYY',
>
>             'recaptchaPrivateKey' =>
>             'xxxxxxxxxxxxxxxxxxxxxxxxxxxxXXXXXXXXXXX’,
>
>             And …
>
>             'recaptchaInvisible' => FALSE,
>
>             'recaptchaLanguage' => 'en',
>
>             When I to go a reCAPTCHA zendto page, like Pickup Files,
>             there is no reCAPTCHA.  It is blank, just the “pick up”
>             button appears.
>
>             If I click pickup, I get an error, as if I’ve entered an
>             invalid reCAPTCHA.
>
>             The only thing I’m doing a bit differently now, is that
>             I’m currently using a self-signed SSL cert.  but I do not
>             think that should make a difference.
>
>             Anything I can do to debug this?
>
>             Thanks in advance.
>
>             derek
>
>
>
>
>
>             _______________________________________________
>
>             ZendTo mailing list
>
>             ZendTo at zend.to <mailto:ZendTo at zend.to>
>
>             http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
>
>         Jules
>
>           
>
>         -- 
>
>         Julian Field MEng MBCS CITP CEng
>
>           
>
>         'Talent is God-given ... be humble;
>
>           fame is man-given ... be grateful;
>
>           conceit is self-given ... be careful.' - John Wooden
>
>           
>
>         www.Zend.To <http://www.Zend.To>
>
>         Twitter: @JulesFM
>
>         PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>
>
>
>         _______________________________________________
>
>         ZendTo mailing list
>
>         ZendTo at zend.to <mailto:ZendTo at zend.to>
>
>         http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>     Jules
>
>       
>
>     -- 
>
>     Julian Field MEng MBCS CITP CEng
>
>       
>
>       
>
>     www.Zend.To <http://www.Zend.To>
>
>     Twitter: @JulesFM
>
>     PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>
>
>
>     _______________________________________________
>
>     ZendTo mailing list
>
>     ZendTo at zend.to <mailto:ZendTo at zend.to>
>
>     http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
> Jules
> -- 
> Julian Field MEng MBCS CITP CEng
> 'I have lost friends, some by death ... others through sheer inability
>   to cross the street.' - Virginia Woolf
> www.Zend.To <http://www.Zend.To>
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng MBCS CITP CEng

'Give a man a fish, and you feed him for a day.
  Teach a man to fish, and he'll sit in a boat and drink beer all day.'
    - Anon

www.Zend.To
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20170204/7385e339/attachment-0001.html 


More information about the ZendTo mailing list