Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#2113 2012-12-10 21:28:37

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

Re: MLP - The Multi-Lingual Publishing Pack

Bloke wrote:

  • Fix for category create (thanks lonelytraveller / hildebruns)

Thanks @Bloke I’ve just upgraded all the files and it works like a charm :-)

Offline

#2114 2012-12-12 11:28:53

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

Re: MLP - The Multi-Lingual Publishing Pack

Hello,
I just did a migration from a server A to server B of a website:

  • mysql dump from A
  • import the dump to B
  • upload files and folders to B
  • change config.php and advanced preferences

Now, if I put a MLP article from draft to visible and back, it doesn’t disappear from the frontend.
Any suggestion?

Thanks

Offline

#2115 2012-12-12 12:08:38

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

Re: MLP - The Multi-Lingual Publishing Pack

Manaus wrote:

Now, if I put a MLP article from draft to visible and back, it doesn’t disappear from the frontend.

Sounds like a cacheing issue. Can’t think of anything else it could be. Has the new server got any different settings? Does changing the pref Send “Last-Modified” header make any difference?


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

#2116 2012-12-12 12:09:58

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

Re: MLP - The Multi-Lingual Publishing Pack

Just a heads-up: don’t use MLP on a Txp nightly build for the time being or you’ll get a nasty fatal error. The relevant issue


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

#2117 2012-12-12 14:28:26

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

Re: MLP - The Multi-Lingual Publishing Pack

Thanks Bloke
switching the Send Last Modified checkbox looks like it did solve the issue (not sure)…

Still I spotted another glitch:

  • I write an article [it-it], then save (raises this error: Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 select * from my_l10n_articles as l10n_articles where `ID`= in /home/mywebsite/public_html/textpattern/lib/txplib_db.php on line 113)
  • open MLP articles panel
  • clone article to English
  • click on title of just created article
  • write tab opens up with language: italiano selected (raises this error Warning: Table 'mydb.my_my_l10n_txp_en_us' doesn't exist delete from euro_euro_l10n_txp_en_us where `ID`='86' in /home/eurocafc/public_html/textpattern/lib/txplib_db.php on line 113)

Note that the query added twofold my_ to the table

I guess it’s pretty close

Txp 4.3.0 – MLP 0.9.13-gp

Thanks for any suggestion

Last edited by Manaus (2012-12-12 14:29:16)

Offline

#2118 2012-12-12 14:50:09

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

Re: MLP - The Multi-Lingual Publishing Pack

Manaus wrote:

Txp 4.3.0 – MLP 0.9.13-gp

The warnings were in all recent MLP versions up until I started tinkering a few months ago when I squashed the bug(s) in the 4.5.x releases. Since I don’t support the old code base I can only suggest upgrading both Txp and MLP if that’s possible. But check all your other plugins are available in 4.5.x compatible versions first.


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

#2119 2012-12-13 15:06:04

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

Re: MLP - The Multi-Lingual Publishing Pack

Upgraded to T4.5.4 + MLP4.5.x, works quite fine :)
Thanks

Offline

#2120 2012-12-17 16:59:13

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Re: MLP - The Multi-Lingual Publishing Pack

Why I’m getting this error:
“Array to string conversion”
when I try to install or accesso to MLP tab?
I’m using Textpattern 4.5.4 and MLP 4.5.2
Thanks

Offline

#2121 2012-12-17 17:59:20

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

Re: MLP - The Multi-Lingual Publishing Pack

wornout wrote:

Why I’m getting this error: “Array to string conversion”

Difficult to answer without a bit more info. Like you diagnostics, maybe (or at least PHP/MySQL versions) and also any more error info (line numbers, stuff like that) from the error message.


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

#2122 2012-12-18 03:09:28

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: MLP - The Multi-Lingual Publishing Pack

I’m seeing a small error after upgrading a site to 4.5.4 and MLP 4.5.2. Only on the Write tab. On article save, the save button spins but there is no message on screen after save (using Classic). On the frontend, whatever change is made to an article does not display.

But a little odd, because the article itself seems to get saved – by choosing another article from recent articles and then going back to the original article, I can see the edit was saved. But no success message on screen nor output on the front end.

Offline

#2123 2012-12-18 09:29:06

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Re: MLP - The Multi-Lingual Publishing Pack

Bloke wrote:

Difficult to answer without a bit more info. Like you diagnostics, maybe (or at least PHP/MySQL versions) and also any more error info (line numbers, stuff like that) from the error message.

I used PHP 5.4.4. that generates error in string conversion.
Running wizard with PHP 5.4.4 something goes wrong.
With PHP 5.1.17 I’ve solved all problems.
Sorry for the limited info but I’m not a PHP expert :(

Update: MySQL version is 5.5.25

Last edited by wornout (2012-12-18 09:30:23)

Offline

#2124 2012-12-20 01:50:42

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: MLP - The Multi-Lingual Publishing Pack

Re my post above – 4.5.4 and the latest MLP did not work for me, so I downgraded to 4.5.2. After a short shock when I couldn’t navigate past the Languages screen, I remembered to change the version number in the txp_prefs table and all was good again.

Offline

Board footer

Powered by FluxBB