Error: CURLOPT_FOLLOWLOCATION cannot be activated

Phoca PDF - creating PDF documents in Joomla! CMS
oorzaak
Phoca Member
Phoca Member
Posts: 47
Joined: 11 Dec 2008, 00:37

Error: CURLOPT_FOLLOWLOCATION cannot be activated

Post by oorzaak »

Hi Jan,

I've installed PhocaPDF on a site and I had to make some adjustments to my template override in order to get it working. It worked, until I started to create a header (I've started to add the article title to the header). Now I get this error message:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/acw/domains/acw.be/public_html/test/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 7706
I hope you know how to solve this.


Regards, Frits
oorzaak
Phoca Member
Phoca Member
Posts: 47
Joined: 11 Dec 2008, 00:37

Re: Error: CURLOPT_FOLLOWLOCATION cannot be activated

Post by oorzaak »

Hi Jan,

I hope my description of this issue is clear? If not, please tell me. It would be nice when I could solve this and have Phoca PDF runnig for my customer.


Thanks, Frits
oorzaak
Phoca Member
Phoca Member
Posts: 47
Joined: 11 Dec 2008, 00:37

Re: Error: CURLOPT_FOLLOWLOCATION cannot be activated

Post by oorzaak »

Solved, the solution was on the same page where I've found the code for inserting the article title:
On this site the characters { and } in example codes are changed to images because of executing the code. If you will copy the example code from this site, you need to add the { and } characters instead of images.
I didn't recognize the link between this and my own problem at first.

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

Re: Error: CURLOPT_FOLLOWLOCATION cannot be activated

Post by Jan »

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