Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Last pre-release: 4.0.4rc1

#49 2006-10-10 16:38:28

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Last pre-release: 4.0.4rc1

Kjeld, thnks for setting up a test-site, I was just going to ask you you about that :)

When searching for “Lor” we get one result, when searching for Lorem we get no result. This is consistent with my speculation that it has to do with the recent changes we made to improve the search functionality (it uses different functions to search for words with <4 characters and those with >4 characters). I asume this has to do with you still using mysql3.23.*, of course we’ll try to get this resolved before the final 4.0.4 release, since mysql3 is the minimum requirement for Textpattern 4.0.x.

Sidenote: When searching for short words on your live-site there are no results either (it says 5 results, but I see no links/snippets), so you may additionally have a template problem. Can you open a seperate topic for that and post your tagtrace and/or template code for that? Thanks.

Offline

#50 2006-10-10 16:42:07

Kjeld
Member
From: Tokyo, Japan
Registered: 2005-02-05
Posts: 446
Website

Re: Last pre-release: 4.0.4rc1

Thanks, Mary. Here it is (in parts):

<code>
<!— txp tag trace:
[SQL (0.001352): select name from newstxp_lang as txp_lang where lang=‘en-us’ limit 1]
[SQL (0.094758): select name, data from newstxp_lang as txp_lang where lang=‘en-us’ AND ( event=‘public’ OR event=‘common’)]
[SQL (0.002921): select name, code, version from newstxp_plugin as txp_plugin where status = 1]
[SQL (0.000811): select name,code,version from newstxp_plugin as txp_plugin where status = 1 AND name=‘sgb_error_documents’]
[SQL (0.001232): select name from newstxp_section as txp_section where `name` like ‘reports’ limit 1]
[SQL (0.000573): select * from newstxp_section as txp_section where name = ‘reports’ limit 1]
[SQL (0.000914): select user_html from newstxp_page as txp_page where name=‘archive’]
[Page: archive]
<txp:output_form form=“header” /> [SQL (0.000996): select Form from newstxp_form as txp_form where name=‘header’] [Form: header] <txp:css/> <txp:page_title/> [SQL (0.000516): select title from newstxp_section as txp_section where name=‘reports’]
<txp:section/>
<txp:output_form form=“logo” /> [SQL (0.000632): select Form from newstxp_form as txp_form where name=‘logo’] [Form: logo] <txp:image id=“4” /> [SQL (0.000990): select * from newstxp_image as txp_image where id = 4 limit 1] <txp:site_slogan/>
<txp:output_form form=“top_menu” /> [SQL (0.000688): select Form from newstxp_form as txp_form where name=‘top_menu’] [Form: top_menu] <txp:site_url/> <txp:site_url/> <txp:site_url/> <txp:image id=“3” /> [SQL (0.000628): select * from newstxp_image as txp_image where id = 3 limit 1] <txp:site_url/> <txp:section link=“1” /> <txp:if_category> [<txp:if_category>: false] </txp:if_category> <txp:if_individual_article> [<txp:if_individual_article>: false] </txp:if_individual_article>
</code>


Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
JapaneseStreets.com – Japanese street fashion (mostly txp)

Offline

#51 2006-10-10 16:42:39

Kjeld
Member
From: Tokyo, Japan
Registered: 2005-02-05
Posts: 446
Website

Re: Last pre-release: 4.0.4rc1

<code>
<txp:output_form form=“search-input” /> [SQL (0.000487): select Form from newstxp_form as txp_form where name=‘search-input’] [Form: search-input] <txp:site_url/> <txp:section/> <txp:section/> <txp:section/>
<txp:image id=“6” /> [SQL (0.000545): select * from newstxp_image as txp_image where id = 6 limit 1]
<txp:site_url/>
<txp:if_category name=“news”> [<txp:if_category name=“news”>: false]
</txp:if_category>
<txp:site_url/>
<txp:if_category name=“people”> [<txp:if_category name=“people”>: false]
</txp:if_category>
<txp:site_url/>
<txp:if_category name=“shows”> [<txp:if_category name=“shows”>: false]
</txp:if_category>
<txp:site_url/>
<txp:if_category name=“pippa”> [<txp:if_category name=“pippa”>: false]
</txp:if_category>
<txp:site_url/>
<txp:if_category name=“travel”> [<txp:if_category name=“travel”>: false]
</txp:if_category>
<txp:if_section name=“reports”> [<txp:if_section name=“reports”>: true] <txp:cbs_category_list parent=“2reports” activeclass=“active” /> [SQL (0.002204): SELECT c.name, c.title FROM `newstxp_category` AS c, `newstextpattern` AS t WHERE (c.name = t.Category1 OR c.name = t.Category2) AND c.type = ‘article’ AND t.Section = ‘reports’ AND c.parent = ‘2reports’ AND t.Posted < now() AND t.Status = 4 GROUP BY c.name ORDER BY c.title]
</txp:if_section>
<txp:if_section name=“directory”> [<txp:if_section name=“directory”>: false]
</txp:if_section>
<txp:output_form form=“give_away” /> [SQL (0.000355): select Form from newstxp_form as txp_form where name=‘give_away’] [Form: give_away] <txp:image id=“24” /> [SQL (0.000316): select * from newstxp_image as txp_image where id = 24 limit 1] <txp:image id=“40” /> [SQL (0.000288): select * from newstxp_image as txp_image where id = 40 limit 1]
<txp:output_form form=“banners” /> [SQL (0.000294): select Form from newstxp_form as txp_form where name=‘banners’] [Form: banners] <txp:image id=“8” /> [SQL (0.000338): select * from newstxp_image as txp_image where id = 8 limit 1] <txp:image id=“9” /> [SQL (0.000332): select * from newstxp_image as txp_image where id = 9 limit 1] <txp:image id=“10” /> [SQL (0.000316): select * from newstxp_image as txp_image where id = 10 limit 1] <txp:image id=“11” /> [SQL (0.000308): select * from newstxp_image as txp_image where id = 11 limit 1]
<txp:if_individual_article> [<txp:if_individual_article>: false]
</txp:if_individual_article>
<txp:if_article_list> [<txp:if_article_list>: true] <txp:article limit=10 searchall=0 pgonly=1 /> [SQL (0.000465): select count(*) from newstextpattern as textpattern where 1 and Status = 4 and Posted <= now() and match (Title,Body) against (‘translation’) and Section = ‘reports’] <txp:search_result_count text=“articles” /> <txp:article limit=10 searchall=0 /> [SQL (0.000549): select count(*) from newstextpattern as textpattern where 1 and Status = 4 and Posted <= now() and match (Title,Body) against (‘translation’) and Section = ‘reports’] [SQL (0.000878): select *, unix_timestamp(Posted) as uPosted, match (Title,Body) against (‘translation’) as score from newstextpattern as textpattern where 1 and Status = 4 and Posted <= now() and match (Title,Body) against (‘translation’) and Section = ‘reports’ order by score desc limit 0, 10] [SQL (0.000489): select Form from newstxp_form as txp_form where name=‘search_results’] [Form: search_results] <txp:older> </txp:older> <txp:newer> </txp:newer>
</txp:if_article_list>
<txp:output_form form=“google_ads” /> [SQL (0.001242): select Form from newstxp_form as txp_form where name=‘google_ads’] [Form: google_ads]
<txp:output_form form=“footer” /> [SQL (0.001420): select Form from newstxp_form as txp_form where name=‘footer’] [Form: footer] <txp:site_url/> <txp:site_url/> <txp:site_url/> <txp:site_url/> <txp:site_url/> <txp:site_url/> <txp:site_url/> <txp:php> </txp:php>
[ ~~~ secondpass ~~~ ] —>
</code>


Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
JapaneseStreets.com – Japanese street fashion (mostly txp)

Offline

#52 2006-10-10 16:55:10

playpiggy
Member
From: Changchun, China
Registered: 2004-11-23
Posts: 55

Re: Last pre-release: 4.0.4rc1

I just updated Simplified Chinese langage file and catched up with the latest <code>en-gb.txt</code> on <code>http://rpc.textpattern.com/lang/</code>. It’s a big update, including adding the missing strings, adjusting the words according to the glossary on TextBook, and typo things.

So, Mary or Sencer, I think you should update the Simplified Chinese part of <code>setup-langs.php</code> from the updated file before 4.0.4’s release.

The files here.

Last edited by playpiggy (2006-10-10 17:09:13)


Welcome to the REAL World…

Offline

#53 2006-10-10 16:57:06

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Last pre-release: 4.0.4rc1

Kjeld: it looks like your search_results form is empty?

Last edited by Mary (2006-10-10 16:58:11)

Offline

#54 2006-10-10 17:06:38

Kjeld
Member
From: Tokyo, Japan
Registered: 2005-02-05
Posts: 446
Website

Re: Last pre-release: 4.0.4rc1

Mary:

The search_results form actually contains the following code:
<code>
<div class=“select-article”><h3><txp:permlink><txp:title /></txp:permlink></h3>
<p><b><txp:excerpt /></b></p><p><txp:search_result_excerpt /></p></div>
</code>

But the fresh install at http://www.japanesestreets.com/txttest should work out of the box, right? Search gives no results there, either. That’s why I figured that the problem doesn’t lay with my code.

I put the fresh install in debugging mode, too. So you can have a look there, too, if it helps.


Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
JapaneseStreets.com – Japanese street fashion (mostly txp)

Offline

#55 2006-10-10 17:19:23

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Last pre-release: 4.0.4rc1

O.K. I’ve been playing around with rc1 and some of the plug-ins I use most often. I wasn’t quite sure whether it’s better to post those here or in the respective plug-in’s thread, but here it goes:

  • the Insert Image command of Mary’s image popper is missing from the write tab
  • I can’t seem to get automatic thumbnail generation on upload to work
  • glx_admin_image appears to work fine except that txp ignores the checkbox Resize large image, stored value 500px – the image comes in at full size.

(all of this works fine in 4.0.3)

I noticed some nice touches such as when you expand the advanced options in the write tab things don’t jump around anymore. Haven’t had the time to check it out in more depth yet.

Cheers Martin

Offline

#56 2006-10-10 17:26:46

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Last pre-release: 4.0.4rc1

Kjeld: at the top of your page you’ve got these errors:

tag_error <txp:article limit=10 searchall=0 /> -> Textpattern Warning: Can’t find FULLTEXT index matching the column list

There is the source of the problem on that Txp install: the fulltext index (or search index) is missing. We can put it back, though. Have you got something like phpMyAdmin handy?

Lookin’ to see what’s up with the other one…

Offline

#57 2006-10-10 17:32:23

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Last pre-release: 4.0.4rc1

Martin:

I know about some of my plugins not working anymore (and why), and they will soon. :)

Textpattern doesn’t auto-generate thumbnails. I believe there have been some plugins that did that, though?

Offline

#58 2006-10-10 18:23:46

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Last pre-release: 4.0.4rc1

Kjeld: other than your missing index problem, I was able to reproduce this, and I know what’s causing it, I just need to patch it. :)

Offline

#59 2006-10-10 18:44:49

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Last pre-release: 4.0.4rc1

Mary wrote:

Textpattern doesn’t auto-generate thumbnails. I believe there have been some plugins that did that, though?

Here come the good news: It does, and it works fine on my sites running 4.0.4rc1 if the preferred thumb width is set in the preferences.

Offline

#60 2006-10-10 19:00:26

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Last pre-release: 4.0.4rc1

wet wrote:

Here come the good news: It does, …

Thanks, I was beginning to think I had imagined that.

It now does work for me, too. However the thumbs are not created preserving the original images’ aspect ratio. If I upload a portrait format pic the resulting thumb is squished to landscape format.

Offline

  1. Index
  2. » Archives
  3. » Last pre-release: 4.0.4rc1

Board footer

Powered by FluxBB