Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1156 2009-01-20 04:59:17
- Carlosjoao
- New Member
- From: Portugal
- Registered: 2009-01-15
- Posts: 7
Re: MLP - The Multi-Lingual Publishing Pack
Hello everybody
I’m doing a two languages site(en-en and pt-pt), everything was going fine and suddenly on a refresh I got a 403 error (forbidden)
All I was doing was changing a page layout, nothing I can recall that could have broken either MLP or textpattern.
I can still access /textpattern/index.php and do everything.
What I can’t do is open the main page, no matter what section I choose to display first, none works (default, archive, about)
If i write the url by hand www.mystite.com/pt/pagename I can open that page and everything works, even changing languages
of course everthing works fine if I turn l10n plugin off
What I’ve tried:
removed mlp and reinstalled
changed permanent link mode (all options)
I’ve tried searching this forum but the amount of results for every search I could think was just to much, and I shivered in fear when I noticed this topic had 100 plus pages
If anyone could give my any pointers about what is happening I would be most gratefull
my diagnostics report
Textpattern version: 4.0.7 (r3033)
bc. Last Update: 2009-01-18 15:42:03/2009-01-18 15:33:52
bc. Document root: /var/www/vhosts/barlaventoballoons.com.pt/httpdocs
bc. $path_to_site: /var/www/vhosts/barlaventoballoons.com.pt/httpdocs
bc. Textpattern path: /var/www/vhosts/barlaventoballoons.com.pt/httpdocs/textpattern
bc. Permanent link mode: title_only
bc. Temporary directory path: /var/www/vhosts/barlaventoballoons.com.pt/httpdocs/textpattern/tmp
bc. Site URL: www.barlaventoballoons.com.pt
bc. PHP version: 5.2.8
bc. GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
bc. Server Local Time: 2009-01-20 02:56:03
bc. MySQL: 5.0.58
bc. Locale: en_GB.UTF-8
bc. Server: Apache/2.2.0 (Fedora)
bc. PHP Server API: cgi-fcgi
bc. RFC 2616 headers: 0
bc. Server OS: Linux 2.6.23.17-88.fc7
bc. Active plugins: rvm_maintenance-0.5, l10n-0.9.11, gbp_admin_library-0.4.1, zem_contact_lang-mlp-4.0.3.6-ML, rob_ul_section_list-0.1m, zem_contact_reborn-4.0.3.20
bc. ------------------------
bc. Pre-flight check:
bc. ------------------------
bc. Missing files: /var/www/vhosts/barlaventoballoons.com.pt/httpdocs/textpattern/../rpc/index.php, /var/www/vhosts/barlaventoballoons.com.pt/httpdocs/textpattern/../rpc/TXP_RPCServer.php
bc. Some Textpattern files have been modified:
bc. /lib/txplib_db.php
bc. The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: proc_close, proc_get_status, proc_nice, proc_terminate
bc. ------------------------
bc. .htaccess file contents:
bc. ------------------------
bc. #DirectoryIndex index.php index.html
bc. ------------------------
bc. #Options +FollowSymLinks
bc. #Options -Indexes
bc. ------------------------
bc. <IfModule mod_rewrite.c>
bc. RewriteEngine On
bc. #RewriteBase /relative/web/path/
bc. ------------------------
bc. RewriteCond %{REQUEST_FILENAME} -f [OR]
bc. RewriteCond %{REQUEST_FILENAME} -d
bc. RewriteRule ^(.+) - [PT,L]
bc. ------------------------
bc. RewriteCond %{REQUEST_URI} !=/favicon.ico
bc. RewriteRule ^(.*) index.php
bc. ------------------------
bc. RewriteCond %{HTTP:Authorization} !^$
bc. RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
bc. </IfModule>
bc. ------------------------
bc. #php_value register_globals 0
bc. ------------------------
Last edited by Carlosjoao (2009-01-20 05:00:43)
Offline
#1157 2009-01-20 05:38:57
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: MLP - The Multi-Lingual Publishing Pack
Sorry to hear of the problem, Carlosjoao.
This would be what I would look at first:
Missing files: /var/www/vhosts/barlaventoballoons.com.pt/httpdocs/textpattern/../rpc/index.php, /var/www/vhosts/barlaventoballoons.com.pt/httpdocs/textpattern/../rpc/TXP_RPCServer.php
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: proc_close, proc_get_status, proc_nice, proc_terminate
Last edited by azw (2009-01-20 05:40:20)
Offline
#1158 2009-01-20 10:32:44
- Carlosjoao
- New Member
- From: Portugal
- Registered: 2009-01-15
- Posts: 7
Re: MLP - The Multi-Lingual Publishing Pack
Thanks for the answer Azw but thats not the problem.
the missing files are the files needed to enable the XML-RPC server, no need for it.
one plugin afaik that once was shipped by default
The PHP fuctions unless someone says otherwise are safe being disabled
Forgot to mention that both this warnings where there since the beggining
edit—
also forgot to mention that the 503 error page is not coming from TXP but from my host . Examined the source code of the page and it matches the one my host displays on 503 errors
edit.—
problem solved:
retracing my steps yet again, I’ve figured I had created with ftp a directory called en
simply deleting the directory solved my problem
It makes sense now that I think about it. If really existe a en dir, there his no chance to mlp create the virtual url called en
again thanks all for trying
Last edited by Carlosjoao (2009-01-20 11:22:15)
Offline
#1159 2009-01-24 02:52:57
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: MLP - The Multi-Lingual Publishing Pack
Don’t know if someone can confirm it: with txp 4.08 and mlp-0.9.11 I’m experiencing problems in the “sections” tab.
More specifically I’m working on a three-language site and the three input fields for section titles that used to be in the “sections” tab are no more there.
Only one title input is shown (the default language one).
Offline
#1160 2009-01-24 07:36:21
Re: MLP - The Multi-Lingual Publishing Pack
Problem is still there. Yesterday I try 4.0.8 with MLP 0.9.11. So I use for a new web 4.0.7. and MLP 0.8.7 to handle 7 languages.
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
#1161 2009-01-24 10:07:20
- Carlosjoao
- New Member
- From: Portugal
- Registered: 2009-01-15
- Posts: 7
Re: MLP - The Multi-Lingual Publishing Pack
Not probably a expert definitely not actually, but did you remember to overwrite the:
Q-002. Some files are listed as modified in the admin>diagnostics tab.
A-002. Yes, the MLP Pack is not a pure plugin and does modify some of the TxP
core files…
lib/txplib_db.php (mandatory)
publish.php (optional)
The changes in the db layer are required for the MLP Pack to function but the
changes made in publish.php are only needed in your system if you want to use
TxP’s previous and next tags in your site.
As in Q2 of the MLP FAQ?
Didn’t test this solution, just remembered this from faq, maybe it is your answer. If you are going to try backup first.
Offline
#1162 2009-01-24 12:20:55
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
beztak wrote:
Problem is still there. Yesterday I try 4.0.8 with MLP 0.9.11. So I use for a new web 4.0.7. and MLP 0.8.7 to handle 7 languages.
4.0.7 and 0.9.11 also work for me. Just don’t upgrade any MLP site to 4.0.8.
Offline
#1163 2009-01-24 12:37:43
Re: MLP - The Multi-Lingual Publishing Pack
Els wrote:
4.0.7 and 0.9.11 also work for me. Just don’t upgrade any MLP site to 4.0.8.
Hmm, interesting. With these two versions I’ve got some troubles (will look at it again).
Last edited by beztak (2009-01-24 12:38:18)
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
#1164 2009-01-24 18:10:28
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
beztak wrote:
With these two versions I’ve got some troubles
Of course it’s possible that you are using features that I don’t, so that I just didn’t encounter the problems… But if you let me know what kind of troubles you are having, I can check if it happens in my install.
Offline
#1165 2009-01-25 20:19:32
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Re: MLP - The Multi-Lingual Publishing Pack
About adding new languages again: where could be found a list of those 5 characters lang codes which should be entered on MLP setup page? Some of those seems to be quite obvious, others are not so simple (da-dk) for example. I would have thought just dk-dk. Other, maybe a silly question, should other users be logged out when adding new langs?
Offline
#1166 2009-01-25 21:28:25
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
There is a list of available languages in Txp here.
Offline
#1167 2009-01-25 22:04:23
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Re: MLP - The Multi-Lingual Publishing Pack
Thanks Els, haven’t seen that list before.
Offline
#1168 2009-01-26 12:40:16
Re: MLP - The Multi-Lingual Publishing Pack
Hi everyone,
I need a quick idea, why MLP isn’t working on the client’s host, where I moved the site from my own ‘sandbox’ host.
I have Txp 4.0.7 and MLP 0.9.11.
In the ‘sandbox’ everything works fine with clean URLs, but after moving neither clean nor messy URLs work, I just get a 404 because of the language prefix, e.g. “directory /ru wasn’t found on this server.”
And the client’s host fails the clean URL test.
There are also some PHP errors, here is what diagnostics says:
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: proc_close, show_source, symlink
Are any of these functions relevant to MLP?
Last edited by Si (2009-01-26 15:13:36)
Offline
#1169 2009-01-26 20:05:30
Re: MLP - The Multi-Lingual Publishing Pack
Is it possible to get MLP to play nicely with wet_haystack?
At the moment I am getting the following errors:
Tag error: <txp:article section="weblog" searchsticky="1"> -> Textpattern Warning: Can't find FULLTEXT index matching the column list
select *, unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod, match (`Title`, `Body`, `Excerpt`) against ('portfolio') as score from l10n_txp_en_gb as l10n_txp_en_gb where 1=1 and Status >= 4 and Posted <= now() and (now() <= Expires or Expires = 0) and (`Title` rlike 'portfolio' or `Body` rlike 'portfolio' or `Excerpt` rlike 'portfolio') and Section != 'portfolio' and Section != 'contact' and Section != 'search' order by score desc limit 0, 10 on line 110
Offline
#1170 2009-01-26 21:20:48
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
Si
A couple of quick checks (wild guesses):
- did you upload all MLP files (especially did you replace txplib_db.php)?
- did you upload .htaccess?
- do clean URLs work at all (if you disable MLP)?
- if you run the uninstall wizard, and then the install wizard again, does that help?
If none of these provide a clue, how exactly did you do the move?
Offline