FaceBook Export Not Working

Phoca Gallery - image gallery extension
Uroplatus
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Feb 2015, 23:22

FaceBook Export Not Working

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: FaceBook Export Not Working

Post 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
If you find Phoca extensions useful, please support the project
Uroplatus
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Feb 2015, 23:22

Re: FaceBook Export Not Working

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: FaceBook Export Not Working

Post 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
If you find Phoca extensions useful, please support the project
Post Reply