vitasklep
14-05-2009, 11:38
mam zainstalowany moduł Transmenu właczony system zgodności z Joomla 1.0 i pokazuje mi taki błąd
Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/klubi/ftp/wycieczki/modules/mod_ja_transmenu/mod_ja_transmenu.php on line 13
podaje mod_ja_transmenu.php
<?php
/**
* @version $Id: mod_ja_transmenu.php
* @copyright (C) 2005 JoomlArt.com
* @license This module is licenced under the Creative Commons Attribution-NonCommercial-ShareAlike License, 2005m
*/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
/**
/* Loads main class file
*/
$params->set( 'module_name', 'JA Trans Menu' );
$params->set( 'module', 'ja_transmenu' );
$ params-> set ( 'absPath', $ mosConfig_absolute_path ". / modules / mod_ja_transmenu / '. $ params-> get (' module '));
$params->set( 'LSPath', $mosConfig_live_site . '/modules/mod_ja_transmenu/' .
$params->get( 'module' ) );
$ params-> set ( 'LSPath', $ mosConfig_live_site ". / modules / mod_ja_transmenu / '.
$ params-> get (' module '));
include_once(
$params->get( 'absPath' ) .'/jamenu.php' );
global $my;
$jamenu= new JAMenu ($database, $params);
$jamenu->genMenu ();
?>
prosze o pomoc
Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/klubi/ftp/wycieczki/modules/mod_ja_transmenu/mod_ja_transmenu.php on line 13
podaje mod_ja_transmenu.php
<?php
/**
* @version $Id: mod_ja_transmenu.php
* @copyright (C) 2005 JoomlArt.com
* @license This module is licenced under the Creative Commons Attribution-NonCommercial-ShareAlike License, 2005m
*/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
/**
/* Loads main class file
*/
$params->set( 'module_name', 'JA Trans Menu' );
$params->set( 'module', 'ja_transmenu' );
$ params-> set ( 'absPath', $ mosConfig_absolute_path ". / modules / mod_ja_transmenu / '. $ params-> get (' module '));
$params->set( 'LSPath', $mosConfig_live_site . '/modules/mod_ja_transmenu/' .
$params->get( 'module' ) );
$ params-> set ( 'LSPath', $ mosConfig_live_site ". / modules / mod_ja_transmenu / '.
$ params-> get (' module '));
include_once(
$params->get( 'absPath' ) .'/jamenu.php' );
global $my;
$jamenu= new JAMenu ($database, $params);
$jamenu->genMenu ();
?>
prosze o pomoc