Skip to main content

First attempt to fix the template in 2.5.1

07 February 2012


SP upgrade puts the migrated template in a directory for you to install it from. In the log / report that you get when the migration is finished, you can find the exact path of the directory which you need to use while installing the template.

So, in my new joomla 2.5.1 installation, let's see if I can install this migrated template.

Filling in the directory, press install...

Too bad. I am getting the following errors:

    •    Laden XML bestand mislukt
    •    /home/reddie/public_html/joomla25/tmp/rt_panacea_j15/templateDetails.xml
    •    XML: expected '>'
    •    XML: Opening and ending tag mismatch: install line 2 and fields
    •    XML: Extra content at the end of the document
    •    JInstaller: :Installeren: Kan Joomla XML instellingenbestand niet vinden
    •    Pad heeft geen geldig pakket.

Well, it was a bit too good to be true, wasn't it. But, looking at this error, I don't think it is that bad, looks like a syntax error in the XML file. Let's see if we can find that.

So... taking a close look at the template's XML, I can see what's got to be a problem. After some basic stuff, it starts with the FIELDS tag then a whole list of FIELD tags with values.

It closes at the bottom however with the FIELDSET tag followed by the FIELDS tag followed by the CONFIG tag.

So that's not gonna work. The tags FIELDSET and CONFIG aren't opened. I have no idea if this is the only problem, but this is easy to fix. Inserting the tags and try to install again.

And guess what..... that worked. Partially anyway. The template did manage to install itself, but is not working like it is supposed to. When opening it, it shows absolutely no parameters on the right side of the template, so still something isn't right with the XML-file.

Then, sinceit uses the Gantry framework, I installed the latest gantry version for Joomla 2.5. From then on, there's no way to open the template anymore, it throws a 500 error (string could not be parsed as XML) and the front shows a gantry fatal error, Call to a member function get() on a non-object.


So no joy here.


It is time for plan B again.

have already downloaded the template from RocketTheme, the version for Joomla 2.5.

I think I need to install that one, then overwrite my images and css to get back my own stuff.


Gerelateerde links

Onderwerp

Tag

migratie
template

Hits

1691