Jump to:

23553 Posts in 19380 Topics by 2892 members

General Questions

SilverStripe Forums » General Questions » Internal server error when searching some terms

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1246 Views
  • Coso
    Avatar
    Community Member
    7 Posts

    Internal server error when searching some terms Link to this post

    I got a website up & running with ss 2.4.0 (I freshly installed it, but loading a database and theme from 2.3.6).

    The strange thing that happens it that search, as implemented in the tutorials and tested on 2.3.6, works fine with most of the words (giving results or giving the no results page), but with some other, always the same, I got an internal server error. I already flushed everything. I don't know if I'd dare modifying the _config.php with the new search function of the 2.4.0, but still can't figure out what can be the problem. Any idea?

    Thank you.

  • Coso
    Avatar
    Community Member
    7 Posts

    Re: Internal server error when searching some terms Link to this post

    well, I tried as explained here http://www.silverstripe.org/general-questions/show/283934?start=0#post283938%23post283938 to add the:

    FulltextSearchable::enable();

    in the _config.php of a local MAMP copy of the live website, the result is the same, only that MAMP keeps loading and doesn't give me the results for some words (one of it is "diamante" )..

  • Coso
    Avatar
    Community Member
    7 Posts

    Re: Internal server error when searching some terms Link to this post

    ok, I suck at testing, 2.3.6 behaves exactly the same, so it's not a matter of 2.4.0, it's in the search itself.

  • martimiz
    Avatar
    Forum Moderator
    1091 Posts

    Re: Internal server error when searching some terms Link to this post

    Did you put SS into developer mode? That might get you a more substantial error message, instead of just the internal server error. In mysite/_config.php:

    Director::set_environment_type('dev');

  • Coso
    Avatar
    Community Member
    7 Posts

    Re: Internal server error when searching some terms Link to this post

    thanks, I tried it but I get no further info, it shows the standard web server response (with serif font etc.), it's not a silverstripe reported kind of error..

    The strange thing is, 2.3.6 on MAMP works fine, 2.3.6 on live server gives the error. 2.4.0 on MAMP doesn't give the error, but doesn't give results either, it just keep loading. 2.4.0 on live server (but a different hosting compnay than where I have the 2.3.6 installed) gives the standard error.

    Must be something related to the hosting, then..

  • martimiz
    Avatar
    Forum Moderator
    1091 Posts

    Re: Internal server error when searching some terms Link to this post

    Strange... You mention searching on 'diamante' gives you the trouble? Even on an empty installation? Or could it have something to do with what's on that page?

    1246 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.