Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1729 2011-03-11 11:29:24

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

Re: MLP - The Multi-Lingual Publishing Pack

kemie wrote:

There’s nothing on the mlp tab?

Sorry, I hadn’t realised that the installation has stopped after the errors you got. You said ‘everything else is successful’, but what else is there if you only see the setup wizard?

The only thing I can think of are the db permissions, but since you checked those I guess it must be something else. Did you follow these exact instructions?

Offline

#1730 2011-03-11 12:54:28

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi els,
Sorry I wasn’t clear before.
I’m not sure what happened, but i think it was some problem with my database encoding? It’s using latin1_swedish. I messed it all up and managed to restore it.
Now i run the wizard and the only thing that fails is:
Add the l10n_articles table : Failed

(following the exact instructions)

I’m about to tear my hair out :(


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#1731 2011-03-11 16:16:56

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

Re: MLP - The Multi-Lingual Publishing Pack

Hi Kemie.
If I recall correctly, MLP has some minimum requirements regarding MySQL server. It has to be a MySQL server greater than 4.1.18 (or something like that, sorry I can’t recall correctly).
Also, you mention you are using a latin1_swedish, and it may be that MLP requires utf-8.
If you think you can convert from latin1 to utf-8, then go on. There is a plugin by ruud that will help you:
rvm_latin1_to_utf8


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#1732 2011-03-11 16:29:46

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: MLP - The Multi-Lingual Publishing Pack

maniqui wrote:

There is a plugin by ruud that will help you:
rvm_latin1_to_utf8

if you follow the plugin option do not forget to change the charset in the config file to utf8


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#1733 2011-03-11 17:52:06

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: MLP - The Multi-Lingual Publishing Pack

mysql is 5.01 but the default charset (or collation, I’m not sure what the difference is) is latin_1_swedish.
I actually tried rvm_latin1_to_utf, but that messed everything up, both the articles and the interface had weird characters all over (i guess that’s what happens when you don’t really know what you’re doing). But now that you mention it, colak, it might have been that I didn’t change the config file… do i dare give it another go?


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#1734 2011-03-11 17:55:52

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

Re: MLP - The Multi-Lingual Publishing Pack

kemie wrote:

do i dare give it another go?

Go for it, Kemie ;) You can backup the db first if you don’t trust it.

Offline

#1735 2011-03-11 18:39:28

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: MLP - The Multi-Lingual Publishing Pack

Oh, I have no clue what I’m doing.
converting to utf messes everything up, even with the config file. ANd I feel like I’m just blindly pressing buttons to see what will work. I think I’m gonna declare this site MLP-incompatible and just solve it some other way :(.

Thanks for the help and encouragement, you guys, don’t mean to take my frustration out on you.


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#1736 2011-03-11 19:04:39

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

Re: MLP - The Multi-Lingual Publishing Pack

Hi Kemie, I don’t want to force you to use MLP, but could we have a look at the (full) diagnostics for this site? Just in case…

Offline

#1737 2011-03-12 09:39:01

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

Re: MLP - The Multi-Lingual Publishing Pack

@Els Thanks Els
I’m not using the ##syntax because it does not get rendered to the public page of the website, whereas the txp:text does…

Offline

#1738 2011-03-12 14:02:40

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi, Els,
it’s definitely not FORCING me! I want to use MLP! I’m actually thinking if this doesn’t wortk out to just have a fresh install of txp, with a new database, and copy/paste the existing content- it’s not THAT much anyway, and I think it’ll turn out better than not using MLP.
But before that, I’m super happy to post my diagnostics, feel free to take a look :)

Textpattern version: 4.3.0 (r3451)
Last Update: 2011-03-09 18:47:26/2011-03-09 18:46:56
Document root: /home/guaida/guaida.com
$path_to_site: /home/guaida/guaida.com
Textpattern path: /home/guaida/guaida.com/textpattern
Permanent link mode: section_title
Temporary directory path: /home/guaida/guaida.com/textpattern/tmp
Site URL: www.guaida.com
PHP version: 5.2.15
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: America/Los_Angeles
Server Local Time: 2011-03-12 06:01:41
DST enabled?: 1
Automatically adjust DST setting?: 0
Time Zone: America/Mexico_City (-21600)
MySQL: 5.1.39-log
Locale: en_GB.UTF-8
Server: Apache
PHP Server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 2.6.32.8-grsec-2.1.14-modsign-xeon-64
Active plugins: upm_section_title-0.4.1, rdt_dynamenus-0.6m, zem_contact_lang-mlp-4.0.3.6-ML, rvm_maintenance-0.5, rss_admin_db_manager-4.3, l10n-4.3.0.12, gbp_admin_library-0.4.2
Admin-side theme: hive 4.3.0

Pre-flight check: 
------------------------
/home/guaida/guaida.com/textpattern/setup/ still exists
Some Textpattern files have been modified: 
	/home/guaida/guaida.com/textpattern/lib/txplib_db.php
------------------------

.htaccess file contents: 
------------------------
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes

<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

------------------------

Charset (default/config): latin1/
character_set_client: latin1
character_set_connection: latin1
character_set_database: utf8
character_set_filesystem: binary
character_set_results: latin1
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /data/mysql/kubie/share/mysql/charsets/
19 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: date/5.2.15, libxml, openssl, pcre, zlib/1.1, bcmath, calendar, ctype, curl, dom/20031129, hash/1.0, filter/0.11.0, ftp, gd, gettext, session, iconv, standard/5.2.15, json/1.2.1, mbstring, mcrypt, mhash, mysql/1.0, SimpleXML/0.1, pcntl, SPL/0.2, PDO/1.0.4dev, pdo_mysql/1.0.2, pdo_sqlite/1.0.1, posix, pspell, Reflection/0.1, imap, mysqli/0.1, sockets, SQLite/2.0-dev, exif/1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $, tokenizer/0.1, xml, xmlreader/0.1, xmlwriter/0.1, xsl/0.1, cgi-fcgi, Zend Optimizer

pretext_data: array (
  'id' => '',
  's' => '',
  'c' => '',
  'context' => '',
  'q' => '',
  'm' => '',
  'pg' => '',
  'p' => '',
  'month' => '',
  'author' => '',
  'request_uri' => '/d3aed1eeab3bb8f8eb4e7fb4e96bfbeb/?txpcleantest=1',
  'qs' => 'txpcleantest=1',
  'subpath' => '\\/',
  'req' => '/d3aed1eeab3bb8f8eb4e7fb4e96bfbeb/?txpcleantest=1',
)

/home/guaida/guaida.com/index.php: 
	r3189 (b58ca188e05a48b31d1025d61e026725)
/home/guaida/guaida.com/css.php: 
	r3189 (5e7fe7ea948c7e9ec2e56e34a01f4bb6)
/home/guaida/guaida.com/textpattern/css.php: 
	r3189 (4e131ff20d1da3e20b2c629292138653)
/home/guaida/guaida.com/textpattern/include/import/import_b2.php: 
	r3446 (e05c2808566822ed4a6e525ee4bc4192)
/home/guaida/guaida.com/textpattern/include/import/import_blogger.php: 
	r3446 (2096da3f746152301620e18a4ccfe0f8)
/home/guaida/guaida.com/textpattern/include/import/import_mt.php: 
	r3446 (f0be9ce384eec112f8e70687458173cc)
/home/guaida/guaida.com/textpattern/include/import/import_mtdb.php: 
	r3446 (c8f07f5a6db990382e4a30a1d57333e6)
/home/guaida/guaida.com/textpattern/include/import/import_wp.php: 
	r3446 (0740155a2d06657893acc7c7d968770d)
/home/guaida/guaida.com/textpattern/include/txp_admin.php: 
	r3386 (ffb4129e774cfbb8643c2e05f37f3507)
/home/guaida/guaida.com/textpattern/include/txp_article.php: 
	r3440 (db97df274f245047f305ff75b1e20560)
/home/guaida/guaida.com/textpattern/include/txp_auth.php: 
	r3374 (a7f13cd308c5c500105f2b5994cc3aad)
/home/guaida/guaida.com/textpattern/include/txp_category.php: 
	r3374 (5af7cf31692bb2213f93babfef5a6657)
/home/guaida/guaida.com/textpattern/include/txp_css.php: 
	r3379 (88587e0dc2d159be4e521dbf33de7bb7)
/home/guaida/guaida.com/textpattern/include/txp_diag.php: 
	r3446 (1903c263988e7ce4d705e5f0d7ee5bdf)
/home/guaida/guaida.com/textpattern/include/txp_discuss.php: 
	r3374 (ec56dc03cb9ac06f5f026d0a3daf3bac)
/home/guaida/guaida.com/textpattern/include/txp_file.php: 
	r3416 (3159e53e1f35099257be71fe85adf021)
/home/guaida/guaida.com/textpattern/include/txp_form.php: 
	r3382 (e6574a6280585918bd7d4c6d202c3b85)
/home/guaida/guaida.com/textpattern/include/txp_image.php: 
	r3441 (9a93e09c68754dd10f1dc007914652d9)
/home/guaida/guaida.com/textpattern/include/txp_import.php: 
	r3374 (3dbc737eaa1def0771d76344ff7fb116)
/home/guaida/guaida.com/textpattern/include/txp_link.php: 
	r3374 (bb85e92bc8df2363676817a10c0d5801)
/home/guaida/guaida.com/textpattern/include/txp_list.php: 
	r3374 (88af3230cf8dc28747b10a1fea20800a)
/home/guaida/guaida.com/textpattern/include/txp_log.php: 
	r3374 (acb6773311e80fbf87a38587c99a7d2d)
/home/guaida/guaida.com/textpattern/include/txp_page.php: 
	r3379 (92d4d3d0dd9d6ef46fb6e1fdb6d1b0b1)
/home/guaida/guaida.com/textpattern/include/txp_plugin.php: 
	r3374 (d73a4547e590fc476279278fa8aeb391)
/home/guaida/guaida.com/textpattern/include/txp_prefs.php: 
	r3445 (959c2a15daf42c8c6da5957b98b0213d)
/home/guaida/guaida.com/textpattern/include/txp_preview.php: 
	r1238 (d55a3df200602c69eb65c72dc8ad7477)
/home/guaida/guaida.com/textpattern/include/txp_section.php: 
	r3374 (d496b080b90519a9a6e180b0fd0451f8)
/home/guaida/guaida.com/textpattern/include/txp_tag.php: 
	r3444 (b8634c90e7ea16c60d1370a867e91626)
/home/guaida/guaida.com/textpattern/index.php: 
	r3451 (dd519f665b0ffb952246f5d91170134c)
/home/guaida/guaida.com/textpattern/jquery.js: 
	unknown (e4958bd2e32d9fcd6115a585ed17a9cc)
/home/guaida/guaida.com/textpattern/lib/IXRClass.php: 
	r3394 (f8621cd5f0f36c69360aa2033e4065af)
/home/guaida/guaida.com/textpattern/lib/admin_config.php: 
	r3386 (6b2b6db38da2baa82f5557a6e29bad97)
/home/guaida/guaida.com/textpattern/lib/class.thumb.php: 
	r3301 (6ca1ad88082438f88cae6416dcb29822)
/home/guaida/guaida.com/textpattern/lib/classTextile.php: 
	r3438 (734d0ebd2f9e7c4c84bf93bf5cde5d58)
/home/guaida/guaida.com/textpattern/lib/constants.php: 
	r3318 (a2b38baeb4ba77f9dfdd4ad71e277549)
/home/guaida/guaida.com/textpattern/lib/taglib.php: 
	r2868 (c9676967585577f0a0b329803761d516)
/home/guaida/guaida.com/textpattern/lib/txplib_admin.php: 
	r3047 (d5211ebfac4f3b6d00f22d459f3cdf69)
/home/guaida/guaida.com/textpattern/lib/txplib_db.php: 
	unknown (ba606f72e83d511426dfbd23764582c2)
/home/guaida/guaida.com/textpattern/lib/txplib_forms.php: 
	r3372 (447c117e7072a73e67ebe2dc41fe46ee)
/home/guaida/guaida.com/textpattern/lib/txplib_head.php: 
	r3388 (e59cdf9aa24c4d2fb88d0d45076be68e)
/home/guaida/guaida.com/textpattern/lib/txplib_html.php: 
	r3372 (17041abcc0779d22a6224feb8dfd3492)
/home/guaida/guaida.com/textpattern/lib/txplib_misc.php: 
	r3437 (b9de32008e7a9ac596e637d993aab37e)
/home/guaida/guaida.com/textpattern/lib/txplib_theme.php: 
	r3388 (99262eb207d3b49a343ad4b5c1dd3e64)
/home/guaida/guaida.com/textpattern/lib/txplib_update.php: 
	r2812 (54d6fa23f3f3fc5c2cb31262c6aa343f)
/home/guaida/guaida.com/textpattern/lib/txplib_wrapper.php: 
	r2931 (22f292521a595090b46300354db6df57)
/home/guaida/guaida.com/textpattern/publish.php: 
	r3433 (3469e21a32b2411d56e57701baf296f6)
/home/guaida/guaida.com/textpattern/publish/atom.php: 
	r3399 (9a4eeebe17b8c833bc382b6287fbb168)
/home/guaida/guaida.com/textpattern/publish/comment.php: 
	r3395 (8a55386ccfd856bd5df68c84058e5ba0)
/home/guaida/guaida.com/textpattern/publish/log.php: 
	r3247 (257c3a247f0ca6a21513beb2f09d76c6)
/home/guaida/guaida.com/textpattern/publish/rss.php: 
	r3399 (da9ab0c78c57b4169a360dfa0aa6c753)
/home/guaida/guaida.com/textpattern/publish/search.php: 
	r2812 (22762b20f6281fd132248ec42e5ee9af)
/home/guaida/guaida.com/textpattern/publish/taghandlers.php: 
	r3443 (e9a2a51863fd241cd8e7e8c0785120ab)
/home/guaida/guaida.com/textpattern/textpattern.js: 
	r3369 (b87b0a897cc2259aa5132da030764c9d)
/home/guaida/guaida.com/textpattern/theme/classic/classic.php: 
	r3191 (8af2d7091676308c93021843c629812d)
/home/guaida/guaida.com/textpattern/update/_to_1.0.0.php: 
	r3047 (8aa7c3d82aad8df47adf96e92f124137)
/home/guaida/guaida.com/textpattern/update/_to_4.0.2.php: 
	r3047 (81324dcf9bed59bacd73789c2b650305)
/home/guaida/guaida.com/textpattern/update/_to_4.0.3.php: 
	r3047 (c237b669e57b7fe0ea2f8c7cc9d69557)
/home/guaida/guaida.com/textpattern/update/_to_4.0.4.php: 
	r3047 (d3e62265ff5ad36a8a7de23e6148f6f9)
/home/guaida/guaida.com/textpattern/update/_to_4.0.5.php: 
	r2894 (7f5fe789f58a202e23c1b430a2659110)
/home/guaida/guaida.com/textpattern/update/_to_4.0.6.php: 
	r3047 (687e230c2c6a46a6c73d3e97ee368d92)
/home/guaida/guaida.com/textpattern/update/_to_4.0.7.php: 
	r3014 (fa83153d09e2e533ce41f69799b90f5c)
/home/guaida/guaida.com/textpattern/update/_to_4.0.8.php: 
	r3057 (26d76a86cb95757355958e06b6063afe)
/home/guaida/guaida.com/textpattern/update/_to_4.2.0.php: 
	r3233 (9bd2be46df10e2f0561634a2de4cdc63)
/home/guaida/guaida.com/textpattern/update/_to_4.3.0.php: 
	r3304 (0f57c27668c4f791530830d92b146dde)
/home/guaida/guaida.com/textpattern/update/_update.php: 
	r3451 (9d15292f6117490393ff999cd052027e)

------------------------

~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#1739 2011-03-12 14:41:56

lonelytraveller
Member
From: Firenze, Italy
Registered: 2008-04-04
Posts: 45

Re: MLP - The Multi-Lingual Publishing Pack

Hello,
I have a tri-lingual site running on TXP 4.3.0 + MLP (0.9.13-gp). Everything seems to work fine on my local MAMP install, but not on the online versione: the english default page redirects the user to my host “courtesy page”. So typing “www.mysite.com/en/” redirects to the courtesy page, even if the correct url is shown, but typing “www.mysite.com/en/index.php” shows me the english default page. By the way I have no problem with the french and italian home pages.

I may be wrong but it looks like an .htaccess problem… I’ve installed TXP+MLP on the same host before without any problem, and all I had to do was uncommenting the “RewriteBase” line in my .htaccess. My .htaccess looks like this:

#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /

	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</code>

Any suggestion?

——————————————————————
Edit: I’ve contacted my host, apparently it’s a 403 error: so if I uncomment the #Options -Indexes line and add ErrorDocument 403 /en/index.php to my .htaccess I get my home page… and the url is rewritten without the .php extension. But this is just a workaround, I still don’t understand why there’s a 403 error instead of my english home page… any help would be much appreciated.
——————————————————————
Ok, solved. the problem was that a folder named “en” was left on the server from the previous version of the site, and since it didn’t contain any index page, then the courtesy page appeared instead.

Last edited by lonelytraveller (2011-03-12 17:24:22)

Offline

#1740 2011-03-12 20:04:51

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

Re: MLP - The Multi-Lingual Publishing Pack

Manaus wrote:

titles="<txp:text item='Chi_siamo' />,<txp:text item='Applicazioni' />"

Doh! Missed something… ;) It’s the quotes:

titles='<txp:text item="Chi_siamo" />,<txp:text item="Applicazioni" />'

Offline

Board footer

Powered by FluxBB