Welcome Guest, Not a member yet? Register   Sign In
sparks not loaded when using HMVC
#1

[eluser]goFrendiAsgard[/eluser]
I follow this step :
http://getsparks.org/set-up-mx
I do manual installation of sparkManager 0.0.5
I override Loader.php and Module.php as instructed

I'm using CodeIgniter 2.0.3,
newest HMVC from bitbucket
ion_auth 2.0.4

Then I make a controller which load ion_auth:
Code:
$this->load->spark('ion_auth/2.0.4');
$ion_auth = $this->ion_auth;

I got this error:
Quote:A PHP Error was encountered

Severity: Notice

Message: Undefined property: Welcome::$ion_auth

Filename: controllers/welcome.php

Line Number: 33

I've also try to debug,.... and stucked at line 5 of third_party/MX/Module.php (http://getsparks.org/static/install/mx/Modules.php.txt)
Code:
if(!defined('SPARKPATH'))
{
        define('SPARKPATH', APPPATH.'sparks/');
}
the SPARKPATH would be "application/sparks", I know it should actually refer to "sparks". I tried to fixed it, but the error still occurred.

I think it is not ion_auth problem, since I've try to make my own spark, and got the same result.

Is there anybody with the same problem?

Or is there anybody with a success story of doing this?

PS:
I'm using ubuntu 10.10, there is no reason to have a wrong extention file as someone using windows with hidden extension,.....


Messages In This Thread
sparks not loaded when using HMVC - by El Forum - 08-28-2011, 01:35 PM
sparks not loaded when using HMVC - by El Forum - 03-16-2012, 10:59 AM
sparks not loaded when using HMVC - by El Forum - 05-18-2013, 03:02 AM
sparks not loaded when using HMVC - by El Forum - 07-01-2013, 07:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB