Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#2311 2014-07-16 13:14:29
- Bicss11
- Member
- Registered: 2014-04-03
- Posts: 24
Re: MLP - The Multi-Lingual Publishing Pack
Thx Block!
I have update it
I put the <txp:php>
safe_update(‘txp_plugin’, ‘type=5’, “name=‘l10n’”);
</txp:php> on all pages but my content is not updating.
Offline
#2312 2014-07-16 13:34:22
Re: MLP - The Multi-Lingual Publishing Pack
Bicss11 wrote #282190:
I put the
safe_update(‘txp_plugin’, ‘type=5’, “name=‘l10n’”)on all pages but my content is not updating.
You shouldn’t need to do that if you installed the plugin from the link I posted: the plugin type will be set correctly upon install.
When you deleted whatever it was you deleted how did you restore it? If it was the database that got deleted, did you recover all tables including the l10n_* tables?
Are you seeing any errors if you put the site in Debugging mode?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#2313 2014-07-17 06:48:10
- Bicss11
- Member
- Registered: 2014-04-03
- Posts: 24
Re: MLP - The Multi-Lingual Publishing Pack
I had a database copy before fixing my textpattern
I have deleted the
<txp:php>
safe_update(‘txp_plugin’, ‘type=5’, “name=‘l10n’”);
</txp:php>
lines of all my pages now
I no have errors:
If i make a search on my bbdd of a published test article i find it on l10n_txp_es_es table and textpattern table
This is my diagnostic:
Versión de Textpattern: 4.5.5 (r5575)
Última actualización: 2014-04-04 12:23:51/2013-10-04 09:55:16
Document root: /kunden/homepages/6/d521824039/htdocs (/homepages/6/d521824039/htdocs)
$path_to_site: /homepages/6/d521824039/htdocs
Ruta a Textpattern: /homepages/6/d521824039/htdocs/textpattern
Modo de enlace permanente: section_title
Ruta al directorio temporal: tmp
URL del sitio: www.hezkide.org
Versión de PHP: 5.4.30
GD Graphics Library: bundled (2.1.0 compatible); formatos soportados: GIF, JPG, PNG.
Servidor TZ: Europe/Berlin
Tiempo local del servidor: 2014-07-17 08:50:52
¿Activar horario de verano?: 0
¿Ajustar automáticamente la preferencia ‘Horario de verano’?: 0
Zona Horaria: (+3600)
MySQL: 5.1.73-log
Local: es_ES.UTF-8
Servidor: Apache
PHP Server API: cgi-fcgi
Cabeceras RFC 2616: 0
Sistema operativo del servidor: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
Plugins activos: zem_contact_lang-mlp-4.0.3.6-ML, zem_nth-0.3.0, gbp_admin_library-0.4.2, l10n-4.5.5-01
Tema de administración: classic 4.5.5
Comprobación previa:
————————————
Algunos archivos de Textpattern han sido modificados:
/homepages/6/d521824039/htdocs/textpattern/lib/txplib_db.php
————————————
Contenidos del archivo .htaccess:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) /index.php
</IfModule>
#php_value register_globals 0
- SVG
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
————————————
Last edited by Bicss11 (2014-07-17 07:03:33)
Offline
#2314 2014-10-10 13:54:07
Re: MLP - The Multi-Lingual Publishing Pack
Hello Stef,
I am trying to update a somewhat complex textpattern install with MLP.
I get this error message
Fatal error: Cannot redeclare get_prefs() (previously declared in F:\Aa-WebDev\Bacchanales\_txp\lesbacchanales\textpattern\lib\txplib_misc.php:4596) in F:\Aa-WebDev\Bacchanales\_txp\lesbacchanales\textpattern\lib\txplib_db.php on line 644
Which is the wrong function definition ? The one in txplib_misc.php or the one in txplib_db.php ?
Last edited by planeth (2014-10-10 13:54:25)
Offline
#2315 2014-10-10 14:15:58
Re: MLP - The Multi-Lingual Publishing Pack
planeth wrote #284698:
Cannot redeclare get_prefs()
MLP will not work under 4.6.x in its current form. In fact, it’s unlikely to ever work in its current form in future major Txp versions unless some hefty changes are made to the way it works under the hood. Although I could do it, I’m reticent to do so because of the work involved. Instead, I’m considering something better so we can move forward instead of constantly patching this pack.
It’s too early to say anything concrete yet, because it’s still just an idea in my head, but it sounds like it might be crazy enough to work. Once I get custom fields out of the way, I’ll turn my attention to this. In the meantime you’re stuck with 4.5.x and MLP as being the only compatible sisters.
EDIT: Having said that, if anyone’s interested in my vision for multi-lingual-ness, feel free to drop me a note and I’ll reveal all privately. Any developers are absolutely welcome to rip it to shreds, improve it, fork the Github code and issue a pull request. It’ll save me a load of work! The actual implementation is not that onerous, it’s the migration for existing MLP users that is the biggest challenge.
Last edited by Bloke (2014-10-10 14:19:00)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#2316 2014-10-10 14:32:05
Re: MLP - The Multi-Lingual Publishing Pack
Oh. Well. Didn’t check version requirement …
Sooo, which is the lastest version supported by MLP ? Is it findable in the github repository ?
Quite interested in your vision for the “multi-lingual-ness”. Willing to put some thought in it if I can handle it.
Offline
#2317 2014-10-10 14:46:27
Re: MLP - The Multi-Lingual Publishing Pack
planeth wrote #284700:
which is the lastest version supported by MLP ? Is it findable in the github repository ?
Not on Github, no. 4.5.x development is still on Google Code’s SVN in the usual slot. Txp 4.5.7 will work fine with my Git MLP version and the associated compiled plugins. Won’t work with yab_shop yet because of unresolved issues, btw.
Quite interested in your vision for the “multi-lingual-ness”. Willing to put some thought in it if I can handle it.
Drop me a mail sometime and I’ll send you back a missive I wrote a few weeks ago. As I say, I don’t think it’s that tricky. Just needs caffeine.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#2318 2014-10-10 15:05:09
Re: MLP - The Multi-Lingual Publishing Pack
Bloke wrote #284702:
Txp 4.5.7 will work fine with my Git MLP version and the associated compiled plugins.
I was planning to ask you this, but you beat me to it. Are there any expected dangers or anything to be cautious about while upgrading a site to Txp 4.5.7, beyond the normal MLP upgrade instructions?
Thank you Stef, for your immense dedication and support!
Offline
#2319 2014-10-10 15:10:28
Re: MLP - The Multi-Lingual Publishing Pack
johnstephens wrote #284703:
Are there any expected dangers or anything to be cautious about while upgrading a site to Txp 4.5.7, beyond the normal MLP upgrade instructions?
Nope, nothing’s changed that much in Txp in the last few releases that affects MLP. I have a 4.5.7 running fine with it and haven’t spotted any issues so far.
Usual precautions apply though: backup, backup, and backup again. Because computers and programmers can’t be trusted.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#2320 2014-10-10 15:33:40
Re: MLP - The Multi-Lingual Publishing Pack
Bloke wrote #284702:
Not on Github, no. 4.5.x development is still on Google Code’s SVN in the usual slot. Txp 4.5.7 will work fine with my Git MLP version and the associated compiled plugins.
My bad :) I cloned the github repo …
Restarted with the google SVN. Upgrading is going forward. Now stuck with another error :
Undefined index: l10n_l10n-url_default_lang_marker on line 460 _l10n_textpattern_comment_submit()
May be related to the fact that is I tried to run the wizard as I understood in you readme from github but dropping all the l10n tables did not seemed a good option.
Offline
#2321 2015-03-11 07:49:45
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: MLP - The Multi-Lingual Publishing Pack
Hello,
The last release of this plugin contain no help lines !
Is it possible to get this file ? Or a previous relase with the help ?
Thanks !
Jean-Pol
Offline
#2322 2015-03-11 10:10:17
Re: MLP - The Multi-Lingual Publishing Pack
jpdupont wrote #288956:
The last release of this plugin contain no help lines !
Do you mean the compiled plugin? Have you tried the ones from this post? I’m pretty sure the docs are in there, but let me know if I’ve missed anything.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#2323 2015-03-11 12:33:27
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: MLP - The Multi-Lingual Publishing Pack
Stef, I install the files on an other site and now the help is there. Thanks …
On our actual site, the plugin was installed by the students and … I need to double check …
Offline
#2324 2015-03-11 15:43:50
Re: MLP - The Multi-Lingual Publishing Pack
Today, it becomes difficult to find a latest version of a plugin for textpattern…
…Or not, the first post has been updated to point to bloke github depot.
Last edited by sacripant (2015-03-11 15:49:12)
Offline
#2325 2015-03-18 08:57:44
Re: MLP - The Multi-Lingual Publishing Pack
Hello,
I need to update the MLP plugin to the latest version on a production site (txp 4.5.4), due to the “Could not save article” issue.
What’s the best way to update? I guess I download the plugin here and remove the old/overwrite/uninstall?
Thanks for any suggestion
Offline