Cannotsetup coonection to Facebook for albums

Phoca Gallery - image gallery extension
ozbit
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 04 Jun 2016, 15:33

Cannotsetup coonection to Facebook for albums

Post by ozbit »

Hello,
I have obtained the necessary App Id and App Secret... When I enter them in the phoho admin section they don;t not provide any addtional information screens as per your setup doucments...I receive a somewhat broken joonale page which dosplays the follow;

Facebook Settings
Publishing Options
Facebook Application

App ID *
1361223344556783
App Secret *
26c29werdfdyddfdf12tedgdggdgd
Ordering
3

First create a Facebook Application in your Facebook account, set App ID and App Secret and click Save to be able editing advanced user parameters. See Phoca Gallery User Guide (Displaying Facebook Albums) to get info what needs to be set in your application.
Create Application
When i exist this screen I see the following...
Name User ID Facebook App ID Published ID
Not set yet Not set yet 1361223344556783
Facebook User Settings

Any help greatly appreciated.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannotsetup coonection to Facebook for albums

Post by Jan »

Hi, when you add them to the form, you should save it and then you will see connect button where you can connect with the Facebook and load all the information.

https://www.phoca.cz/documents/2-phoca-g ... ook-albums
Jan
If you find Phoca extensions useful, please support the project
ozbit
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 04 Jun 2016, 15:33

Re: Cannotsetup coonection to Facebook for albums

Post by ozbit »

Hello , Yes i understand but i do not see this ..no connect button ...It appears as i explained previously.
I have followed all directions but no success.
Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannotsetup coonection to Facebook for albums

Post by Jan »

Hi, can you paste a screenshots here.

Jan
If you find Phoca extensions useful, please support the project
ozbit
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 04 Jun 2016, 15:33

Re: Cannotsetup coonection to Facebook for albums

Post by ozbit »

Hope this helps..Thanks
Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannotsetup coonection to Facebook for albums

Post by Jan »

Hi, yes, there seems to be some php error, which interrupts the script. Try to see errorLog on your server, or try to enable displaying php errors on your website.
https://www.phoca.cz/documents/16-joomla ... rs-on-site

Jan
If you find Phoca extensions useful, please support the project
ozbit
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 04 Jun 2016, 15:33

Re: Cannotsetup coonection to Facebook for albums

Post by ozbit »

I am not to savvy with all this...but have managed to get the follaoing output..
Fatal error: Cannot redeclare class BaseFacebook in /home/gogomalt/public_html/administrator/components/com_phocagallery/libraries/phocagallery/facebook/base_facebook.php on line 154

No idea what it means but help there is a fix ..because was impressed the ability to update phoca to facebook.
Thanks for any help you can provide.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannotsetup coonection to Facebook for albums

Post by Jan »

Hi, which version of Phoca Gallery you are running? Do you use some other Facebook class, or did someone made customization to your Phoca Gallery?

If you are able to search on your server, try to search this string "class BaseFacebook" in folder: administrator/components/com_phocagallery/

Normally this class is included only one time but seems on your site there is another file which includes it again :idea:

Jan
If you find Phoca extensions useful, please support the project
ozbit
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 04 Jun 2016, 15:33

Re: Cannotsetup coonection to Facebook for albums

Post by ozbit »

Hi,
Version
4.3.0
No customisation doen on Phoca..
Cannot search server.. can this be addressed and fixed in some way?
Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannotsetup coonection to Facebook for albums

Post by Jan »

Hi, the problem is, I am testing it on three different servers and get no such problem, when searching the class, it is only one. Got no info from any other user, so for now I really don't know what is the reason on your server to duplicate the class :idea:

The next problem is, without searching the string on the server, nobody can say if the class is duplicated or not. The way can be download the server files to the PC per FTP and try to search it there :idea:

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