By Supporter on Monday, 05 September 2016
Posted in Technical Issues
Replies 5
Likes 0
Views 310
Votes 0
When creating any kind of menu item this is the error displayed on top of a blank page:
Fatal error: Class 'JFile' not found in /plugins/content/easysocial/easysocial.php on line 35
Hm, this is odd. By default the plugin does include the "JFile" library from Joomla unless the JFile library is missing from the site. Can you edit the file /plugins/content/easysocial/easysocial.php and see if the following line of code exists at line 14 ?

·
Monday, 05 September 2016 22:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

No, I searched the line in the entire document but it is not present.
Should I add it as a first line before
class PlgContentEasySocial extends JPlugin
or elsewhere??
First lines are:
<?php
/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined( '_JEXEC' ) or die( 'Unauthorized Access' );

/**
* EasySocial plugin for Joomla articles
*
* @package Joomla.Plugin
* @subpackage Content.EasySOcial
* @since 1.0.0
*/
class PlgContentEasySocial extends JPlugin
{
·
Monday, 05 September 2016 22:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, that's odd as it looks like it's from an older version but could you add this into line 13 ?
·
Monday, 05 September 2016 23:24
·
0 Likes
·
0 Votes
·
0 Comments
·
After having nearly been buried 6 feet under end last year I started re-working last week.
I deleted the joomla installation to start again from scratch including latest ES launchers...
The file is not an old one but the latest
·
Monday, 05 September 2016 23:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Supporter,

Is everything okay? I certainly hope that everything is alright with you now?

I tried 1.4.12 and the file /plugins/content/easysocial/easysocial.php contains that line of code. Hmmm, did you downloaded the plugin from our Apps Directory and install over it?
·
Tuesday, 06 September 2016 00:26
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post