Help "PHP Fatal error: Class 'JComponentHelper' not found"

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
efi_m
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Mar 08, 2013 6:13 pm

Help "PHP Fatal error: Class 'JComponentHelper' not found"

Post by efi_m » Fri Mar 08, 2013 6:54 pm

Hi,

Recently out of the blues the following error appears above two modules on our website (http://www.mediacouncil.or.ke/).

1. JA News Frontpage
PHP Fatal error: Class 'JComponentHelper' not found in /home8/mediaco7/public_html/modules/mod_janews_fp/helpers/adapter/flexi.php on line 4

2. JA News Pro
PHP Fatal error: Class 'JComponentHelper' not found in /home8/mediaco7/public_html/modules/mod_janewspro/helpers/adapter/flexi.php on line 4

I have tried to use backups of both database and website files and the errors still appear.

How do I correct this? Any assistance will be highly appreciated.

mynomi008
Joomla! Explorer
Joomla! Explorer
Posts: 262
Joined: Mon Nov 21, 2011 6:31 am
Location: Pakistan
Contact:

Re: Help "PHP Fatal error: Class 'JComponentHelper' not foun

Post by mynomi008 » Sat Mar 09, 2013 6:53 am

use this line on top of flexi.php file

jimport( 'joomla.application.component.helper' );
Web Programming and IT Support Services
http://www.codingace.com

efi_m
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Mar 08, 2013 6:13 pm

Re: Help "PHP Fatal error: Class 'JComponentHelper' not foun

Post by efi_m » Mon Mar 11, 2013 5:28 am

Thanks for the reply,

Unfortunately the homepage disappeared and the following error appeared.

PHP Fatal error: Class 'JComponentHelper' not found in /home8/mediaco7/public_html/modules/mod_janewspro/helpers/adapter/flexi.php on line 4 [28-Feb-2013 00:28:19] PHP Fatal error: Class 'JComponentHelper' not found in /home8/mediaco7/public_html/modules/mod_janewspro/helpers/adapter/flexi.php on line 4 [28-Feb-2013 00:28:21] PHP Fatal error: Class 'JComponentHelper' not found in /home8/mediaco7/public_html/modules/mod_janewspro/helpers/adapter/flexi.php on line 4 [28-Feb-2013 00:28:21] PHP Fatal error: Class 'JComponentHelper' not found in /home8/mediaco7/public_html/modules/mod_janewspro/helpers/adapter/flexi.php on line 4 [28-Feb-2013 01:44:15] PHP Fatal error: Class 'JComponentHelper' not found in /home8/mediaco7/public_html/modules/mod_janewspro/helpers/adapter/flexi.php on line 4 [28-Feb-2013 01:57:14] PHP Fatal error: Class 'JComponentHelper' not found in /home8/mediaco7/public_html/modules/mod_janewspro/helpers/adapter/flexi.php on line 4 [01-Mar-2013 23:16:54] PHP Fatal error: Class 'JComponentHelper' not found in /home8/mediaco7/public_html/modules/mod_janewspro/helpers/adapter/flexi.php on line 4

After reverting to the original the site homepage does not appear but still shows the above error and only appears after I deactiate Especially after editing modules/mod_janewspro/helpers/adapter/flexi.php

I am puzzled what the cause is, what else can be done? Any assistance will be highly appreciated.


Locked

Return to “General Questions/New to Joomla! 1.5”