-
-
Notifications
You must be signed in to change notification settings - Fork 530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi site database model #9078
Comments
When you say you are using a database model, do you mean you're using the eloquent-driver add on? Or your own custom one? If it a custom one you'd need to provide a fuller overview of what you've changed. |
Hey, yes sorry for not being clear. Yes I am using the eloquent-driver |
Ok - can you support the full output of |
Environment Cache Drivers Simple Commerce Statamic Statamic Addons Statamic Eloquent Driver |
Seems odd - not seeing that on my side when I use full eloquent. did you migrate from file based content? Might you be able to create a sample repository? From the full stack trace is the issue definitely coming from eloquent driver or might it be coming from Runway or one of the other addons? |
Yes we moved from file based content, although hadn't used the multi-site feature yet so content was not organised into site folders. |
The confusion for me is that the collection store should never be being called, so its odd. |
sure thing
|
Can you put your traces inside backticks next time - otherwise Github tries to link each number to an issue. I can't really see what the issue is - theres nothing eloquent wise thats going on. The only suggestion I can make is for you to remove the files in your content/* folders and run |
Oops sorry, have amend my comment. |
Does this happen on every page or only when you visit the cache utility in the control panel? |
Error was showing when in collections as well as the cache utility. I have removed collection content files and that seemed to fix the issue. |
Out of interest, what does your |
Sure, I dont believe anything has been changed from the default.
|
I'm not quite sure what happened here... you seem to have everything configured as expected. Although, glad that deleting the content files seem to have fixed the issue for you. I'm going to close this issue now - if you're continuing to run into this, comment on this issue and we can re-open. Thanks! |
Bug description
Hey there,
I have a project with multi-site and am using a database model. I am getting the following error when I try to access the frontend / collections or the cache utility.
I believe it is because I am using a database model and it is trying to find the site folder which doesn't exist. But I could be wrong. I am unsure how to fix this, any help would be appreciated.
How to reproduce
Move statamic site to database model
create multi site and set the config
Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response
The text was updated successfully, but these errors were encountered: