[ZendTo] ZendTo Fatal error
Jules
Jules at Zend.To
Thu Apr 16 15:30:09 BST 2020
Mark,
You need another PHP module installing, the "php-curl" module.
Do
sudo dpkg -l | grep php
That will list a whole bunch of packages, where in each one the "php"
will be followed by a version number such as "7.2".
Then do the command
sudo apt install php7.2-curl
(where obviously the "7.2" is replaced with whatever version number you
got from the previous command).
Then do
sudo systemctl restart apache2
to restart the web server with the extra module loaded.
With luck it should then work!
Let me know how you get on.
Cheers,
Jules.
On 16/04/2020 14:37, Mark J. Bobak wrote:
> Thanks Jules. I did try that. I'm on Ubuntu 18.04.4 and when I did:
> ubuntu at appserv1:/var/log/apache2$ sudo apt upgrade zendto
> I got:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> zendto is already the newest version (5.23-3).
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> But I still see the error.
>
> -Mark
>
> On Thu, Apr 16, 2020 at 9:33 AM Jules <Jules at zend.to
> <mailto:Jules at zend.to>> wrote:
>
> Mark,
>
> Upgrade to the latest version, and this should go away.
> After the apt/yum upgrade command, remember to run
> /opt/zendto/bin/upgrade to add new (and remove old) settings in
> preferences.php and zendto.conf.
>
> Cheers,
> Jules.
>
> On 16/04/2020 14:21, Mark J. Bobak via ZendTo wrote:
>> Hi all,
>>
>> I'm having a problem, when the system decides to display the
>> ReCaptcha screen, I click the "I am not a robot" check box, and
>> then click 'Pickup files', and I get an http 500 error. In the
>> /var/log/apache2/ssl_error.log, I see:
>>
>> [Thu Apr 16 08:49:52.408694 2020] [php7:error] [pid 4900] [client
>> 24.127.144.109:50809 <http://24.127.144.109:50809>] *PHP Fatal
>> error: Uncaught Error: Call to undefined function
>> ReCaptcha\\RequestMethod\\curl_init()* in
>> /opt/zendto/www/ReCaptcha/RequestMethod/Curl.php:42\nStack
>> trace:\n#0
>> /opt/zendto/www/ReCaptcha/RequestMethod/CurlPost.php(68):
>> ReCaptcha\\RequestMethod\\Curl->init('https://www.goo...')\n#1
>> /opt/zendto/www/ReCaptcha/ReCaptcha.php(95):
>> ReCaptcha\\RequestMethod\\CurlPost->submit(Object(ReCaptcha\\RequestParameters))\n#2
>> /opt/zendto/www/pickup.php(146):
>> ReCaptcha\\ReCaptcha->verify('03AHaCkAah4gySe...',
>> '24.127.144.109')\n#3 {main}\n thrown in
>> /opt/zendto/www/ReCaptcha/RequestMethod/Curl.php on line 42
>>
>> I'm really not a PHP guy at all. Can someone offer a clue here?
>>
>> Thanks,
>>
>> -Mark
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to <mailto:ZendTo at zend.to>
>> http://jul.es/mailman/listinfo/zendto
>
> Jules
>
> --
> Julian Field MEng CEng CITP MBCS MIEEE MACM
>
> 'Ever since the dawn of civilization, people have craved for an
> understanding of the underlying order of the world: why it is as
> it is, and why it exists at all. But even if we do find a complete
> theory of everything, it is just a set of rules and equations. What
> is it that breathes fire into the equations, and makes a universe
> for them to describe?' - Stephen Hawking
>
> www.Zend.To <http://www.Zend.To>
> Twitter: @JulesFM
>
Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'Ever since the dawn of civilization, people have craved for an
understanding of the underlying order of the world: why it is as
it is, and why it exists at all. But even if we do find a complete
theory of everything, it is just a set of rules and equations. What
is it that breathes fire into the equations, and makes a universe
for them to describe?' - Stephen Hawking
www.Zend.To
Twitter: @JulesFM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20200416/ac263359/attachment-0001.html>
More information about the ZendTo
mailing list