Page 1 of 1

0 - Call to undefined function curl_init()

Posted: 26 Nov 2023, 20:23
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

Re: 0 - Call to undefined function curl_init()

Posted: 26 Nov 2023, 21:19
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

Re: 0 - Call to undefined function curl_init()

Posted: 27 Nov 2023, 13:12
by Nidzo
It is localhost server on WAMP. On Joomla 4 and Phoca Cart 4 works flawlesly. :idea:

Re: 0 - Call to undefined function curl_init()

Posted: 27 Nov 2023, 20:53
by Nidzo
Sorry to false alarm. There was problem with my local server settings. Thread can be closed.

Re: 0 - Call to undefined function curl_init()

Posted: 30 Nov 2023, 02:20
by Jan
Ok, great to hear it (it is solved)

Jan