Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Downloaded Component not working

Downloaded Component not working 10 Sep 2013 10:12 #11039

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
Hi, since yesterday I have tried several times to download multiple components and even created new test components. But every time I download a component and install it I am getting blank pages appear for every page of my component. What is going on? please help this is urgent. I have tried re-compiling each component as 2.5 and 3.0 versions but I still get the same. Some of the components I tried downloading were old ones which I knew worked before. please get back to me ASAP please.
The administrator has disabled public write access.

Downloaded Component not working 10 Sep 2013 10:53 #11043

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
I should add that I've tried all the components out in the sandbox before downloading and they have been fine
The administrator has disabled public write access.

Downloaded Component not working 10 Sep 2013 11:42 #11044

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Blank page is when you get a php error.

Activate your php errors and please tell us what is the error.
Coding is now a piece of cake
The administrator has disabled public write access.

Downloaded Component not working 10 Sep 2013 14:38 #11047

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
HI admin thanks for getting back to me the errors reported are:

( ! ) SCREAM: Error suppression ignored for
( ! ) Fatal error: Class 'JView' not found in C:\wamp\www\Test\administrator\components\com_expandit\helpers\mvc.php on line 80
Call Stack
# Time Memory Function Location
1 0.0005 141224 {main}( ) ..\index.php:0
2 0.0925 3031728 JAdministrator->dispatch( ) ..\index.php:46
3 0.0988 3239888 JComponentHelper::renderComponent( ) ..\application.php:153
4 0.1061 3260584 JComponentHelper::executeComponent( ) ..\helper.php:351
5 0.1070 3285576 require_once( 'C:\wamp\www\Test\administrator\components\com_expandit\expandit.php' ) ..\helper.php:383
6 0.1078 3324616 require_once( 'C:\wamp\www\Test\administrator\components\com_expandit\helpers\loader.php' ) ..\expandit.php:31
7 0.1177 3353992 require_once( 'C:\wamp\www\Test\administrator\components\com_expandit\helpers\mvc.php' ) ..\loader.php:107

Any idea how i can fix this?
The administrator has disabled public write access.

Downloaded Component not working 10 Sep 2013 18:20 #11053

  • dyoungers
  • dyoungers's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 16
  • Karma: 0
a component I just downloaded is throwing the same error ... I will work on my fork code with previous download until this is fixed
Last Edit: 10 Sep 2013 18:20 by dyoungers.
The administrator has disabled public write access.

Downloaded Component not working 11 Sep 2013 10:01 #11058

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
Hey admin, any news on this situation?
The administrator has disabled public write access.

Downloaded Component not working 11 Sep 2013 11:38 #11059

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
This should in fixed now in my localhost.

Please wait the next upgrade soon
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: cefnllys

Downloaded Component not working 11 Sep 2013 12:52 #11061

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
Have we got a time scale on the release? As this is holding up projects that I need to complete in time for deadlines. I understand this is a big job for just one person but it saves me having to keep checking back here if I know a rough date/time. Thanks
The administrator has disabled public write access.

Downloaded Component not working 12 Sep 2013 21:30 #11072

  • mygroup
  • mygroup's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Thank you received: 2
  • Karma: 0
Hi, the problem is in the file helpers / mvs.php line 80, the new code is causing the error:

// MVC
	if (!class_exists('CkJController'))
	{
		//Sometimes Legacy classes can already been initializated
		if (!class_exists('JController', false))
			jimport('joomla.application.component.controller');

		if (!class_exists('JModel', false))
			jimport('joomla.application.component.model');
		
		if (!class_exists('JViewLegacy', false))
			jimport('legacy.view.legacy');
		
		class CkJController extends JController{}	
		class CkJModel extends JModel{}
		class CkJView extends JView{}
	}

Replace it with the above code and this worked

// MVC
	if (!class_exists('CkJController'))
	{
		jimport('joomla.application.component.controller');
		jimport('joomla.application.component.model');
		jimport('joomla.application.component.view');
		
		class CkJController extends JController{}	
		class CkJModel extends JModel{}
		class CkJView extends JView{}
	}
The administrator has disabled public write access.
The following user(s) said Thank You: cefnllys, ewajoom

Downloaded Component not working 23 Sep 2013 17:30 #11146

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed now in the last upgrade (2.6)
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.080 seconds

Get Started