Support

Akeeba Backup for Joomla!

#20288 – JLIB_INSTALLER_DEFAULT_STYLE (due to admintools)

Posted in ‘Akeeba Backup for Joomla!’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 16 June 2014 12:41 CDT
Yes, i know this is in the wrong section but i do not have the payed version of Admin Tools so i'm forced to post it here.

Now here's the problem. When any part of Admin tools is enabled, installing templates results in them being given the name "JLIB_INSTALLER_DEFAULT_STYLE" under styles. One has to manually click that JLIB name and enter the appropriate style name/sitename/slogan and then everything shows correctly.

Since my template was created with artisteer i initially thought something was up with that, but they pointed me after some research to http://www.joomlart.com/forums/showthread.php?95799-Jlib_installer_default_style

since i don't feel comfortable editing extension files (who knows what the impact would be down the road i'll use that manual work around for now but i figured i'd report it nonetheless so it could be fixed

that joomlart topic seems to indicate that it's limited to the system redirect plugin, but that's not the case. With that one disabled and the installer part enabled it still happens.
Custom Fields
Which documentation pages did you read? all
Which troubleshooter articles did you read? all
Have you searched the tickets before posting? Yes
Did you already run the log analyser (ALICE)? No
Joomla! version (in x.y.z format) 3.3
PHP version (in x.y.z format) 5.3.28
MySQL/database version dno, not relevant
Host (who is hosting your site, not your domain) myself
Akeeba Backup version (x.y.z format) 3.11.2
 
Ch3vr0n
Tuesday, 17 June 2014 01:03 CDT
NO NO NO DO NOT DO WHAT THEY SAY IN THEIR FORUM!!!!! It will completely DISABLE Admin Tools. I will have to take a look at what is really going on but UNDER NO CIRCUMSTANCES SHOULD YOU FOLLOW THEIR ADVICE which DISABLES all Admin Tools protection on your site.


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
Tuesday, 17 June 2014 03:08 CDT
I am trying to reproduce this issue but it seems to not be possible. There is one reason why this could happen, though. If the core Joomla! library translation file for your administrator language does not have the translation for the JLIB_INSTALLER_DEFAULT_STYLE string you will end up seeing the untranslated string. If your administrator is English you should see the correct translation ("Default").

There is also an explanation why this happens when you are using Admin Tools. We are loading Joomla!'s core library translation files in our plugin as we're using the translated error messages found in it. When Admin Tools is not running this file is not loaded and maybe the template developers load it themselves, however they get to load it in English instead of your chosen language. This has the effect that the JLIB_INSTALLER_DEFAULT_STYLE translation string is always loaded (in English), masking the underlying problem (missing translation in your administrator language). I can't think of any other reasonable explanation.


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
Tuesday, 17 June 2014 08:07 CDT
yeah i didn't do that change. Didn't feel comfortable editing extension files without knowing the full impact. My site is running core english with dutch language pack & content entry added and dutch set as default and string doesn't contain "default", it should get replaced by the themename from the zipfile (sitename)
 
Ch3vr0n
Tuesday, 17 June 2014 09:12 CDT
Can you try logging in to your site's administrator using the English language and retry the installation? I believe the installation should be successful and you won't see the untranslated JLIB_INSTALLER_DEFAULT_STYLE string.


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
Tuesday, 17 June 2014 09:25 CDT
Sadly you were wrong

Site: nl
admin: en
set template to joomla default
delete then reinstall custom template
still JLIB error

Site: en
admin: en
template still joomla default
delete then reinstall custom
still JLIB message
 
Ch3vr0n
Tuesday, 17 June 2014 11:48 CDT
I cannot reproduce this with Joostrap templates. I cannot reproduce this with RocketTheme templates (both the free Afterburner and some commercial ones I have access to) either. It only happens with Joomlart templates.

I can also see why. All other templates have a .sys.ini language file which overrides JLIB_INSTALLER_DEFAULT_STYLE with something that makes sense. For example, Joostrap base template has:
JLIB_INSTALLER_DEFAULT_STYLE="Joostrap Base Template v3.1.6"

And if you look at Joomla!'s code, in libraries/cms/installer/adapter/template.php, you will see that Joomla! does try to load the .sys.ini file provided by the template. I don't see any kind of fallback to the Joomla! core library translation files anywhere in the installer code.

We can provide a workaround in the next version of Admin Tools (3.0.3), by forcibly loading Joomla!'s core language files even when we don't block the installation. This seems to help with templates which don't have a .sys.ini translation file overriding the JLIB_INSTALLER_DEFAULT_STYLE language string.


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
Tuesday, 17 June 2014 11:59 CDT
i'm not using joostrap, rockettheme, nor joomlart but artisteer template. I'd be happy to send you a quick template if that helps
 
Ch3vr0n
Tuesday, 17 June 2014 12:18 CDT
I was able to reproduce this with JA Purity II and I also confirmed that the fix I described above does work. IMHO the problem is three parts Joomla!, one part template and one part our code. Hopefully we'll end up rewriting Joomla!'s extension installation code and get rid of funky issues like this :)


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
Tuesday, 17 June 2014 12:26 CDT
Good that you were able to reproduce this :) Must be a specific combination of all 3 that makes it trigger that issue. I have notified the ppl at artisteer as well in case they can fix something at their end too to reduce the risc of this happening.
 
Ch3vr0n
Tuesday, 17 June 2014 15:28 CDT
Yeah, it seems to be a very strange combination. I have my suspicions but writing a workaround was FAR easier than tracking down the exact problem. In any case, I am happy I found a viable solution!


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
Tuesday, 17 June 2014 23:47 CDT
I'll await the new version then uninstall and re-install template to either confirm or deny the fix :)
 
Ch3vr0n
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.