0 - Call to undefined function curl_init()

Phoca Cart - complex e-commerce extension
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 386
Joined: 07 Nov 2018, 14:55

0 - Call to undefined function curl_init()

Post by Nidzo »

When I create order, after submiting I get error on Info View. Also if I want to change order status and select to notify customer with PDF included in Administrator I get same error
Joomla 5
PHP 8.2
Phoca Cart Beta 5.0.9
Phoca PDF component and Phoca Cart plugin Beta 5.0

Code: Select all

ERROR 0 - Call to undefined function curl_init() in C:\wamp64\www\unaserbica\administrator\components\com_phocapdf\assets\tcpdf\include\tcpdf_static.php:1845
Image

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 0 - Call to undefined function curl_init()

Post by Jan »

Hi,
in this part the TCPDF tries to check the URL, so in the PDF there is some url to check.

The curl_init function is standard PHP function with enabled curl options. Is this your server or some webhosting? If webhosting, try to ask your webhosting provider, if the curl function is enabled on your server.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 386
Joined: 07 Nov 2018, 14:55

Re: 0 - Call to undefined function curl_init()

Post by Nidzo »

It is localhost server on WAMP. On Joomla 4 and Phoca Cart 4 works flawlesly. :idea:
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 386
Joined: 07 Nov 2018, 14:55

Re: 0 - Call to undefined function curl_init()

Post by Nidzo »

Sorry to false alarm. There was problem with my local server settings. Thread can be closed.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 0 - Call to undefined function curl_init()

Post by Jan »

Ok, great to hear it (it is solved)

Jan
If you find Phoca extensions useful, please support the project
Post Reply