For that 3rd option, if you want to try some code that should work immediately, please edit the /components/com_jfbconnect/libraries/factory.php file. In there, find and replace the functions listed below:a) Deleting the php.ini files from the following directories:
/components/com_jfbconnect/libraries/provider/
/components/com_jfbconnect/libraries/provider/facebook/widget/
/components/com_jfbconnect/libraries/provider/google/widget/
/components/com_jfbconnect/libraries/provider/linkedin/widget/
/components/com_jfbconnect/libraries/provider/pinterest/widget/
/components/com_jfbconnect/libraries/provider/twitter/widget/
/components/com_jfbconnect/libraries/toolbar/
b) Contacting Siteground to let them auto-remove all the php.ini files
c) Let us know if you'd like to make a quick code change to JFBConnect, which should also fix the issue.
public static function getAllProviders()
{
static $allProviders;
if (!isset($allProviders))
{
$allProviders = array();
$files = JFolder::files(JPATH_SITE . '/components/com_jfbconnect/libraries/provider/', '\.php$');
foreach ($files as $file)
{
$p = self::provider(str_replace(".php", "", $file));
if ($p)
$allProviders[] = $p;
}
}
return $allProviders;
}public static function getAllWidgets($provider)
{
static $allWidgets;
if(!$provider || $provider == 'provider')
return array();
if (!isset($allWidgets))
$allWidgets = array();
if (!isset($allWidgets[$provider]))
{
$allWidgets[$provider] = array();
$widgetFolder = JPATH_SITE . '/components/com_jfbconnect/libraries/provider/' . $provider . '/widget/';
if(JFolder::exists($widgetFolder))
{
$widgetFiles = JFolder::files($widgetFolder, '\.xml$');
if ($widgetFiles && count($widgetFiles) > 0)
{
foreach ($widgetFiles as $file)
{
$allWidgets[$provider][] = self::widget($provider, str_replace(".xml", "", $file));
}
}
}
}
return $allWidgets[$provider];
}$files = JFolder::files($path);$files = JFolder::files($path, '\.php$');
Notice: Constant _JEXEC already defined in /home/kepplewr/public_html/administrator/index.php on line 9
Notice: Constant DS already defined in /home/kepplewr/public_html/administrator/index.php on line 10
Notice: Constant JPATH_BASE already defined in /home/kepplewr/public_html/administrator/index.php on line 17
Warning: require_once(/home/kepplewr/public_html/includes/helper.php) [function.require-once]: failed to open stream: No such file or directory in /home/kepplewr/public_html/administrator/index.php on line 22
Fatal error: require_once() [function.require]: Failed opening required '/home/kepplewr/public_html/includes/helper.php' (include_path='.:/usr/local/php53/pear') in /home/kepplewr/public_html/administrator/index.php on line 22
Fatal error: Access to undeclared static property: JLoader::$classes in /home/kepplewr/public_html/libraries/loader.php on line 195Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
