Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download Elxis CMS: Elxis 4.0 Nautilus
 
Pages: [1]
  Print  
Author Topic: template problem  (Read 3909 times)
Haic
Jr. Member
**
Offline Offline

Posts: 72


it's me


« on: November 19, 2006, 14:11:55 »

Hello,

I have installed a mambo/joomla template and i've got a error in the administration template

Fatal error: Call to a member function on a non-object in /home/elxiscms/domains/elxiscms.nl/public_html/administrator/components/com_templates/admin.templates.php on line 142

Do you know what the problem is?
Logged

greetz,

Haico
datahell
Elxis Team
Hero Member
*****
Online Online

Posts: 7593



WWW
« Reply #1 on: November 19, 2006, 22:45:42 »

Seems there is a problem with the template's XML file. Is this the only error message you see? Can you send me the template to check it?
Logged

Haic
Jr. Member
**
Offline Offline

Posts: 72


it's me


« Reply #2 on: November 19, 2006, 22:52:18 »

to this email address? msn@datahellas.com
Logged

greetz,

Haico
datahell
Elxis Team
Hero Member
*****
Online Online

Posts: 7593



WWW
« Reply #3 on: November 19, 2006, 22:59:16 »

info AT datahellas DOT com
Logged

ioannis_paps
Newbie
*
Offline Offline

Posts: 3


« Reply #4 on: January 13, 2007, 04:09:06 »

was this issue resolved? If so could you please provide the solution here so that others may benefit.
Logged
ioannis_paps
Newbie
*
Offline Offline

Posts: 3


« Reply #5 on: January 13, 2007, 07:02:36 »

I think I have solved this issue.
Some Joomla templates contain files which may have the word "xml" in them. If this is the case then this line from admin.templates.php:

$xmlFilesInDir = $fmanager->listFiles($dirName,'.xml');

seems to select these files as well which I dont believe it should. As such when it comes time to execute this line:

$xmlFilesInDir = $fmanager->listFiles($dirName,'.xml');

and determine if the file is a valid xml file it fails.


Hope this helps someone.
Logged
theprincy
PowerPcweb
Jr. Member
**
Offline Offline

Posts: 92


Revhost.eu Web Hosting Services


WWW
« Reply #6 on: January 16, 2007, 12:13:36 »

how to resolve the problem?
Logged

PowerPcweb
Vendita - Assistenza - Sviluppo Software - Hosting - Siti Web
www.powerpcweb.it --  www.revhost.eu
Pages: [1]
  Print  
 
Jump to: