Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#256 2007-05-20 14:01:50
- MrLongbaugh
- Member
- From: Hamburg - Germany
- Registered: 2004-10-11
- Posts: 116
Re: MLP - The Multi-Lingual Publishing Pack
I would like to link to an anticle. Is there the possibility to link to the article and not to the redition? This way wouldnt make it necessary to change the link for all languages.
Offline
#257 2007-05-21 02:10:01
- Sandy
- New Member
- Registered: 2007-05-10
- Posts: 5
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: 5.2.0
MySQL: 5.0.27-community-nt
localisation: Russian_Russia.1251
Server: Apache/2.0.59 (Win32) PHP/5.2.0 Apache: Apache/2.0.59 (Win32) PHP/5.2.0
PHP Server API: apache2handler
———————————————————————————————————————————————
MLP Pack Setup Report…
8. Add the per-language article tables…
1. Add the Русский [l10n_txp_ru_ru] table : Failed
2. Add the English (US) [l10n_txp_en_us] table : Failed
Thanks for help!
in MySQL have all privileges.
Offline
#258 2007-05-21 16:40:31
Re: MLP - The Multi-Lingual Publishing Pack
Hi, I’ve got a problem and maybe it’s a bug.
When I install clean TXP on server, install MLP plugin and everything looks ok, than TXP doesn’t display “write” page. In FF I found something like:
Use of routeEvent() is deprecated, see bug 330494
On server I have this configuration:
Verze PHP: 5.2.1
Místní čas na serveru: 2007-05-21 18:31:45
MySQL: 5.0.37-log
Místní prostředí?: Czech_Czech Republic.1250
Server: Apache/2.2.4 (FreeBSD) PHP/5.2.1 mod_ssl/2.2.4 OpenSSL/0.9.8e
Verze Apache: Apache/2.2.4 (FreeBSD) PHP/5.2.1 mod_ssl/2.2.4 OpenSSL/0.9.8e
API pro PHP na serveru: apache2handler
Hlavičky podle RFC 2616:
Verze operačního systému: FreeBSD 6.2-STABLE
Aktivní pluginy: gbp_admin_library-0.4.581, l10n-0.6.600, zem_contact_lang-mlp-4.0.3-MLP
Can anybody help?
Last edited by beztak (2007-05-24 06:55:54)
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
#259 2007-05-23 22:17:31
Re: MLP - The Multi-Lingual Publishing Pack
Anyone know how to create a menu system in MLP? I have 4 languages installed, and want to have 4 menus for each language.
What I am finding is that the URL in the menu is always in English. I can change the outputted name in the menu, but the URL’s are in English, so if I have changed the language to Spanish, then click on a Spanish menu item, the menu changes back to English. How can I change this???
I have this in a menu form:
<txp:ako_nav name=”##home##,##tournaments##,##registration##,##news##,##about##,##gallery##,##contact##” url=”/,/tournaments,/registration,/news,/about,/gallery,/contact” title=“Home,Tournament calendar and information,Registration forms,About us,Gallery of photos,Contact us” divon=“0” ulclass=“0” headon=“0” classtag=“0” acticlass=“selected” />
Offline
#260 2007-05-23 22:45:16
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
I just started to use this, and first of all: this thing is amazing! I love it!
I found a (small?) issue, I’m not 100% sure it’s related to the MLP pack, but I’m guessing it is, as the demo site is showing the same issue. I described it here.
Is it possible that the MLP pack somehow creates a Byte-Order Mark (BOM)? If so, should it do that?
EDIT: Ruud found it
Last edited by els (2007-05-24 22:10:43)
Offline
#261 2007-05-23 22:48:08
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
jstubbs
It’s possible that the ako_nav plugin is not compatible, as you have to specify the urls in the tag. This way the /en/ and /es/ part of the url disappear. <txp:section_list /> and <txp:category_list /> are working fine.
Offline
#262 2007-05-23 23:04:14
Re: MLP - The Multi-Lingual Publishing Pack
Hi Els, that’s great of you to help…it works fine now…I have this:
<txp:section_list wraptag=“ul” break=“li” active_class=“selected” />
Which is fine in that it works (in brief testing), but I can’t see a way in TextBook (looking at section_list tag page in textbook) for me to order the section list, so my menu works in the order I want it (its alphabetical now).
For example, Home section comes in fourth or so, and it should be first…any idea how I can manage this?
Offline
#263 2007-05-23 23:07:06
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
You can specify the order like this: <txp:section_list sections="section1,section5,section3" /> :)
Offline
#264 2007-05-23 23:15:15
Re: MLP - The Multi-Lingual Publishing Pack
Doh! That’s what happens when its 1.15am for me now and I am so tired I can’t read the Textbook entry anymore…thanks Els!
Offline
#265 2007-05-23 23:21:35
Re: MLP - The Multi-Lingual Publishing Pack
OK, last question – I have a section called Home which makes it easier for the guy running the site choose where to put his content. If he chooses Home he knows it will go on the frontpage…
But, I want Home in the menu to be the default page i.e site.com, not site.com/home which is what I get with section_list tag. Ideas??
Offline
#266 2007-05-23 23:24:56
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
sections attribute. The tag on my page looks like this: <txp:section_list active_class="active" sections="about,work" include_default="1" default_title="##home##" wraptag="ul" break="li" /> and the output is
- Home
- About
- Work
Offline
#267 2007-05-24 09:26:56
Re: MLP - The Multi-Lingual Publishing Pack
It’s possible to disable feature that I need to have MySQL Privileges 1 ? Why I need this privileges? Why TXP installation doesn’t need this privileges and this plugin needs? Even when I transfer whole site from my localhost to normal web hosting (so all MLP DB exists) I need this privileges. Due to this, MLP plugin DOESN’T display “article write” page (even if all db are ok and filled).
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
#268 2007-05-24 20:11:07
Re: MLP - The Multi-Lingual Publishing Pack
Els wrote:
Don’t include it in the
sectionsattribute. The tag on my page looks like this:<txp:section_list active_class="active" sections="about,work" include_default="1" default_title="##home##" wraptag="ul" break="li" />and the output is
- Home
- About
- Work
Els, I forgot to say thanks earlier for your invaluable help! Your solution was perfect and as we can expect from Textpattern, elegant and powerful..
Offline
#269 2007-05-24 21:52:44
Re: MLP - The Multi-Lingual Publishing Pack
/textpattern/lib/l10n_base.php has a BOM (Byte Order Mark) at the beginning of the file which seems to cause validation warnings, see this topic
Offline
#270 2007-05-27 16:44:21
Re: MLP - The Multi-Lingual Publishing Pack
I have been developing a site on MAMP locally which works fine. Now I have uploaded the site to a production host, I have encountered problems.
Having read through this forum thread again from start to finish (phew!) I see that I have what is called the “empty write page” problem.
My host is using PHP 5.02, but only MySQL 4.0.27. I think MySQL is causing the problem.
I can go through all the TXP tabs, but as soon as I touch the “content” tab I get a lovely white screen. I like white, but not that much ;-)
At first, I thought maybe I was having problems in that my host is using Latin1 instead of UTF-8 (standard in MySQL 4.0) but I don’t think its that now.
If I click on ANY tab in TXP, this is the error message I get in the PHP logs:
[27-May-2007 12:36:18] PHP Notice: Trying to get property of non-object in /www/textpattern/lib/txplib_db.php on line 111
[27-May-2007 12:36:18] PHP Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /www/textpattern/lib/txplib_db.php on line 111
[27-May-2007 12:36:18] PHP Warning:
select lang from txp_lang where 1=1 GROUP BY ‘lang’ in /www/textpattern/lib/txplib_db.php on line 117
If I click on the content tab, I get the same 3 errors as above, plus this juicy fatal error:
[27-May-2007 12:40:30] PHP Fatal error: Call to a member function pref() on a non-object in /www/textpattern/lib/l10n_admin.php on line 490
High level diagnostics:
Textpattern version: 4.0.4 (r1973)
Last Update: 2007-04-06 09:06:29/2006-08-31 15:47:57
Document root: /www
$path_to_site: /www
Textpattern path: /www/textpattern
Permanent link mode: section_title
upload_tmp_dir: /php_tmpdir
Temporary directory path: /www/textpattern/tmp
Site URL: ****MY IP HERE*****
PHP version: 5.2.0
Server Local Time: 2007-05-27 12:42:20
MySQL: 4.0.27-log
Locale: es_ES.UTF-8
Server: Apache/1.3.37 (Unix) PHP/5.2.0
Apache version: Apache/1.3.37 (Unix) PHP/5.2.0
PHP Server API: apache
RFC 2616 headers:
Server OS: Linux 2.4.33-FQ_Enigma-xsE1044
Active plugins: gbp_admin_library-0.4.581, l10n-0.6.600, zem_contact_lang-mlp-4.0.3-MLP, ako_nav-1.0, upm_image-0.6, upm_img_popper-1.3.3, ebl_BatchUpload-1.04, zem_contact_reborn-4.0.3.19
Pre-flight check:
————————————
Web Domain DNS lookup fails: (My IP number is here)
Some Textpattern files have been modified: /lib/txplib_db.php
You are running in-development files on a live server: /publish.php
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid
clean_url_data_failed:
————————————
Hope someone has an idea on how this error can get fixed..!
Last edited by jstubbs (2007-05-28 20:48:51)
Offline