Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2007-02-06 00:50:54

Basique
New Member
Registered: 2007-02-06
Posts: 2

Re: MLP - The Multi-Lingual Publishing Pack

net-carver

Yes, the 1774 error only occurs on the “snippets” tab.

Some diagnostics:

PHP-Version: 4.4.2-Debian-0.1~sarge1
MySQL: 4.1.22-standard
Server: Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e
PHP Server API: cgi-fcgi

Hope that helps.

By the way: That’s a great piece of work!

Offline

#22 2007-02-06 00:54:46

net-carver
Member
From: UK
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Basique

thanks for the data and the compliment! If you get a chance to try it on a php5 platform you should have no trouble with that tab.

Graeme and I will be working on this as soon as possible and will keep everyone posted.


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#23 2007-02-06 01:24:53

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

Re: MLP - The Multi-Lingual Publishing Pack

colak, ruud,

thanks, that was the obvious problem.
I’ve deleted zem_contact_lang.

net-carver

I’ll try PHP5 platform and see if that will solve the call to undefined preload()

It works, great!

Last edited by fuls (2007-02-06 01:33:11)

Offline

#24 2007-02-06 06:28:14

adamtal
Member
Registered: 2006-09-14
Posts: 25

Re: MLP - The Multi-Lingual Publishing Pack

Amazing, just watched the video!

Two questions, though –
1. can i have one language as the main site (www.example.com), and a second one as subdomain (fr.example.com)/(de.example.com)?
2. can i add this to an existing site, or do i have to have a freshly installed txp?

Offline

#25 2007-02-06 10:22:35

net-carver
Member
From: UK
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

fuls

thanks for the update. Good to get some positive confirmation!

adamtal

Your first point could probably be done using mod_rewrite on apache and mapping fr.example.com/blahblah to example.com/fr/blahblah and de.example.com/foobah to example.com/de/foobah but I haven’t tried that myself.

Check out this post above and my reply for your second question. Personnally, I would recommend trying this out on a local copy of your site first until you are happy with the procedure. As usual, you should backup your site and the original txplib_db.php file first.

All

We are now aware of these two outstanding issues which we will be addressing…

  1. Snippet tab giving preload() error on php4 installations
  2. Install wizard sometimes giving an undefined index error when processing existing articles.

Last edited by net-carver (2007-02-06 10:24:07)


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#26 2007-02-06 10:50:27

anDee
New Member
Registered: 2007-02-06
Posts: 3
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi all! I have installed MLP on txp 4.0.4

I go to the top level ‘contents’ tab and to subtab ‘MLP’ .

Setup wizard bring some errors. How it to treat?
———————————————————————————————————————————————
PHP version: 4.3.10-16
Register globals: 1
———————————————————————————————————————————————
MLP Pack Setup Report…
1. Change the txp_lang table… 1. Extend `txp_lang.data` from TINYTEXT to TEXT : Failed 2. Add the `txp_lang.l10n_owner` field : Failed 2. Set the languages to: en-gb, de-de, ru-ru : Done 3. Insert the strings for the MLP Pack : Failed 4. Add fields to the “textpattern” table 1. Add the `textpattern.l10n_lang` field : Failed 2. Add the `textpattern.l10n_group` field : Failed 5. Localise fields in content tables… 1. Add the `txp_category.l10n_title_en_gb` field : Failed 2. Add the `txp_category.l10n_title_de_de` field : Failed 3. Add the `txp_category.l10n_title_ru_ru` field : Failed 4. Add the `txp_file.l10n_description_en_gb` field : Failed 5. Add the `txp_file.l10n_description_de_de` field : Failed 6. Add the `txp_file.l10n_description_ru_ru` field : Failed 7. Add the `txp_image.l10n_alt_en_gb` field : Failed 8. Add the `txp_image.l10n_alt_de_de` field : Failed 9. Add the `txp_image.l10n_alt_ru_ru` field : Failed 10. Add the `txp_image.l10n_caption_en_gb` field : Failed 11. Add the `txp_image.l10n_caption_de_de` field : Failed 12. Add the `txp_image.l10n_caption_ru_ru` field : Failed 13. Add the `txp_link.l10n_description_en_gb` field : Failed 14. Add the `txp_link.l10n_description_de_de` field : Failed 15. Add the `txp_link.l10n_description_ru_ru` field : Failed 16. Add the `txp_section.l10n_title_en_gb` field : Failed 17. Add the `txp_section.l10n_title_de_de` field : Failed 18. Add the `txp_section.l10n_title_ru_ru` field : Failed 6. Add the l10n_articles table : Failed 7. Process 0 of articles : Done 8. Add the per-language article tables… 1. Add the English (GB) [l10n_txp_en_gb] table : Failed 2. Add the Deutsch [l10n_txp_de_de] table : Failed 3. Add the Русский [l10n_txp_ru_ru] table : Failed 9. Clear the default comment invitation : Done 10. Insert MLP tags into pages : Done

Thanks for help!

Last edited by anDee (2007-02-06 10:50:53)

Offline

#27 2007-02-06 11:16:37

net-carver
Member
From: UK
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

anDee

thanks for the feedback. Looks like a problem with the sql queries on your system as most of those steps are changes to the DB.

  1. Do you get any other SQL errors when running the site without the MLP Pack? (For example, when adding a new article from the content>write tab?)
  2. Are you running with table prefixes on your tables in this installation?

Can you also contact me to get my email address and then send me the corresponding entries from your MySQL error log and your TxP’s diagnostics.

Thanks!


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#28 2007-02-06 11:56:08

anDee
New Member
Registered: 2007-02-06
Posts: 3
Website

Re: MLP - The Multi-Lingual Publishing Pack

1. No, mysql errors did not notice.
2. I tried both with prefixes and without them.

Offline

#29 2007-02-06 15:35:10

net-carver
Member
From: UK
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

All

Here’s the first TxP + MLP Pack site I’ve seen

Last edited by net-carver (2007-02-06 15:35:41)


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#30 2007-02-07 04:19:24

net-carver
Member
From: UK
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

adamtal

You wrote…

Can i have one language as the main site (www.example.com), and a second one as subdomain (fr.example.com)/(de.example.com)?

Just to follow up on your previous post, looks like the very mapping I talked about in my previous reply to you has recently been discussed right here on the forum.

I haven’t yet tried this but it just went on the to-do list!


Steve
Textile | My plugins on GitHub | @netcarver

Offline

Board footer

Powered by FluxBB