Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#361 2007-09-07 08:17:11
- jmk
- Member
- Registered: 2006-09-04
- Posts: 49
Re: MLP - The Multi-Lingual Publishing Pack
well, steve, that was the least i could do!
to sum up the steps i took:
- installed txp 4.0.5
- uploaded all the necessary files and plugins from the mlp-pack
- in lib/l10n_admin_classes.php i added to the function “can_install()” on line 4475 “return TRUE”;
- and in lib/l10n_admin.php i changed lines 490/491 to “$reassigning_permitted = true; $has_reassign_privs = true;”
thank you steve once more for this excellent plugin, i hope you will have the time to continue working on getting out the little kinks left. and if we could see this plugin make it into the core of textpattern, i would be even happier :)
ps: my webhoster insists that the output i get from running “show grants” is normal. the only “fix” they would come up was, telling me to change my account to a root-server and run my own mysql — which really put a damper on my appreciation for them.
Offline
#362 2007-09-07 10:00:51
- guiguibonbon
- Member
- Registered: 2006-02-20
- Posts: 296
Re: MLP - The Multi-Lingual Publishing Pack
Steve is back, woohooo! partyy!
MLP to the top!
Offline
#363 2007-09-07 13:42:46
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: MLP - The Multi-Lingual Publishing Pack
guiguibonbon wrote:
Steve is back, woohooo! partyy!
MLP to the top!
Let’s shelve come cash out also. I will see what I have by the end of the month.
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#364 2007-09-07 16:01:48
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
All
don’t get your hopes up, I’m just popping in for a while as things are settling down a bit for me here.
However, it shouldn’t be too difficult to fix some smaller errors pretty quickly as it seems that you have managed to find a few of them yourselves (yeah!) There are a few niggles with SVN access for Graeme and I to sort out before that can happen but hopefully this can be overcome early next week.
— Steve
Offline
#365 2007-09-07 18:14:08
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: MLP - The Multi-Lingual Publishing Pack
I have here one more for the list.
MLP will have the following sql syntax error, when using the sort attribute on a linklist tag, in case no localized titles have been assigned.
Output:
tag_error <txp:linklist break=“li” limit=“5” sort=“desc” wraptag=“ul” class=“borderedlist iconlist” form=“frm_linklist” /> -> Textpattern 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 ‘desc limit 5’ at line 1
select *,`l10n_description_en_gb` as `description`, unix_timestamp(date) as uDate from txp_link where 1 order by desc limit 5 on line 123
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#366 2007-09-07 20:57:24
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: MLP - The Multi-Lingual Publishing Pack
Not a Bug, but may be a feature request:
- Articles with a status of 2 can not be cloned in the MLP tab.
- And also: Article page tags with a status of 2 and an ID attribute can not be displayed at all.
Allthough, I don’t know if the last one is actually a problem with TXP itself.
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#367 2007-09-08 10:24:34
Re: MLP - The Multi-Lingual Publishing Pack
Did anyone manage to use this plugin with 4.0.5?
I tried to install it several times but I always got different errors. With the last installation I couldn’t login anymore to admin it showed me 404 error….
The last stable version for me was 4.0.4 and l10n 0.6.600.
Offline
#368 2007-09-08 10:52:11
Re: MLP - The Multi-Lingual Publishing Pack
I use 4.0.5 with latest MLP – but I had to add missing tables in txp database, so from now I don’t install TXP and MLP, but only upload finish clean DB to new webhosting…
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
#369 2007-09-08 11:59:31
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
Offline
#370 2007-09-10 07:58:19
- jmk
- Member
- Registered: 2006-09-04
- Posts: 49
Re: MLP - The Multi-Lingual Publishing Pack
Did anyone manage to use this plugin with 4.0.5?
yes, with close to no problems
Last edited by jmk (2007-09-10 10:16:11)
Offline
#371 2007-09-10 09:27:54
Re: MLP - The Multi-Lingual Publishing Pack
jmk and els thank you! I’ll check it out.
Offline
#372 2007-09-11 14:39:46
- jmk
- Member
- Registered: 2006-09-04
- Posts: 49
Re: MLP - The Multi-Lingual Publishing Pack
does anybody else get/got this error message?
——
tag_error <txp:file_download_list limit=“999” sort=“description asc” /> -> Textpattern Warning: Column ‘description’ in order clause is ambiguous
select *,`l10n_description_en_gb` as `description` from txp_file where 1=1 and status = ‘4’ order by description asc limit 0, 999
textpattern/lib/txplib_db.php:263 startRows() on line 117
textpattern/lib/txplib_db.php:117 trigger_error()
textpattern/lib/txplib_db.php:328 safe_query()
textpattern/lib/txplib_db.php:263 startRows()
textpattern/publish/taghandlers.php:2933 safe_rows_start()
textpattern/publish.php:963 file_download_list()
processTags()
textpattern/publish.php:922 preg_replace_callback()
textpattern/publish.php:456 parse()
index.php:39 textpattern()
—-
i had this error message before (i am not sure if it was the exact one, but i had it when i used this tag: <txp:file_download_list limit=“999” sort=“description asc” /> ) . but it was because of the new fields in the txp_file table (textpattern 4.0.4 vs 4.0.5) but then i added them, and the error went away. now that i have the mlp plugin installed, i get it again …
any ideas?
Offline
#373 2007-09-11 15:05:51
Re: MLP - The Multi-Lingual Publishing Pack
Does your txp_file table contain a column named ‘description’?
Offline
#374 2007-09-11 17:27:11
Re: MLP - The Multi-Lingual Publishing Pack
It seems I got it working for now:).
I don’t understand one thing though. When I pick a language inside admin it always switches back to en-gb no matter what. I’d like to have my admin in italian (for example) and when I save it inside languages tab and go to any other admin section it switches back to english. Is there a fix for that?
Thanks!
Last edited by fuls (2007-09-11 17:27:34)
Offline
#375 2007-09-11 20:03:10
Re: MLP - The Multi-Lingual Publishing Pack
fuls, that’s the problem I see now too. I don’t think its been solved. One person posted a hack earlier in this thread, but it did not work for me. Biggest issue apart from that for me is the sections and categories – if the main language is en-gb, then the translation fields for the other languages do not appear in the section tab.
In the categories tab (and in the images tab) the fields for the other language titles do appear, but after saving titles in the various languages, the titles do not appear. In all cases (as far as I can see), it appears the changes are written to the database though.
Offline