Topic-icon PHP error casuing http 500 error

Active Subscriptions:

None
13 years 5 months ago #29334 by robgoo
PHP Fatal error: Class 'SCArticleContent' not found in C:\inetpub\wwwroot\plugins\content\jfbccontent\jfbccontent.php on line 52

After upgrading the JFBConnect and a restart of the server, I receive a 500 error. Any idea why?
The topic has been locked.
Support Specialist
13 years 5 months ago #29337 by alzander
Please go to the JFBConnect Overview page in the admin area and make sure all of your extensions are up to date. My best guess is that you need to either update the component or the plugins/modules.

Let me know if everything on the Overview page is green and up-to-date and you're still having that issue and we'll gladly help look into the matter further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 5 months ago #29339 by robgoo
I can't even get to the Overview page, I should tell you, I do remember getting an error during install and it was the last item, it failed, and said I had to manually install it. If you have any suggestions on overriding this php error and accessing the site, I'm all ears. Thanks.
The topic has been locked.
Support Specialist
13 years 5 months ago #29341 by alzander
That's strange. The content plugins shouldn't be triggering at all in the admin area.

My best suggestion is to edit the /plugins/content/jfbccontent/jfbccontent.php file. At the top, you'll see:
class plgContentJFBCContent extends JPlugin
{

    function onBeforeDisplayContent(&$article, &$params, $limitstart)
Edit it and add the following function:
class plgContentJFBCContent extends JPlugin
{
    function __construct(& $subject, $config)
    {
          return false;
    }
    function onBeforeDisplayContent(&$article, &$params, $limitstart)
That should prevent that plugin from loading and hopefully get you back into the admin area. If not, let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 5 months ago #29344 by robgoo
Sorry, I was able to the Admin area (as you already knew) after looking at the logs. However, the JFBConnect Overview page returns an 500 error.
The topic has been locked.
Support Specialist
13 years 5 months ago #29345 by alzander
If you're getting a 500 error on the Overview page, please try to disable the JFBCSystem plugin. My guess is that you're affected by a bug that was fixed with the latest release of the main component. By disabling that plugin, you should be able to access the Overview area and use the Automatic Updater button that will be on the Overview page for the component.

Once updated, you can re-enable the plugin and again check that all versions are up to date.

Hope that helps!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 5 months ago #29346 by robgoo
Disabled the JFBC System plugin and still a no-go on the Overview page, Sorry. Any other ideas?
The topic has been locked.
Support Specialist
13 years 5 months ago #29348 by alzander
If you're still getting a 500 error, please go to your Joomla Global Config area and set:
* Error Reporting: Maximum
* GZip Compression: Off

Then, on the 500 error page, there should be more information about what's going wrong. Please post the full error message from the page and hopefully that will help us diagnose it further.

My best guess as to the cause is that the cURL extension isn't installed on your server. I didn't think that should cause a 500 error though, but it's possible. cURL is required to communicate with other websites to get information: SourceCoast to get version information and Autotune; Facebook for getting user information.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 5 months ago #29354 by robgoo
Here you go brother, I stayed up late and got up pretty early. And your still up? I really appreciate your help.
Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\plugins\system\azrul.system\azrul.system.php on line 52

Strict Standards: Non-static method CFactory::load() should not be called statically, assuming $this from incompatible context in C:\inetpub\wwwroot\clswyoming\components\com_community\libraries\apps.php on line 12

Strict Standards: Non-static method CFactory::load() should not be called statically, assuming $this from incompatible context in C:\inetpub\wwwroot\clswyoming\components\com_community\libraries\apps.php on line 13

Strict Standards: Declaration of CUser::set() should be compatible with JObject::set($property, $value = NULL) in C:\inetpub\wwwroot\clswyoming\components\com_community\libraries\user.php on line 13

Strict Standards: Declaration of CTableStorageS3::store() should be compatible with JTable::store($updateNulls = false) in C:\inetpub\wwwroot\clswyoming\components\com_community\libraries\storage\s3.php on line 171

Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with JRegistry::loadSetupFile() in C:\inetpub\wwwroot\clswyoming\libraries\joomla\html\parameter.php on line 512

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\plugins\system\jomsocialredirect\jomsocialredirect.php on line 29

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\plugins\system\jomsocialredirect\jomsocialredirect.php on line 132

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\plugins\system\azrul.system\azrul.system.php on line 148

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\plugins\system\rokextender\rokextender.php on line 32

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\plugins\system\rokgallery\rokgallery.php on line 22

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\plugins\system\rokgallery\rokgallery.php on line 23

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\plugins\system\azrul.system\azrul.system.php on line 87

Strict Standards: Non-static method RokCandyHelper::getMacros() should not be called statically, assuming $this from incompatible context in C:\inetpub\wwwroot\clswyoming\plugins\system\rokcandy\rokcandy.php on line 28

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\administrator\components\com_rokcandy\helpers\rokcandy.php on line 13

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\administrator\components\com_rokcandy\helpers\rokcandy.php on line 14

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::getUserMacros() should not be called statically in C:\inetpub\wwwroot\clswyoming\libraries\joomla\cache\controller\callback.php on line 159

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\administrator\components\com_rokcandy\helpers\rokcandy.php on line 24

Strict Standards: Non-static method RokCandyHelper::getTemplateOverrides() should not be called statically, assuming $this from incompatible context in C:\inetpub\wwwroot\clswyoming\administrator\components\com_rokcandy\helpers\rokcandy.php on line 18

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\administrator\components\com_rokcandy\helpers\rokcandy.php on line 41

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\administrator\components\com_rokcandy\helpers\rokcandy.php on line 42

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::readIniFile() should not be called statically in C:\inetpub\wwwroot\clswyoming\libraries\joomla\cache\controller\callback.php on line 159

Strict Standards: Only variables should be assigned by reference in C:\inetpub\wwwroot\clswyoming\plugins\system\rokcandy\rokcandy.php on line 51

Fatal error: Class 'SCArticleContent' not found in C:\inetpub\wwwroot\clswyoming\plugins\content\jfbccontent\jfbccontent.php on line 55
The topic has been locked.
Support Specialist
13 years 5 months ago #29355 by alzander
Robert,
I'm very confused as to what could be causing that problem. The issue is from our content plugin. However, that should only be 'triggering' on Content (Joomla Article) pages on the front-end. Not the admin area. It definitely shouldn't be happening in our administrator area.

Obviously it is though. The code change I asked you to do above should be causing the content plugin not to load at all. That code was given to you when I thought you couldn't access the admin area at all though. Instead of any other code changes, can you please go to the Plugin manager and simply disable the JFBCContent plugin? That should hopefully let you access the admin area and maybe give us more information about your versions and possible problems.

If everything there is up-to-date, then please go to the Joomla Installer -> Update area. Hit "Purge Cache" and "Refresh". Let us know if any JFBConnect-type extensions show that they need to be updated.

Beyond that, to diagnose, I may need to ask for admin access, if possible. This isn't an issue we've heard of before and, again, shouldn't even be happening in the admin area at all. We'd need to understand your Joomla configuration more to be able to diagnose the problem.

Thanks,
Alex
The topic has been locked.