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

Login with username, password and session length
News: IOS Reservations online hotel booking system for Elxis CMS.
 
Pages: [1]
  Print  
Author Topic: Joomla Templates Fail to Install  (Read 3500 times)
fyswan
Newbie
*
Offline Offline

Posts: 4


« on: May 21, 2007, 20:09:07 »

 ::)Hi  this is my first post.  I have migrated from Joomla.  I have Lots of joomla templates I have paid for and would like to use them for Elxis.  However they simply fail to install.  This is one of the errors!


tmpr/install_4651dc67a7cc5/index.php does not exist!

these are all .tgz files.  Perhaps it doesnt like the file? Shocked

I also have a Joomla template creation wizard, can I use this?  Or is it possible to create a multipurpose template skeleton that people can use to create their own copyrighted templates.  Perhaps we could share!
Logged
eliasan
Hero Member
*****
Offline Offline

Posts: 897


« Reply #1 on: May 21, 2007, 20:16:34 »

Welcome fyswan,

Elxis doesn't "like" installation zip files for templates, modules, mambots that are zipped including a folder.

You have to unzip the template locally, and then pack the files that are inside the newly created directory.

For example if you unzip locally template1.zip you will get something like:

C:/mytemplates/ template1/ [files]

Go inside C:/mytemplates/ template1/
Zip the files as template1.zip and
Use it to install the template.

 
Logged
fyswan
Newbie
*
Offline Offline

Posts: 4


« Reply #2 on: May 23, 2007, 10:50:04 »

Hi eliasan

Thanks.  I will try that when I create my own templates, unfortuanetely all the ones i have are .TGZ which dont extract to normal files. Huh
Logged
eliasan
Hero Member
*****
Offline Offline

Posts: 897


« Reply #3 on: May 24, 2007, 01:32:58 »

Hi fyswan,

I do not see why the .tgz format is a problem.

There are so many extract applications that can handle (support) it.

If you feel more comfortable, you can then zip the files  to a .zip pack.
Logged
canton
Newbie
*
Offline Offline

Posts: 43


« Reply #4 on: June 24, 2007, 05:30:52 »

Quote

Elxis doesn't "like" installation zip files for templates, modules, mambots that are zipped including a folder.

You have to unzip the template locally, and then pack the files that are inside the newly created directory.

For example if you unzip locally template1.zip you will get something like:

C:/mytemplates/ template1/ [files]

Go inside C:/mytemplates/ template1/
Zip the files as template1.zip and
Use it to install the template.

I had already done this to upload a template and  it uploaded but now when i go to -:

site/template manager/templates

under the navigation option for "default/Assign/New/Edit HTML e.t.c the page is blank showing templates at all.

Just simple white space  Embarrassed

What could have gone wrong and how do i rectifier the problem?

Thanks in advance
Logged
eliasan
Hero Member
*****
Offline Offline

Posts: 897


« Reply #5 on: June 24, 2007, 08:48:08 »

Canton, I will send you a PM with an email address that you could send me the template to check it.
Logged
eliasan
Hero Member
*****
Offline Offline

Posts: 897


« Reply #6 on: June 24, 2007, 19:23:22 »

Hi Canton,

Thank you for sending me the files for checking.

Indeed, when Elxis was trying to display the site templates an error was generated and execution was stoped. You had errors disabled. So what you were seeing was a blank page. You were unable to see the actual error message.

The error was:
Fatal error: Call to a member function on a non-object in .../administrator\components\com_templates\admin.templates.php on line 142

What was the cause of the error and how you can fix it.

One of the files composing the template is named: buildxml.php while there is also the normal templateDetails.xml file.

Algorithm seeks for files having "xml" in their names.

It was finding the buildxml.php, and was trying to interpret it as a templateDetails.xml (which it isn't). That failure was causing the fatal error.

How to fix it? Simply rename buildxml.php to buildx-ml.php

Templates now are displayed correctly, and the template shows up in the front end.



Logged
canton
Newbie
*
Offline Offline

Posts: 43


« Reply #7 on: June 25, 2007, 05:44:12 »

Thank you this made the template upload with no errors and allowed me to display it on the front end.

But please note. I had to reflect the changes in the "templateDetails.xml" for it to work.

But it seem that elixs doesn't display the template faithfully as i had issues with the navigation system. The main navigation at the top of the template and not at the left side of the navigation is missing.

this is only an issue with FireFox..and the strange thing was it wasn't in joomla.  Huh

I'll try and look into this later or maybe you know what the problem is.

Thanks for your help
« Last Edit: June 25, 2007, 05:49:20 by canton » Logged
Ivan Trebješanin
Elxis Team
Hero Member
*****
Offline Offline

Posts: 1646



WWW
« Reply #8 on: June 25, 2007, 10:41:59 »

Hi canton,
My friend is making commercial templates for joomla, and I saw this problem once. It was due to top menu generation in joomla (it's not  generating active link in top menu). He copied mainlevel and published that copy in the place of top menu. Maybe this is the case with your template to. This workaround works for joomla, but elxis doesn't need this workaround. Wink
Logged

I've got a snap in my finger...
Got rhythm in my walk...
canton
Newbie
*
Offline Offline

Posts: 43


« Reply #9 on: June 26, 2007, 08:53:03 »

thanks i'll try this later today and get back to you  Cool
Logged
Pages: [1]
  Print  
 
Jump to: