Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1831 2011-07-28 15:08:25
Re: MLP - The Multi-Lingual Publishing Pack
I could not— I used jmd_sitemap_mlp. It’s not as flexible rah_sitemap, but it works.
Offline
#1832 2011-07-28 15:26:11
Re: MLP - The Multi-Lingual Publishing Pack
johnstephens wrote:
I could not— I used jmd_sitemap_mlp. It’s not as flexible rah_sitemap, but it works.
Ah! Thanks a lot, John! I will give it a go. It’s a shame it actually works with one language but refuses to output the other.
Offline
#1833 2011-08-02 21:55:12
- mare
- New Member
- Registered: 2011-08-02
- Posts: 2
Re: MLP - The Multi-Lingual Publishing Pack
Hi everyone,
I am new in TXP and I am running out of ideas for my installation of MLP.
Everything passed well in MLP Pack Setup Report but for one thing – Add the `txp_lang.l10n_owner` field : Failed.
Nothing I have tried (re installation of both TXP and MPL, deleting/re-creating tables – with prefixes, following steps for installation of MLP, etc.) seems to fix this problem.
I have all latest versions, 4.4.1 for TXP and 4.3.0.12 for MLP.
Some info from diagnostics tab:
MySQL: 5.0.77-community-nt
Locale: English_United Kingdom.1252
Server: Microsoft-IIS/6.0
PHP Server API: isapi
RFC 2616 headers:
Server OS: Windows NT 5.2
Active plugins: zem_contact_reborn-4.0.3.20, zem_contact_lang-mlp-4.0.3.6-MLP.11, l10n-4.3.0.12, gbp_admin_library-0.4.1
Admin-side theme: classic 4.4.1
————————————
Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: utf8
character_set_filesystem: binary
character_set_results: utf8
character_set_server: utf8
character_set_system: utf8
character_sets_dir: C:\Program Files\MySQL\MySQL Server 5.0\share\charsets\
17 Tables: OK
10 Custom Fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)
PHP extensions: bcmath, calendar, com_dotnet/0.1, ctype, session, filter/0.11.0, ftp, hash/1.0, iconv, json/1.2.1, odbc/1.0, pcre, Reflection/0.1, date/5.2.5, libxml, standard/5.2.5, tokenizer/0.1, zlib/1.1, SimpleXML/0.1, dom/20031129, SPL/0.2, wddx, xml, xmlreader/0.1, xmlwriter/0.1, ISAPI, curl, gd, mbstring, mcrypt, mysql/1.0, mysqli/0.1, PDO/1.0.4dev, pdo_mysql/1.0.2
Thanks.
Offline
#1834 2011-08-02 22:09:02
Re: MLP - The Multi-Lingual Publishing Pack
Looking at the code, I would make sure you’re using utf8_general_ci in your DB, because that’s what the MLP database functions appear to be using.
Offline
#1835 2011-08-02 22:31:53
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
maruchan wrote:
Looking at the code, I would make sure you’re using utf8_general_ci in your DB, because that’s what the MLP database functions appear to be using.
mare wrote:
Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: utf8
character_set_filesystem: binary
character_set_results: utf8
character_set_server: utf8
character_set_system: utf8
That part of my MLP sites’ diagnostics looks exactly the same and they are working fine. This though:
Server: Microsoft-IIS/6.0
might be more of a problem. I remember there has been at least one earlier mention of MLP not working on IIS.
Or is your site in a subdirectory? If so, try installing it in the root or a subdomain. MLP doesn’t work properly on sites in subdirectories.
Offline
#1836 2011-08-02 23:18:14
- mare
- New Member
- Registered: 2011-08-02
- Posts: 2
Re: MLP - The Multi-Lingual Publishing Pack
maruchan wrote:
Looking at the code, I would make sure you’re using utf8_general_ci in your DB, because that’s what the MLP database functions appear to be using.
I am using utf8_general_ci.
elswrote:
That part of my MLP sites’ diagnostics looks exactly the same and they are working fine.
This though: Server: Microsoft-IIS/6.0
might be more of a problem. I remember there has been at least one earlier mention of MLP not working on IIS.
Or is your site in a subdirectory? If so, try installing it in the root or a subdomain. MLP doesn’t work properly on sites in subdirectories.
Site is in top level domain in main directory.
I will change my hosting server to Linux then.
Thank you all for quick response, I appreciate it.
Offline
#1837 2011-08-11 23:49:24
- Dis
- New Member
- Registered: 2011-08-11
- Posts: 2
Re: MLP - The Multi-Lingual Publishing Pack
Good day. Reviewed Forum. I can not fix the problem.
Gives Forbidden You don’t have permission to access /it/ on this server.
All other links work fine.
txp 4.4.1. l10n · 4.3.0.12
mod_rewrite works.
Please tell me where to fix it.
Or should seek an answer to my hosting?
Offline
#1838 2011-08-11 23:53:27
Re: MLP - The Multi-Lingual Publishing Pack
By chance, do you have an /it/ folder on the root of your server?
Offline
#1839 2011-08-12 14:50:33
- Dis
- New Member
- Registered: 2011-08-11
- Posts: 2
Re: MLP - The Multi-Lingual Publishing Pack
Thank you very much. Removed. everything works.
Offline
#1840 2011-08-15 09:02:39
- bolk
- New Member
- Registered: 2011-08-15
- Posts: 1
Re: MLP - The Multi-Lingual Publishing Pack
hi everybody,
I’m a newbie and would like a hint on the activation of MLP.
Step 8. fails and so no per-language tables get created.
I’ve made sure the mysql user has create privileges but this doesn’t help.
I’ve fixed the set_magic_quotes_runtime
// set_magic_quotes_runtime(0);
ini_set(‘magic_quotes_runtime’, 0);
and the rest is a plain vanilla install of Textpattern 4.4.1
These are the diagnostic info:
Versione di Textpattern: 4.4.1 (r3575)
Ultimo aggiornamento: 2011-08-13 22:26:25/2011-06-18 06:17:13
Radice del documento: /Users/albert/Sites/plan05
$path_to_site: /Users/albert/Sites/plan05
Percorso di Textpattern: /Users/albert/Sites/plan05/textpattern
Modalità link permanenti: section_id_title
Cartella file temporanei: /private/var/tmp
URL del sito: www.plan05.it
Versione di PHP: 5.3.4
GD Image Library: bundled (2.0.34 compatible); formati supportati: GIF, JPG, PNG.
Server TZ: Europe/Rome
Ora locale server: 2011-08-15 10:59:38
Abilita ora legale?: 0
Aggiorna automaticamente l’ora legale/solare?: 0
Fuso Orario: (-79200)
MySQL: 5.5.13
Locale: it_IT.UTF-8
Server: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8r DAV/2 PHP/5.3.4
Versione di Apache: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8r DAV/2 PHP/5.3.4
PHP Server API: apache2handler
Header RFC 2616:
Sistema operativo server: Darwin 10.8.0
Plug-in attivi: zem_contact_lang-mlp-4.0.3.6-ML, l10n-0.9.11, gbp_admin_library-0.4.1
Tema per l’interfaccia di amministrazione: classic 4.4.1
Controlli preliminari:
————————————
Alcuni file di Textpattern sono stati modificati:
/Users/albert/Sites/plan05/textpattern/lib/txplib_db.php
————————————
contenuto del file .htaccess:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
————————————
Thanks for the help.
Alberto
Offline
#1841 2011-08-16 20:52:19
Re: MLP - The Multi-Lingual Publishing Pack
I’m having a problem that I can’t understand. I use the site_url tag throughout my site and it behaves normally. I can even construct MLP-sensitive URLs using the site_url tag and the l10n_get_lang tag. But when I use it within a link element in the site’s head, MLP suddenly butts in and adds unwelcome lang codes to the URLs. I did a couple tests, and found this strange behavior:
Here’s the TXP code:
<!--
1. Site URL: <txp:site_url/>
2. Favicon URL: <txp:site_url/>favicon.ico
3. Favicon Link: <link rel="shortcut icon" href="<txp:site_url/>favicon.ico"/>
-->
And here is the HTML output:
<!--
1. Site URL: http://example.com/
2. Favicon URL: http://example.com/favicon.ico
3. Favicon Link: <link rel="shortcut icon" href="http://example.com/en/favicon.ico"/>
-->
As you can see, both 1 and 2 work correctly, but for some reason it sees 3 and blurts out the current language.
Is there any way to reliably output the site_url without getting a language code?
Edit: Fix textile.
Last edited by johnstephens (2011-08-16 20:52:50)
Offline
#1842 2011-08-16 21:51:40
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
Hi John, does the problem go away if you go to MLP Preferences and in the field for ‘Exclude these sections/areas from URL re-writes?’ add a comma in front of the directories/sections you entered there? Like this:
,css,js,images
Offline
#1843 2011-08-16 23:53:26
Re: MLP - The Multi-Lingual Publishing Pack
Hi, Els— thanks for your reply. I entered the comma like you suggested, saved my MLP prefs, and I’m seeing identical results. What I don’t understand is why MLP is changing the output of Textpattern’s site_url tag is this case and not others.
Offline
#1844 2011-08-17 07:38:02
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Offline
#1845 2011-08-17 11:05:15
Re: MLP - The Multi-Lingual Publishing Pack
Thank you again, Els. That makes sense. I wish there was a way to observe the standard default location for favicons and apple-touch-icons, but this will work. I’m very grateful for your help!
Offline