Page 1 of 2

Cannotsetup coonection to Facebook for albums

Posted: 04 Jun 2016, 16:01
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.

Re: Cannotsetup coonection to Facebook for albums

Posted: 05 Jun 2016, 23:09
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

Re: Cannotsetup coonection to Facebook for albums

Posted: 07 Jun 2016, 03:10
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

Re: Cannotsetup coonection to Facebook for albums

Posted: 10 Jun 2016, 15:37
by Jan
Hi, can you paste a screenshots here.

Jan

Re: Cannotsetup coonection to Facebook for albums

Posted: 11 Jun 2016, 18:26
by ozbit
Hope this helps..Thanks
Image

Re: Cannotsetup coonection to Facebook for albums

Posted: 13 Jun 2016, 23:44
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

Re: Cannotsetup coonection to Facebook for albums

Posted: 19 Jun 2016, 16:42
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.

Re: Cannotsetup coonection to Facebook for albums

Posted: 19 Jun 2016, 16:49
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

Re: Cannotsetup coonection to Facebook for albums

Posted: 20 Jun 2016, 07:14
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

Re: Cannotsetup coonection to Facebook for albums

Posted: 22 Jun 2016, 15:45
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