Scout driver is breaking pages
Created 4 years ago by pepijnHi,
So laravel 5.3 basically comes with Scout, a way to easily search your Eloquent model.
In this project I'm working on, Scout is not really a requirement, so since we're not using it, I don't really care which driver is configured, whether it's null
, or TNTSearch
, as long as it's free.
Using TNTSearch, I frequently get error messages when navigating to a page or saving a model, please see the stacktrace attached: Seems like the table prefix is not always prepended
Using a NULL scout driver, I stop getting these error messages, but cannot use the login functionality; a valid scout driver is expected.
has anyone encountered similar problems or has an idea how I can resolve these errors ? thanks
[img=https://s22.postimg.org/cf15i4zsh/173_Doctrine_DBAL_Driver_PDOException_SQLSTATE.png]
Are you up to date?
@ryanthompson I should be, here's wat my composer.json looks like: https://s22.postimg.org/d4kjc70o1/project_composer_json_067001_puratos_salestool.png
And you get this error during your normal workflow on core addons? Nothing 3rd party custom messing with it?
@ryanthompson Nope! I have signed up for the Algolia free plan, and am using this driver instead (for now). This driver doesn't seem to cause any issues...
What's your environment look like? I've not heard of any problems in this area.
Seems like this wasn't pyrocms-related after all!
Because I don't need Scout for these projects, I can just use a NULL scout driver. This can be achieved as follows:
- Underlying issue: https://github.com/laravel/scout/issues/34
- Solution: https://github.com/laravel/scout/issues/34#issuecomment-259911495
Regarding the issue with TNTSearch... I haven't found any solutions on that one. Nor will I continue looking. 😄 Good luck to anyone reading this thread
I don't believe this is an issue since various updates have been made in the last year.
Seems like this wasn't pyrocms-related after all!
Because I don't need Scout for these projects, I can just use a NULL scout driver. This can be achieved as follows:
Regarding the issue with TNTSearch... I haven't found any solutions on that one. Nor will I continue looking. 😄 Good luck to anyone reading this thread