Textpattern Forum

You are not logged in. Register | Login | Help

#1901 2012-01-27 17:11:03

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: MLP - The Multi-Lingual Publishing Pack

& did you follow the install instructions? there are some more files to copy & manipulte than with a “normal” plugin..?

Offline

#1902 2012-01-27 17:17:11

divan
New Member
From: Ukraine
Registered: 2009-04-30
Posts: 7

Re: MLP - The Multi-Lingual Publishing Pack

jens31 wrote:

& did you follow the install instructions? there are some more files to copy & manipulte than with a “normal” plugin..?

Yes, I was following README.txt strictly. Installed langages, then did copy all the files from textpattern/, replaced txplib_db.php, installed all three plugins, ran setup wizard for MLP… Admin side seems to work perfectly, but redirects to /en (and other languages) return me 404.

Also, I noticed that I can access without redirect pages like index.php?s=about and index.php?s=archive (the only two sections added in default txp installation).

Offline

#1903 2012-01-27 17:34:23

divan
New Member
From: Ukraine
Registered: 2009-04-30
Posts: 7

Re: MLP - The Multi-Lingual Publishing Pack

Oh, I’ve found the problem – mod_rewrite was completely disabled. Sorry for disturbance.

Offline

#1904 2012-01-31 20:07:09

slabanosa
Member
From: Belgium
Registered: 2004-06-01
Posts: 49
Website

Re: MLP - The Multi-Lingual Publishing Pack

hello

Just noticed my txp search engine stopped working. I rememeber it did but don’t know when it stopped …
I am running 4.4.1 with the latest MLP .

here’s my search form
<form method="get" action="<txp:site_url />search/" id="cherche" name="cherche"> <input name="q" type="text" id="q" value="##search##" onfocus="this.value='';" /> </form>

Since I have wet haystack installed and problems were reported a while back with these 2 not playing nice, I suspect something with MLP, but I could be wrong. I have tried to reset wet_haystack to the default title & body search then uninstalled it but no go: search results is always empty and I don’t know where to look next.

thanks for any hint

Offline

#1905 2012-01-31 20:54:58

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,383
Website

Re: MLP - The Multi-Lingual Publishing Pack

slabanosa wrote:

action="<txp:site_url />search/"

You won’t have the language marker in the URL this way. Does it work if you change it to action="<txp:site_url /><txp:l10n_get_lang />/search/"?


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#1906 2012-01-31 21:11:46

slabanosa
Member
From: Belgium
Registered: 2004-06-01
Posts: 49
Website

Re: MLP - The Multi-Lingual Publishing Pack

thanks for the heads up Els, tried that too and still get an empty page

Offline

#1907 2012-01-31 21:29:06

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,383
Website

Re: MLP - The Multi-Lingual Publishing Pack

I assume you checked that the search term exists in your articles? ;)

I don’t know why it doesn’t work, but you could try using the <txp:search_input /> tag or, if that’s not an option for you, building the search form using the txp tag and the form attribute.

Last edited by Els (2012-01-31 21:30:24)


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#1908 2012-01-31 21:46:49

slabanosa
Member
From: Belgium
Registered: 2004-06-01
Posts: 49
Website

Re: MLP - The Multi-Lingual Publishing Pack

yep made sure there was plenty of the search terms used and that sections were searchable too ;-)
just tried <txp:search_input label=“Search the website” button=“Search” section=“search” /> and all it does is throw me back to the search section or whatever other section … looks like q is not getting any results at all, for some reason he’s probably looking at the wrong columns

Offline

#1909 2012-01-31 21:53:56

slabanosa
Member
From: Belgium
Registered: 2004-06-01
Posts: 49
Website

Re: MLP - The Multi-Lingual Publishing Pack

ok, now the bug’s talking to me

Tag error: <txp:article searchform="search_results" searchsticky="1"/> -> Textpattern Warning: Can't find FULLTEXT index matching the column list select *, unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod, match (`Title`, `Body`) against ('ticket') as score from l10n_txp_en_gb where 1=1 and Status >= 4 and Posted <= now() and (now() <= Expires or Expires = '0000-00-00 00:00:00') and (`Title` like '%ticket%' or `Body` like '%ticket%') and Section != 'search' and Section != 'today' order by score desc limit 0, 10 textpattern/lib/txplib_db.php:258 startRows() on line 113

textpattern/lib/txplib_db.php:113 trigger_error()
textpattern/lib/txplib_db.php:323 safe_query()
textpattern/lib/txplib_db.php:258 startRows()
textpattern/publish.php:815 safe_rows_start()
textpattern/publish.php:964 doArticles()
textpattern/publish.php:592 parseArticles()
textpattern/publish.php:1188 article()
textpattern/publish.php:1100 processTags()
textpattern/publish.php:538 parse()
index.php:45 textpattern()

section Today and search mentioned above are not searchable… puzzled

Last edited by slabanosa (2012-01-31 21:55:00)

Offline

#1910 2012-01-31 22:12:09

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,383
Website

Re: MLP - The Multi-Lingual Publishing Pack

I found this topic, does it help you?


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

Board footer

Powered by FluxBB