View more context

 

sutherlandesign

@heggsta have tired using the code you provided, getting error when dev/build, saying server error

heggsta

hmmm... I didn't do anything other than restrict the searchable classes by adding FulltextSearchable::enable([SiteTree::class]); (with the appropriate use statements before it) to _config.php... but I thought it would work without that

sutherlandesign

@heggsta here's the error message after did the dev/build

Files: Requires logging in with Slack to view/download
Screen Shot 2018-04-26 at 17.53.01-fullpage.png
Firesphere

Please put your site in dev mode, because just "Server error" is not really helpful

MichalKleiner

hmm, weird behaviour.. when running with ?flush, classes get autoloaded, subsequent request on the same URL without flush, they don’t

Firesphere

Sounds like your cache folder isn't writable, thus, the actual autoload stuff isn't written to the cache