Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CURL function not working

Featured Replies

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

  • Author

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...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.