Support

UNiTE, Remote CLI, eXtract Wizard

#3462 Problems with e-mails generated when using JRemote

Posted in ‘UNiTE and Remote CLI’
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

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by nicholas on Friday, 26 June 2009 00:42 CDT

vanboke
I am successfully using JRemote, and it is a real time saver. I am getting e-mails generated after a successful backup using JRemote though. The e-mails are sent to all Super Administrators, and on some sites there are several. The e-mails though are not properly generated.

The subject of the e-mail is always: EMAIL_SUBJECT_OK
The body of the e-mail is always: EMAIL_BODY_OK

This is confusing people who get the e-mails, and generating lots of questions.

Any ideas what is wrong with the e-mails, and why it isn't properly pulling the text from the language file for the subject and the body?

Any help would be appreciated.
Thank you.

dlb
That's a question for Nicholas!

Dale


Dale L. Brackin
Support Specialist


us.gifEnglish: native


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


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

nicholas
Akeeba Staff
Manager
This is something I am working on. Basically, it looks like it doesn't load the language file at all from the XML-RPC plugin. It's on my short-term TO-DO list.

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!

vanboke
Glad to know it is on your radar. I'm not trying to rush you, but when do you think it will be fixed? Just wanting to tell my users something. Thank you for all the great work!

nicholas
Akeeba Staff
Manager
I am a bit over my head these days, I expect to have this sorted out and tested by the end of this week.

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!

vanboke
Wow. Thank you. That is a much faster turn around that I was expecting. If you need anything tested, please let me know. I would be happy to test out a build for you if you need it.

ravage
This problem seems to be still unsolved as I got such emails using JPRemote on several installations.

Joomla 1.5.11 (everywhere)
JoomlaPack 2.2.1 (everywhere)
German Language as default selected.


Any news about that?

dlb
This should be working, you need to put in the notice email address in JoomlaPack Configuration, under Common Settings, on the Front End pane. If you leave that field blank, all Super Administrators get the email notice.

Dale


Dale L. Brackin
Support Specialist


us.gifEnglish: native


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


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

ravage
This should be working, you need to put in the notice email address in JoomlaPack Configuration, under Common Settings, on the Front End pane. If you leave that field blank, all Super Administrators get the email notice.



Dale

That wouldn't bother me as long as they get a message they really understand and not just a INI String.
I'll play around with the settings.
May be I get that because I upgraded some old versions.

dlb
There were problems in early versions with language strings, but that has been resolved. If your native language isn't supported by JoomlaPack, it should use English. You should not be getting the internal strings in the email.

What language are you using in the back end?

Dale


Dale L. Brackin
Support Specialist


us.gifEnglish: native


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


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

nicholas
Akeeba Staff
Manager
So note that you must use plg_jpremote 2009.3 for the translation to work properly. Older versions had some problems with this.

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!

ravage
Hmm... strange.
Cause I just set up a fresh testing install using the german full package of Joomla, installed JoomlaPack and it's remote plugin and did a remote backup.
Got again an email with "EMAIL_BODY_OK" as body.

Then I changed both, admin and front, language to english and did again a backup. Same result.

Nicholas or Dale do you want to check that install out?
PM me if so.

nicholas
Akeeba Staff
Manager
Do you also use the latest JoomlaPack release (2.1.1 at the time of this writing)? The fix was two-fold. I can't seem to be able to replicate this on local and live installations. Where did you download the German package from? Our official distribution consists of only the locations you see on JoomlaPack.net's Download page. Third-party releases might be incomplete or introduce problems beyond us.

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!

ravage
Joomla! Installation Pack incl. German Language 1.5.11.1 from the JED "German Translation"
http://joomlacode.org/gf/project/jgerman/frs/

JoomlaPack 2.2.1 (2009-06-16)
JoomlaPack Remoting XMLRPC services for JoomlaPack 2.x

JoomlaPack Native Tools 2009.3 as a mobile installation

nothing else

nicholas
Akeeba Staff
Manager
The "JoomlaPack Remoting XMLRPC services" plug-in comes in versions as well. The current release is 2009.3, which is part of the Native Tools 2009.3 distribution. Since this is the link between your local PC and your site (and responsible for loading the languages), I was wondering which version you're using, so that I can investigate the problem and fix any problems for the next release of the Native Tools.

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!

ravage
Stupid me.
Couldn't find the version number last time.
Checked again in jpremote.php:
installed: define('JPRemoteAPIVersion','1.0');
current: define('JPRemoteAPIVersion','2.0');

After installing the new version downloaded from the site it showed me this text (previously I changed languages to English):

JoomlaPack has completed backing up your site using the front-end backup feature. You may visit the site's administrator section to download the backup.

And after changing back to german and doing a backup again, the same message came.

So if it's not a bug that the success message isn't translated into german then everything's OK...

nicholas
Akeeba Staff
Manager
Let's see how the translation feature works. First, JoomlaPack loads the English files, as a safe default (makes sense, right?). Then, it asks Joomla! "please tell me what's the user's preferred language" and loads those files as well.

Hold on a second. How does Joomla! know what is the user's preferred language? Joomla! defaults to the site's default language, as set in the Extensions -> Languages menu. If a user is logged in, it overrides this setting with the user's preference.

Since the JoomlaPack XML-RPC plugin does not really "log you in" (it simply checks that the username and password belong to an existing user), the language which the plug-in picks up is the site's default language. In your case, I guess it's English.

All right. That's the theory. If your site's default language is Deutsch instead of English (the star icon is besides Deutsch) then, yes, this would be a bug. If not, it's not a bug, it's just a weird feature :D

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!

ravage
Well then, it IS a bug.
When I said I changed back to Deutsch I meant the default setting for the front and the back of the site.
And by the way my user's language settings aren't set specifically so I assume that it takes the default settings of the site, right?

I PM you the login for this testing environment I set up...
I guess that way you really can check the settings etc.

By the way thanks for the detailed answers!

nicholas
Akeeba Staff
Manager
Oh! I guess I forgot to test this feature with a non-English default language :oops: Login to the test site is not necessary, I can see what you mean in my local testing server. This will be fixed in the next formal release of JoomlaPack Native Tools.

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!

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!