Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: MLP - The Multi-Lingual Publishing Pack

By chance, do you have an /it/ folder on the root of your server?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

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

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

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

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

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

Re: MLP - The Multi-Lingual Publishing Pack

I just remembered that I had the same problem once :) See my post here and Steve’s reply here.

Offline

#1845 2011-08-17 11:05:15

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

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

#1846 2011-08-23 18:04:41

ploinkr
Member
From: Montreal
Registered: 2007-12-06
Posts: 83

Re: MLP - The Multi-Lingual Publishing Pack

I’m having a strange problem here with MLP that reoccurs from time to time: when I edit a previously published article, the language menu doesn’t always show the right language and seems to revert to the language that was used in the last published article.
For example, if I’ve edited an article in English and then try to edit the French version, the language menu is stuck on English – and saving the article like that by mistake will invariably mess everything up, requiring I clean up and then reactivate MLP.

Any idea of what could be the problem? Thanks.

Offline

#1847 2011-08-23 20:37:38

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

Re: MLP - The Multi-Lingual Publishing Pack

Benoit, I can’t reproduce this. Can you describe which steps exactly you are taking? How do you access the first article (through the MLP tab, Renditions tab, or other), and from there how do you go to the second article (MLP, Renditions, Recent articles, back button, …)?
And by the ‘language menu’ you mean the one just above the Title field?

Offline

#1848 2011-08-23 23:11:13

ploinkr
Member
From: Montreal
Registered: 2007-12-06
Posts: 83

Re: MLP - The Multi-Lingual Publishing Pack

Thanks Els; I usually just go to Content > Renditions to edit the articles (and don’t use the back button). And yes, I’m referring to the drop-down menu above the title.

I just noticed something though: I’m wondering if it’s not some strange cache issue as I’m trying it from home now and all’s working fine…

Offline

Board footer

Powered by FluxBB