Support

Admin Tools

#20778 JLIB_INSTALLER_DEFAULT_STYLE

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Saturday, 27 September 2014 17:20 CDT

Ch3vr0n
A while ago i first reported this issue here https://www.akeebabackup.com/support/akeeba-backup-3x/20288-jlib-installer-default-style-due-to-admintools.html

Then in an updated version the changelog said you had implemented a fix for it. I sadly have to say it did not work. I uninstalled my custom artisteer template, then installed it again, JLIB error still exists.

Can provide site su access / ftp / sql access

** edit ** sorry wrong section. Thought i was in admin tools section

nicholas
Akeeba Staff
Manager
We have fixed the issue in Admin Tools. What you are experiencing is a bug in the Artisteer generated template. We have already confirmed that this is a bug in Artisteer thanks to another client who sent us his problem template (generated by Artisteer) and let us analyse it.

PS: I have moved your ticket to the correct category

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Ch3vr0n
Hmm, I assumed that because of that change log entry it would not be possible anymore to get that 'error'. Obviously it is, I'm just trying to figure out why it can still happen even after you say you fixed it. I don't misunderstand me, I'm not blaming you or anything. is there something more you can do like for example take the name from the zip file? I'm just thinking out loud here, or is it now entirely up to the folks of artisteer to fix it? If so which for exactly is missing so I can 'enlighten' them to fix it on their end as we'll.

nicholas
Akeeba Staff
Manager
If I recall correctly, the problem was in the Artisteer-generated XML manifest file for the package. They didn't specify a template style name and Joomla! tried to use the default one, but the language file wasn't loaded at this point. It's not something I can fix. Depending on how you see it it's a bug either in Artisteer or Joomla!.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Ch3vr0n
Understood, in the mean time until the fix it I suppose I can manually edit the XML file and then upload the template? If you could/would be so kind if thus is possible as to tell me which line i need to edit. I would be very grateful. I will let them know in my ongoing support ticket on their end that the need to fix that XML issue

nicholas
Akeeba Staff
Manager
You can just install the template and then edit the installed template style. Rename it to whatever you want. That's all you need to do :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Ch3vr0n
Think i found the problematic line itself

in templatedetails.xml

<extension version="2.5" client="site" type="template" method="upgrade">
<name>insertname</name>
<creationDate>2014-08-22</creationDate>
<version>1.1.6</version>
<author>insertauthor</author>
<authorUrl>inserturl</authorUrl>
<description/>
<files>

if you look closely at the 2nd to last line it only hold the <description/> closing tag but not an opening tag. Is that where the problem lies?

nicholas
Akeeba Staff
Manager
Yes. This is where the problem is and you almost got it right (but not quite).

A closing tag looks like
</description>
Note the placement of the slash. What you have is not a closing tag. So what is it?

Consider the following piece of code:
</description>Foobar</description>
Let's remove its contents:
<description></description>
This looks too verbose, so the inventors of XML decided that empty tags like that should have a shorthand which is
<description/>
The slash before the closing angle bracket means "this is a tag with no content".

So, Artisteer doesn't define a description, therefore Joomla! tries to do its best to work around that... and fails miserably.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Ch3vr0n
I thought that didn't look as it should, they responded back themselves adding for my php settings and version lol, as if that has anything to do with it, I'm smart enough to know that a missing description or it language string has absolutely nothing to do with my php version of its settings. I will keep you updated on how this evolves on their end

nicholas
Akeeba Staff
Manager
*sigh* I don't have much hope. I had reviewed one of their earliest versions for Joomla! a bit over four years ago. I thought it was a great idea, with room for improvement (especially in the PHP code side of things). Unfortunately they didn't improve :(

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Ch3vr0n
well they finally admitted it's a bug and "forwarded" the issue their dev's. Curious if it'll change anything. In the mean time they recommend changing the xml file manually or filling in the description field in artisteer under export options.

Now a question that you'll probably be more direct at answering then them folks at artisteer :p

Would you recommend just entering the template name in the artisteer description field or an actual description of the template (i'm guessing option 1)

nicholas
Akeeba Staff
Manager
I'd go for entering a short description in the description field e.g. "Custom template for Site XYZ made by Company ABC".

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!