3.0 RC3 J1.6 doesnt work without facebook?

Phoca Gallery - image gallery extension
Toomster
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 02 Feb 2011, 20:02

3.0 RC3 J1.6 doesnt work without facebook?

Post by Toomster »

Hi there,

i have a clean installation of joomla 1.6 wihtout standardcontend. I installed the gallery-component, created a category, uploaded one image and set it into the category. everything works so far.
then i created a new mainmenu-link for list of categories (a) and one for list of images (b).
when i checked the frontend the links appear and i clicked on (a) it shows the cat. but when i click on the cat or try to open (b) nothing happen. the borwser (firefox 3.6/IE 8) are going into a loop or stop.
when i go back on home it shows the message: "Connection to Facebook not created. Check the cURL functions in php.ini"
i checked the gallery-options and deactivate every comment and rating-function, picasa- and facebook-stuff. the rest is on default, but the error stays.

What do i have to do to get the gallery working without facebook-id or something else
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: 3.0 RC3 J1.6 doesnt work without facebook?

Post by Benno »

Hi,
yes I confirm. Absolutely the same issue here.... :idea:
Kind regards,
Benno
muabdib58
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 29 Jun 2010, 18:33

Re: 3.0 RC3 J1.6 doesnt work without facebook?

Post by muabdib58 »

I have the same problem.

I do not have a facebook account so how do I make phoca work without this?

Thank you
Peter
thmz01
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 03 Feb 2011, 21:54

Re: 3.0 RC3 J1.6 doesnt work without facebook?

Post by thmz01 »

Hi everybody,
New to Phoca but same problem... :cry:
Any idea ?
myname
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 04 Feb 2011, 03:00

Re: 3.0 RC3 J1.6 doesnt work without facebook?

Post by myname »

there is a problem with CURL extension, you can enable it in php.ini (extension=php_curl.dll).
Look also api.php:

Code: Select all

if (!function_exists('curl_init')) {
	$msg = JText::_('COM_PHOCAGALLERY_FACEBOOK_NOT_LOADED_CURL');
	$app->redirect(JRoute::_($link, false), $msg, 'error');
	exit;
Toomster
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 02 Feb 2011, 20:02

Re: 3.0 RC3 J1.6 doesnt work without facebook?

Post by Toomster »

Thanks for the hint :x it helps
in standardinstallation of xampp its not active.
i also switched the "allow_url_fopen" to "on", because the info-button of phoca-gallery said its recommend.
sometimes it helps to rtfm :twisted:
hopefully i will be able to change it on provider-webspaces that easy.

i can say - SOLVED - so far


what should i check in that api? the same code you posted is inside.
gyminant
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 04 Feb 2011, 18:10

Re: 3.0 RC3 J1.6 doesnt work without facebook?

Post by gyminant »

Hello,

i got the same problem here but it still doesnt work. I don't have that much knowledge about php and Joomla.

I installed a new Joomla 1.6 system with XAMPP and removed the ";" in front of "extension=php_curl.dll" in the php.ini. Hope this was the right way, to enable the Curl extension.
The "allow_url_fopen" is also "on" and in the api.php is the same code like posted.

You have some more ideas?

thanks ;)

Edit:
Okay sorry, a simple reboot helped ;) Guess XAMMP needed to restart for the changings... So you can ignore this post ;)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 3.0 RC3 J1.6 doesnt work without facebook?

Post by Jan »

Hi, confirmed, there needs to be an if clause for facebook library (for now the curl is checked evertime the library is loaded)

I will fix it for the next version.

Jan
If you find Phoca extensions useful, please support the project
Blues
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 06 Feb 2011, 21:07

Re: 3.0 RC3 J1.6 doesnt work without facebook?

Post by Blues »

I still have the error -> Connection to Facebook not created. Check the cURL functions in php.ini <- . I am not a freak and understand how it works. I search the php.ini, but this file not exist. Please can sombody explain exact how i can fix this bug?

Thanks in advance

Blues
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: 3.0 RC3 J1.6 doesnt work without facebook?

Post by Benno »

Hi,
I will fix it for the next version.
Jan
Wait for it.
Kind regards,
Benno
Post Reply