Page 1 of 1

Error: CURLOPT_FOLLOWLOCATION cannot be activated

Posted: 17 Sep 2012, 09:14
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

Re: Error: CURLOPT_FOLLOWLOCATION cannot be activated

Posted: 25 Sep 2012, 10:11
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

Re: Error: CURLOPT_FOLLOWLOCATION cannot be activated

Posted: 27 Sep 2012, 18:30
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

Re: Error: CURLOPT_FOLLOWLOCATION cannot be activated

Posted: 29 Sep 2012, 15:51
by Jan
Ok