Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#313 2007-08-06 15:01:30

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

Re: MLP - The Multi-Lingual Publishing Pack

Bloke, I love you ;)

I haven’t upgraded the site I’m using this on yet, but after reading your post, I certainly will (the site isn’t really ‘active’ yet, anyway). And I’ll try to take notes of all the issues I encounter and post them here.

Thank you for taking an interest!

Offline

#314 2007-08-06 19:05:52

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

Re: MLP - The Multi-Lingual Publishing Pack

Well, what a surprise. I upgraded, and the MLP pack works as before… :) Guess I shouldn’t have been so credulous ;)
I must add that the site in question is a very simple one, with only two languages. I didn’t encounter any of the problems mentioned earlier in this thread, but then I probably don’t use all possible features.

This is what I did:
  1. modified txplib_db.php according to ruud’s post
  2. uploaded the 4.0.5. textpattern directory and index.php
  3. uploaded the MLP files from /mlp/textpattern/ to textpattern/lib/ and textpattern/txp_img/

When loading site.com/textpattern/index.php, on the languages page, I got the following warnings (Production status was Live):

A problem occured while loading the plugin: l10n -> Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object on line 552

A problem occured while loading the plugin: l10n -> Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object on line 552

A problem occured while loading the plugin: l10n -> Warning: Cannot use a scalar value as an array on line 1412

but they went away as soon as I updated the first language.

Pre-flight check: 
------------------------
Some Textpattern files are out of date: 
	/lib/txplib_db.php
clean_url_data_failed: 
------------------------

(the ‘clean_url_data_failed’ doesn’t seem to be a problem, clean url’s are working, though I think it wasn’t there before I installed MLP)

The BOM was back, but with ruud’s instructions it was easy to get rid of.

PHP 4.4.6
MySQL 4.1.21-standard

So far, so good. Though I probably haven’t been very helpful for debugging… ;) Next, I need to rebuild a couple of tri-lingual sites but I’m afraid that will take some more time…

Offline

#315 2007-08-06 21:14:28

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

Els wrote:

I probably haven’t been very helpful for debugging…

On the contrary, that’s great thanks. Glad it worked for you. The step-by-step is extremely useful: I can look those warnings up and try and fix them.

clean_url_data_failed is a little more perplexing. Anyone any idea what that means?

Many thanks for your help. It’s great to have someone who likes to tinker with stuff (speaking of which, smd_fuzzy_find has just this minute been updated which fixes the bugs you spotted a while ago).

Last edited by Bloke (2007-08-06 21:15:14)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#316 2007-08-07 14:43:47

filip baraka
Member
Registered: 2006-06-05
Posts: 24

Re: MLP - The Multi-Lingual Publishing Pack

will try everything from scratch
posting my results asap

Offline

#317 2007-08-08 18:28:03

cnolle
Archived Plugin Author
Registered: 2004-03-21
Posts: 87
Website

Re: MLP - The Multi-Lingual Publishing Pack

Doing a site at the moment using MLP and have had to use TXP 4.04 to get it all working and I have come across a rather bizarre problem.

For some reason MLP adds a blank line at the top of all HTML pages that it is used on, which is not a problem in any browser except internet explorer on the MAC where a question mark is inserted on the blank line which breaks up the page.

Seems its a problem on other MLP sites as well. None of my other sites that have been designed using TXP allone have this issue. Anyway just wondering if anyone has encountered this oddity?

/Christian

Last edited by cnolle (2007-08-08 18:31:03)

Offline

#318 2007-08-08 18:50:43

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: MLP - The Multi-Lingual Publishing Pack

christian, that may be caused by the BOM at the beginning of the document. Follow the link to find out how to remove it.

Offline

#319 2007-08-08 19:11:34

cnolle
Archived Plugin Author
Registered: 2004-03-21
Posts: 87
Website

Re: MLP - The Multi-Lingual Publishing Pack

I am pretty sure its MLP which causes it. I don’t have this problem on any other site that uses textpattern (i.e. without MLP). I am digging my way through all the code at the moment to see if I can spot the problem somewhere.

/Christian

Offline

#320 2007-08-08 19:14:48

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: MLP - The Multi-Lingual Publishing Pack

cnolle… stop digging for a moment and read the previous few posts. Might save you some time ;)

Offline

#321 2007-08-08 21:01:43

cnolle
Archived Plugin Author
Registered: 2004-03-21
Posts: 87
Website

Re: MLP - The Multi-Lingual Publishing Pack

Ahh thank you, was too quick there.

Now I have 500 internal server errors though so don’t know if it solved the problem.

Edit: Got it all to work, the BOM trick solved my problem with IE for the MAC.

/Christian

Last edited by cnolle (2007-08-08 21:18:10)

Offline

#322 2007-08-09 13:35:00

beztak
Member
From: Czech Republic
Registered: 2005-07-21
Posts: 184
Website

Re: MLP - The Multi-Lingual Publishing Pack

Does anybody know why MLP total kills DOC file?

Last edited by beztak (2007-08-09 13:35:22)

Offline

#323 2007-08-17 14:21:09

filip baraka
Member
Registered: 2006-06-05
Posts: 24

Re: MLP - The Multi-Lingual Publishing Pack

Got some results:)
still under Sections i see only one language under “Section Title [English]”
Categories are ok: displaying both langs
solutions?

Last edited by filip baraka (2007-08-17 14:22:02)

Offline

#324 2007-08-17 23:49:27

jmk
Member
Registered: 2006-09-04
Posts: 49

Re: MLP - The Multi-Lingual Publishing Pack

evening folks,
you are my last hope to get this plugin to work. i have tried everything, different php version (4.4.1), different mysql version (4.x.21) different txp version (4.0.4 stable) it just doesn’t wanna play with me. and the error message doesn’t make sense to me. so in the hope some of you guys/gals have an idea what else i could try, i have posted the mlp-tab error message, and the diagnostic output.

thank you all,
jmk

1. It requires MySQL Privileges 1 SELECT, INSERT, UPDATE, DELETE, CREATE, CREATE TEMPORARY TABLES, ALTER, LOCK TABLES, INDEX, DROP or above, current install is missing privs – or grants on DB (`db23543` as `db23543`) cannot be evaluated.


Textpattern version: 4.0.5 (r2466)
Last Update: 2007-08-16 19:38:18/2007-08-16 19:18:22
Document root: /kunden/domain.tld/webseiten/subdomain
$path_to_site: /kunden/domain.tld/webseiten/subdomain
Textpattern path: /kunden/domain.tld/webseiten/subdomain/textpattern
Permanent link mode: section_title
Temporary directory path: /kunden/domain.tld/webseiten/subdomain/textpattern/tmp
Site URL: subdomain.domain.tld
PHP version: 5.2.1
Register globals: 1
GD Image Library: bundled (2.0.28 compatible); supported formats: GIF, JPG, PNG.
Server Local Time: 2007-08-18 01:06:14
MySQL: 5.0.41-log
Locale: en_GB.UTF-8
Server: Apache/1.3 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.8d AuthPG/1.3
PHP Server API: cgi
RFC 2616 headers: 0
Server OS: Linux 2.4.34.1-grsec
Active plugins: glx_admin_image-2006.1a, bas_img_selector-0.71, mcw_templates-0.2, nhn_typotuner-0.1a, zem_contact_reborn-4.0.3.17, zem_contact_lang-4.0.3.03, bos_image_display-0.41, art_meta_description-0.1, rss_admin_db_manager-4.3, gbp_admin_library-0.4.581, l10n-0.6.600

Pre-flight check:
————————————
/kunden/domain.tldwebseiten/subdomaintextpattern/setup/ still exists
Some Textpattern files are out of date: /lib/txplib_db.php
————————————

.htaccess file contents:
————————————
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php
————————————

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: /usr/share/mysql/charsets/
18 Tables: OK

PHP extensions: libxml, xsl/0.1, xmlwriter/0.1, dom/20031129, xmlreader/0.1, xml, wddx, tokenizer/0.1, session, pcre, SimpleXML, soap, SPL, standard/5.2.1, Reflection, posix, pgsql, PDO, pdo_mysql/1.0.2, mysql/1.0, mhash, mcrypt, mbstring, json/1.2.1, imap, iconv, hash/1.0, gettext, gd, ftp, filter/0.11.0, exif/1.4 $Id: exif.c,v 1.173.2.5.2.11 2007/01/23 00:23:17 iliaa Exp $, dbase, dba, date/5.2.1, curl, ctype, calendar, bz2, bcmath, zlib/1.1, cgi, Zend Optimizer

pretext_data: array ( ‘id’ => ‘’, ‘s’ => ‘’, ‘c’ => ‘’, ‘q’ => ‘’, ‘pg’ => ‘’, ‘p’ => ‘’, ‘month’ => ‘’, ‘author’ => ‘’, ‘request_uri’ => ‘/8dace62e737c33e0336454b005413266/?txpcleantest=1’, ‘qs’ => ‘txpcleantest=1’, ‘subpath’ => ‘\\/’, ‘req’ => ‘/8dace62e737c33e0336454b005413266/?txpcleantest=1’,
)

Offline

Board footer

Powered by FluxBB