Jump to content
The Uniform Server Community

Recommended Posts

Posted (edited)
On Uniform Server Zero XV V15-0-2, I run geneaogical software TNG.

TNG throws this error message when I use a certain functionality:

[php:error] [pid 13456:tid 1984] [client 127.0.0.1:4875] PHP Fatal error:  Uncaught Error: Call to undefined function curl_init() in Z:\\UniServerZ\\www\\TNG\\geocodelib.php:169\nStack trace:\n#0 Z:\\UniServerZ\\www\\TNG\\geocodelib.php(109): get_file()\n#1 Z:\\UniServerZ\\www\\TNG\\geocodelib.php(12): geocode_osm()\n#2 Z:\\UniServerZ\\www\\TNG\\admin_addfamily.php(82): geocode()\n#3 {main}\n  thrown in Z:\\UniServerZ\\www\\TNG\\geocodelib.php on line 169, referer: http://localhost/TNG/admin_newfamily.php?husband=P9885&tree=tree1&cw=
 

The TNG Helpdesk suggested that

The "curl_init" function is part of PHP, not TNG, so your PHP may not be configured to support curl functions right now

 

In the info of PHP Version 8.3.0 under Module authors I read:  

Module Authors
Module Authors
BC Math Andi Gutmans
Bzip2 Sterling Hughes
Calendar Shane Caraveo, Colin Viebrock, Hartmut Holzgraefe, Wez Furlong
COM and .Net Wez Furlong
ctype Hartmut Holzgraefe
cURL Sterling Hughes
Date/Time Support

Derick Rethans

 

What must I do to get cURL working? Bribe mr Highes? 🙂

Edited by LtB
Sent incomplete...

Leo

Posted

I was lucky to find the page PHP Modules and Basics. Of the modules, cURL was not enabled so I placed a checkmark before it. 
I could continue working thereafter.
Today, after a fresh restart of the PC, I encountered the same error message: that curl_init() is not defined.
 

Quote

Uncaught Error: Call to undefined function curl_init() in Z:\\UniServerZ\\www\\TNG\\geocodelib.php:169\nStack trace:\n#0 Z:\\UniServerZ\\www\\TNG\\geocodelib.php(109): get_file()\n#1 Z:\\UniServerZ\\www\\TNG\\geocodelib.php(12): geocode_osm()\n#2 Z:\\UniServerZ\\www\\TNG\\admin_addfamily.php(82): geocode()\n#3 {main}\n  thrown in Z:\\UniServerZ\\www\\TNG\\geocodelib.php on line 169, referer: http://localhost/TNG/admin_newfamily.php?husband=P9901&tree=tree1&cw=1

Does that mean that enabling cURL was not sufficient? Must I add/download/configure something (You see, I am a complete ignorant)

 

Leo

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...