Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#2416 2017-02-23 13:15:59

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

I am going to fix it right now.

Offline

#2417 2017-02-23 16:37:04

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

I found out it is a big problem. It requires fixing the form editing section, category, images, link, file. But I haven’t much time to fix it. I will have a time to solve it in 10 days.

But now I made a small hack, which will solve the section editing bug.

You should replace in file texpattern/lib/l10n_admin.php on this function code.

Offline

#2418 2017-02-24 08:25:31

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: MLP - The Multi-Lingual Publishing Pack

I found out it is a big problem. It requires fixing the form editing section, category, images, link, file. But I haven’t much time to fix it. I will have a time to solve it in 10 days.

Oh, I already had a suspicion that it would not be a small bug … if you can fix this in 10 days time it would be great!

But now I made a small hack, which will solve the section editing bug.
You should replace in file texpattern/lib/l10n_admin.php on this function code.

You made my day! This is very much appreciated, Spiridon.

-M

Offline

#2419 2017-03-06 09:48:15

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: MLP - The Multi-Lingual Publishing Pack

Spiridon, any news yet on the section bug?

Cheers,
-M

Offline

#2420 2017-03-10 15:46:53

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

I have fixed incorrect layout and incorrect links in MLP settings.

All changes are in plugin gbp_admin_library. You should update the plugin and also replace file style textpattern/l10n.css.

All other stuff will be fixed later.

github.com/dshovchko/MLP/tree/v4.6.0.tables2views

Offline

#2421 2017-03-13 16:24:10

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

Re: MLP - The Multi-Lingual Publishing Pack

Guys, could someone who knows what he/she is doing please compile the mlp files into a .zip.txt format plugin so as to make it easier for its users? Check out this thread.


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

Offline

#2422 2017-03-14 07:19:18

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

?

Offline

#2423 2017-03-14 08:32:45

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

The zip and the git-repo do not contain txt files in plugins subdir as suggested in README.
Please point me to txt-files importable via WebGUI or tell me how to use the sources/php-files in git-repo.

Offline

#2424 2017-03-14 14:22:19

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

put zem_tpl.php in plugins/sources, and run (in plugins/sources):

/usr/bin/php gbp_admin_library.php > gbp_admin_library.txt
/usr/bin/php l10n.php > l10n.txt

zem_tpl.php you can take here

Offline

#2425 2017-03-14 16:41:39

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

thanks. Tried that.
That gives me html-files … is that correct? Doesn’t look like the importable compiled ones:

EDIT: my fault, got the 2 files compiled and installed, thanks!
Now for getting my content displayed correctly, doesn’t look as expected so far.

EDIT 2:
/var/www/localhost/htdocs/textpattern/textpattern/plugins/sources
└▶ $ /usr/bin/php zem_contact_lang-mlp.php > zem_contact_lang-mlp.txt
PHP Fatal error: Call to undefined function register_callback() in /var/www/localhost/htdocs/textpattern/textpattern/plugins/sources/zem_contact_lang-mlp.php on line 62

?

Last edited by sgw (2017-03-14 17:24:00)

Offline

#2426 2017-03-14 18:22:37

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

Re: MLP - The Multi-Lingual Publishing Pack

I think that latest zem_contact (zcr) does not need the lang file any more.


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

Offline

#2427 2017-03-14 18:34:19

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

colak wrote #304737:

I think that latest zem_contact (zcr) does not need the lang file any more.

thanks, updated zcr to 4.5.0 now

Unfortunately my site doesn’t look correct … no content displayed “in the middle”, just “infrastructure” around ;-) -> http://www.oops.co.at

any ideas how to proceed here? Thanks!

Offline

#2428 2017-03-15 18:53:14

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

Textpattern-Version: 4.6.2 (021ed2f49da91aec25c2aa7317aca461)
Letzte Aktualisierung: 2017-03-13 14:27:14/2016-10-21 07:49:48
Document Root: /var/www/localhost/htdocs/textpattern
$path_to_site: /var/www/localhost/htdocs/textpattern
Textpattern-Pfad: /var/www/localhost/htdocs/textpattern/textpattern
Schema der URLs: section_title
Temporäres Verzeichnis: /var/www/localhost/htdocs/textpattern/textpattern/tmp
Seiten-URL: www.oops.co.at
PHP-Version: 5.6.30-pl0-gentoo
GD Graphics Library: bundled (2.1.0 compatible); Unterstützte Grafikformate: GIF, JPG, PNG.
Server TZ: Europe/Vienna
Lokale Serverzeit: 2017-03-15 19:50:50
Sommerzeit: 0
Sommer-/Winterzeit automatisch umstellen?: 0
Zeitzone (Differenz zu GMT in Sekunden): Europe/Vienna (3600)
MySQL: 5.5.5-10.0.29-MariaDB
Zeit des Datenbank-Servers: 2017-03-15 19:50:50
Zeitverschiebung des Datenbank-Servers: 0 s
Zeitzone des Datenbank-Servers: SYSTEM
Zeitzone der Datenbank-Session: SYSTEM
Regionale Einstellungen: de_DE.UTF-8
Server: Apache
Apache-Version: Apache
PHP Server API: apache2handler
RFC-2616-Header: 
Betriebssystem des Servers: Linux 4.4.39-gentoo
Aktive Plugins: kml_twitter-1.4, zem_contact_reborn-4.5.0.0, mem_glinklist-0.8.5m, pap_contact_cleaner-0.1, glx_admin_image-2007.1, upm_insert_tab-0.3, gbp_admin_library-4.6.0.20160216, wet_quicklink-0.8.2, l10n-4.6.0.20160216
Admin-Oberfläche: hive 4.6.2

Offline

#2429 2017-03-16 07:37:18

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

Re: MLP - The Multi-Lingual Publishing Pack

Hi sgw,
Could you put your site on debug? We might be able to spot the culprit.


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

Offline

#2430 2017-03-16 08:56:28

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

sure, sorry.
And then post the whole output?

I see stuff like:

Tag error: <txp:article_custom category="status" limit="1" status="live" form="status" /> ->  Textpattern Error: Table 'textpatterndb.l10n_txp_en_gb' doesn't exist while parsing form None on page default
textpattern/lib/txplib_db.php:418 trigger_error()
textpattern/lib/txplib_db.php:1162 safe_query()
textpattern/lib/txplib_db.php:1004 startRows()
textpattern/publish.php:971 safe_rows_start()
textpattern/publish.php:1110 doArticles()
textpattern/publish.php:1099 parseArticles()
article_custom()
textpattern/vendors/Textpattern/Tag/Registry.php:83 call_user_func()
textpattern/lib/txplib_publish.php:514 Textpattern\Tag\Registry->process()
textpattern/lib/txplib_publish.php:463 processTags()

How could I have “lost” that table?

EDIT: imported the 2 tables textpatterndb.l10n_txp_en_gb textpatterndb.l10n_txp_de_de from old backup, looks a bit better now ;-)

still something to debug:

Fehler im Tag: <txp:article_custom category="Intro" limit="1" status="sticky" form="no_title" /> ->  Notice: Undefined index: description beim Verarbeiten des Bausteins Keine auf der Seitenvorlage default
textpattern/publish.php:988 populateArticleData()
textpattern/publish.php:1110 doArticles()
textpattern/publish.php:1099 parseArticles()
article_custom()
textpattern/vendors/Textpattern/Tag/Registry.php:83 call_user_func()
textpattern/lib/txplib_publish.php:514 Textpattern\Tag\Registry->process()
textpattern/lib/txplib_publish.php:463 processTags()
textpattern/lib/txplib_misc.php:4476 parse()
textpattern/publish.php:562 parse_page()
index.php:105 textpattern()

and more like that.

Last edited by sgw (2017-03-16 09:18:49)

Offline

Board footer

Powered by FluxBB