May 28, 2025May 28 comment_49056 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 May 28, 2025May 28 by LtB Sent incomplete... Leo Report
May 29, 2025May 29 Author comment_49429 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 Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.