codelynx

Search Fails After Upgrade

Vote 0 Votes

Just upgraded from v4.23 to v5.12/ Search was working fine, but now getting following error when using search.

"o alternate template is specified for the Template 'xboxist'"

You can replicate error here http://www.xboxist.com/

Reported on Movable Type 5

12 Replies

| Add a Reply
  • You may like to redo your search results template from scratch.

    In other words, to start from the default one in v5.12 and then to adapt it to so that it matches your website look and feel.

    I went to your website and noticed that if I take away the variable "Template=xboxist" the search script would provide some results.

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/
    ----------------------------------

    Open Melody Demo
    http://www.openmelodydemo.org/

  • Thanks Mihai.

    I've been browsing my physical files on ftp and transferred over all the custom templates I had forgotten about. I.e. sitename.impl etc. However still same.

    My MType dashboard is different now, so not sure if there is anything missing from the previous install.

    Where, which file, is that variable "template" set?

  • Where have you been storing those?

    You may like to search on your archives for "xboxist" and see if you could find something.

    If you cannot find anything, just get rid of that template variable from the search form and restyle the search results.

  • these are stored in MT/search_templates

  • Good, do what I've advised above ;)

  • I am now inspecting MT/default_templates

  • Where is the alternate template declared?

    "No alternate template is specified for the Template 'xboxist'"

  • oh think I found it! mt-config.cgi

    as always. look in the obvious. in this case mt/search etc then look in config

  • all done mihai. thread closed. thanks again!

  • You may like to post the solution for others that may have a similar problem.

    Mention about the alt template declaration as a configuration directive inside the mt-config.cgi file and about the template file location.

  • I didn't summarise anything as I did for the last 2 issues, as this one is pretty self explanatory in the thread. But if you get the above search after an upgrade, then update the new mt-config.cgi with the alt template declaration. just search for "search" in the old my-config.cgi and copy over that section to the new config file. Nothing else required.

  • I know that it is self explanatory, but there could be some users that would need more guidance :)

    With your comments and mine one should be able to follow the procedure now.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012