Hello World Mod - Joomla! Forum - community, help and support


hello, ultra simple module throwing error @ face. not understand why is. tell me mistake , how can remedy it. these 2 files put in folder of same name , archived. mod attached post incase useful.

error:
fatal error: call member function gettagname() on non-object in /homepages/90/d159934800/htdocs/joomla/administrator/components/com_installer/installer.class.php on line 167


mod_helloworld.php

code: select all

<?php
/**
* @version $id: mod_hellojoomla.php 5203 2007-03-27 01:42:10z danr $
* @package joomla
* @copyright copyright (c) 2007 dan rahmel. rights reserved.
* @license gnu/gpl
* simple component display hello greeting.
*/
// no direct access
defined( '_jexec' ) or die( 'restricted access' );
echo jtext::_( 'hello world!');


mod_helloworld.xml

code: select all

<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.0">
<name>hello world</name>
<author>dan rahmel</author>
<creationdate>march 2007</creationdate>
<copyright>(c) 2007 dan rahmel. rights reserved.</copyright>
<license>gnu/gpl</license>
<authoremail>admin@joomlajumpstart.org</authoremail>
<authorurl>www.joomlajumpstart.org</authorurl>
<version>1.0.0</version>
<description>hello world module</description>
<files>
<filename module="mod_helloworld">mod_helloworld.php</filename>
</files>
</install>

it seems trying install module not in joomla! version 1.5, in 1.0.

_jexec constant, jtext class , .xml file 1.5.





Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???