Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

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.

Please Log in or Create an account to join the conversation.

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

I should add that I've tried all the components out in the sandbox before downloading and they have been fine

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

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

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?

Please Log in or Create an account to join the conversation.

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

a component I just downloaded is throwing the same error ... I will work on my fork code with previous download until this is fixed

Please Log in or Create an account to join the conversation.

Last edit: by dyoungers.

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

Hey admin, any news on this situation?

Please Log in or Create an account to join the conversation.

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

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

Please wait the next upgrade soon
Coding is now a piece of cake
The following user(s) said Thank You: cefnllys

Please Log in or Create an account to join the conversation.

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

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

Please Log in or Create an account to join the conversation.

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

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 following user(s) said Thank You: cefnllys, ewajoom

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed now in the last upgrade (2.6)
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.119 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started