Welcome, Guest
Username Password: Remember me

Fatal error: Call to undefined function curl_init
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Fatal error: Call to undefined function curl_init

Fatal error: Call to undefined function curl_init 22 Aug 2008 00:01 #231

Hi,

First off, thank you for this nice plugin. I am running 6.0.09 on a Windows XP machine with WAMP/Joomla 1.5. When I try to click on the PDF icon of the sermon, I get the following error:

Fatal error: Call to undefined function curl_init() in C:\wamp\www\Joomla\components\com_biblestudy\views\studydetails\view.pdf.php on line 144

I am able to print to PDF elsewhere within my site, but I assume the code that is used to generate those PDFs are probably included within Joomla. Any ideas on this?

Thanks!

Re:Fatal error: Call to undefined function curl_init 22 Aug 2008 07:11 #232

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
The code you refer to is part of the testing process to see if the Scripture reference can be displayed. You probably don't have curl enabled on your local machine and that is causing the error.

I'll take a look at the pdf view. In the studydetails view I think I put in some code to protect in case of this kind of fault but may not have included it in the pdf view.

You can get rid of it by choosing not to show the Scripture passage in the view. You find this under the menu link you created to the studies list and Parameters (Component).

Hope this helps. If I find the code needs to be updated I'll post again here.
"You shall know the truth and the truth shall set you free." JC

Re:Fatal error: Call to undefined function curl_init 22 Aug 2008 08:27 #233

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
Turns out some code was left out of the file that generates the pdf. If your system does not have curl installed or enabled and you try to show the passage in the pdf view the component will throw an error.

The file has been fixed and will be a part of 6.0.10.

It can be manually installed now, though at:

/components/com_biblestudy/views/studydetails/view.pdf.php
"You shall know the truth and the truth shall set you free." JC

Re:Fatal error: Call to undefined function curl_init 22 Aug 2008 08:27 #234

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
contact the author directly if you wish to obtain this file.
"You shall know the truth and the truth shall set you free." JC
  • Page:
  • 1
Moderators: Darren Vandermyde, Kyle
Time to create page: 0.67 seconds