Topic-icon JFBC System

Active Subscriptions:

None
14 years 3 months ago #19047 by simcro
JFBC System was created by simcro
I just installed (uninstalled and then re-installed again) JFB Connect 4.1.2 onto Joomla 2.5.1 running on a dev site on MAMP Pro. By a process of elimination I have found that when JFBC System is disabled the front end is available. When it is enabled it causes an internal system error 500. Can't give more info than that as the debug console does not show.
Also have Mosets tree and Kunena working in the environment but there should not be any conflicts since they are not called from the front page. Community Builder is the only thing I can think of but don't know how to proceed.
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19048 by simcro
Replied by simcro on topic JFBC System
PHP error is below
[10-Feb-2012 16:37:15] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 102 bytes) in /Applications/MAMP/VH2/libraries/joomla/language/language.php on line 792
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19049 by simcro
Replied by simcro on topic JFBC System
Found another post relating to joomla 1.5 with same issue. added .htaccess file with
php_value memory_limit 64M

Bingo!
The topic has been locked.
Support Specialist
14 years 3 months ago #19051 by alzander
Replied by alzander on topic JFBC System
Simon,
Thanks for the report. 32MB (your old setting) should be more than enough to run a webpage. While upping to 64M may work, it sounds like something on your page may be consuming a lot of resources. JFBConnect has been heavily optimized to be 'light'. Pages on this site, for instance, take about 10-13MB to generate.

You can see the exact amount of memory per page by enabling "Debug System" in Global Configuration. At the bottom of each page will be an indicator with some stats as to what was needed to create the page. You may want to try enabling/disabling different features or comparing pages on your site to see if there's anything that may be causing the higher than expected memory usage.

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #20264 by derrdesigns
Replied by derrdesigns on topic JFBC System
Hi there,

I recently installed 4.1.2 on my joomla site (knoxhealth.com) running 1.5. Whenever I enable the system plugin, I get the following error on any page of my website...


Fatal error: Uncaught exception 'Exception' with message 'Facebook needs the CURL PHP extension.' in /var/www/joomla.knoxhealth.com/administrator/components/com_jfbconnect/assets/facebook-api/base_facebook.php:32 Stack trace: #0 /var/www/joomla.knoxhealth.com/administrator/components/com_jfbconnect/assets/facebook-api/facebook.php(21): require_once() #1 /var/www/joomla.knoxhealth.com/components/com_jfbconnect/libraries/facebook.php(112): include_once('/var/www/joomla...') #2 /var/www/joomla.knoxhealth.com/components/com_jfbconnect/libraries/canvas.php(112): JFBConnectFacebookLibrary->getFbClient() #3 /var/www/joomla.knoxhealth.com/components/com_jfbconnect/libraries/canvas.php(50): JFBConnectCanvasLibrary->parseSignedRequest() #4 /var/www/joomla.knoxhealth.com/plugins/system/jfbcsystem.php(69): JFBConnectCanvasLibrary->setupCanvas() #5 [internal function]: plgSystemJFBCSystem->onAfterInitialise() #6 /var/www/joomla.knoxhealth.com/libraries/joomla/event/event.php(67): call_user_func_array(Array, Array) #7 /var/www/joomla.k in /var/www/joomla.knoxhealth.com/administrator/components/com_jfbconnect/assets/facebook-api/base_facebook.php on line 32
The topic has been locked.
Support Specialist
14 years 3 months ago #20267 by alzander
Replied by alzander on topic JFBC System
Your server sounds like it doesn't have the PHP cURL functions enabled. Those are normally standard parts of PHP and are required for communication with Facebook. The next release should make the error you see a lot prettier as that's pretty ugly, but the requirement for cURL will still be there.

We'd recommend you contact your hosting provider and have them enable cURL on your server.

Thanks,
Alex
The topic has been locked.