Page 1 of 1

FaceBook Export Not Working

Posted: 26 Feb 2015, 23:29
by Uroplatus
I am having an issue with exporting images to facebook. I get the below error:

Fatal error: Class 'CurlFile' not found in /administrator/components/com_phocagallery/libraries/phocagallery/facebook/base_facebook.php on line 982

I am running Joomla 3.3.6 and Phoca Gallery 4.1.2

cURL support - enabled
cURL Information - 7.38.0

I can import with no issues.

Thanks in advance for any assistance.

Re: FaceBook Export Not Working

Posted: 01 Mar 2015, 00:11
by Jan
Hi, the CurlFile is a PHP function, see:
http://php.net/manual/en/class.curlfile.php

Try to check if it is included in your PHP on your server :idea:

Jan

Re: FaceBook Export Not Working

Posted: 01 Mar 2015, 04:33
by Uroplatus
How would I figure out if its included? This is hosted with a cPanel GoDaddy account. the phpinfo() file has this...

curl

cURL support enabled
cURL Information 7.38.0

and PHP Version 5.4.37

Re: FaceBook Export Not Working

Posted: 03 Mar 2015, 13:40
by Jan
Hi, hmm,

- if you are able to upgrade php to 5.5 then I think it will be the best solutin
- if not then some cURL custom code needs to be added - like described here: http://php.net/manual/en/class.curlfile.php

Unfortunately I cannot change the facebook library which is used for the connection as I din't create it :idea:

Jan