I'm facing troubles with a self developed Joomla (backend) component. I developed it without any troubles and it is working fine on my development Joomla.
After installing the component on another Joomla system (different version) the component itself seems to work fine - but when selecting an entry to edit or to create a new one I'm receiving an error saying that he doesn't find the custom helper classes I developed.
I'm registering the classes as it is needed regarding the docs - and as already mentioned: it is working FINE with my development Joomla.
For testing I loaded the helpers "by hand" with require_once()
- the error message itself is gone, but it doesn't work either. It doesn't even load the custom view but is showing the default listing.
Has anyone an idea what goes wrong? The installation itself (via zip) was without any messages.
- Development Joomla version: 3.2.2
- Client Joomla version: 3.3.1
Code excerpts for imports
controller.php
class DhhcController extends JControllerLegacy {
/* ... */
public function display($cachable = false, $urlparams = false) {
JLoader::register('DhhcHelper', JPATH_COMPONENT .'/helpers/dhhc.php');
JLoader::register('LanguageHelper', JPATH_COMPONENT .'/helpers/language.php');
// ...
}
}
Any help appreciated - thanks!