Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1033 2008-10-31 11:20:20

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: MLP - The Multi-Lingual Publishing Pack

Hello,
I hope I’m not overlooking something here but I seem to have a problem: the “file_download_description” tag doesen’t seem to work. It outputs nothing.
Is it only a problem of mine? can this be solved (even with a hack)? Any help is appreciated.
Thanks

Offline

#1034 2008-10-31 16:32:01

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

redbot wrote:

Is it only a problem of mine?

It works for me.

Offline

#1035 2008-10-31 16:43:32

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: MLP - The Multi-Lingual Publishing Pack

Els wrote:

It works for me.

Thanks, at least now I know it’s a problem of mine worth investigating
edit I found out I had two articles with the same url-title and in some way this was the culprit. Problem solved now – thanks Els

Last edited by redbot (2008-10-31 17:59:20)

Offline

#1036 2008-11-02 17:21:22

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: MLP - The Multi-Lingual Publishing Pack

Have some error:

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 1 select * from department_l10n_articles as l10n_articles where `ID`= textpattern/lib/txplib_db.php:237 getRow() in /home/u78707/rusx.org/www/textpattern/lib/txplib_db.php on line 117

Warning: Table ‘u78707.department_department_l10n_txp_en_us’ doesn’t exist delete from department_department_l10n_txp_en_us where `ID`=‘71’ textpattern/lib/l10n_admin.php:680 safe_delete() in /home/u78707/rusx.org/www/textpattern/lib/txplib_db.php on line 117

Error occures when trying to save english redimption of article. The steps where such:

  1. cloned russion redimption to english
  2. opened for editing
  3. clicked “Save” and after page reloading errors appeared in the bottom of the page

It seems the problem is that by some reason table prefix is doubled (department_department_l10n_txp_en_us instead of department_l10n_txp_en_us) in second query

Last edited by the_ghost (2008-11-02 17:29:10)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#1037 2008-11-03 07:17:00

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Victor

Can you get in contact with a few more details … like your txp diagnostics (low setting will do). I’ll see what I can do to fix this as it looks like an MLP bug.

Thank you.


Steve

Offline

#1038 2008-11-03 07:56:01

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: MLP - The Multi-Lingual Publishing Pack

Sent message with full diagnostic.

Another question – is it possible to make link when we are in individual_article so, that even if there is no english redimption of article, the link will be built like if it was but will follow to my custom 404 page? I want this to show message like “Sorry, the translation isn’t avaible yet.”


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#1039 2008-11-03 08:09:53

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Victor

Thanks, got it. Will handle this by email now.

Regarding your second question: Just add show_empty="1" to your l10n_lang_list tag.


Steve

Offline

#1040 2008-11-03 08:35:47

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: MLP - The Multi-Lingual Publishing Pack

I think another problem of my site is that some links are built not by context, but by custom_field Podmenu:
<txp:article_custom Podmenu='<txp:article_id />' limit="99" sort="position asc"> This builds sub-article article list. I really stucked.


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#1041 2008-11-03 21:53:25

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

Maybe I should post this in the string exchange thread, but I’m not sure if it’s meant for that. So here goes:
Does anyone have the Portuguese (pt-pt) strings for zem_contact_lang-mlp?

Offline

#1042 2008-11-04 07:59:16

otti
Member
From: Australia
Registered: 2008-04-16
Posts: 75
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi net-caerver,

I have just installed your MLP on a test site to sort everything out before I install on a clients live site. All went smooth – and your video really helps. My renditions are created as they should, but I don’t see a language picker on the TXP test site. In your video it states that the 10n_lang_list tag should be inserted, but apparently it wasn’t in my case. Is there a way to activate it? I looked into the MLP preferences but could not find it. I have TXP 4.0.6 (r2805) installed with PHP 4.4.8.
Your help is very much appreciated

Cheers
otti

Offline

#1043 2008-11-04 11:27:12

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: MLP - The Multi-Lingual Publishing Pack

net-carver wrote:

Victor
Thanks, got it. Will handle this by email now.

Just tried again with removing prefix from tables. Unsitalled MLP, reuploaded files, installed it again. Second error after resaving disappered, but the first still exists.

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 select * from l10n_articles where `ID`= textpattern/lib/txplib_db.php:237 getRow() in /home/u78707/rusx.org/www/textpattern/lib/txplib_db.php on line 117

And this occures every time i try to save any rendition – newly cloned from russian to english or the old russian article, whic was created before mlp pack installed

P.S. tried just now to install pack on totally another hostng – the same trouble with double prefix and with error i wrote above.

Hope this help you.

Last edited by the_ghost (2008-11-04 11:39:15)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#1044 2008-11-05 08:53:44

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

otti wrote:

I have just installed your MLP on a test site to sort everything out before I install on a clients live site. All went smooth – and your video really helps. My renditions are created as they should, but I don’t see a language picker on the TXP test site. In your video it states that the 10n_lang_list tag should be inserted, but apparently it wasn’t in my case. Is there a way to activate it? I looked into the MLP preferences but could not find it. I have TXP 4.0.6 (r2805) installed with PHP 4.4.8.
Your help is very much appreciated

Hello Otti

the MLP Pack only tries to insert tags into the default Txp forms from a virgin Txp install. Presumably your test site is a clone of your client’s live site and isn’t using the default pages and forms so it didn’t get the l10n_lang_list tag inserted. If that’s the case, you’ll need to choose where to put it. Just add…

<txp:l10n_lang_list />

…in a suitable place in your page(s) or form(s). Very simple.


Steve

Offline

Board footer

Powered by FluxBB