Comments (3)
this looks like you missed one step. i just removed the database and then did this:
php bin/console doctrine:database:create
php bin/console doctrine:phpcr:init:dbal --force
php bin/console doctrine:phpcr:workspace:create sandbox
php bin/console doctrine:phpcr:repository:init
php bin/console -v doctrine:phpcr:fixtures:load
the error looks to me like you missed the doctrine:phpcr:repository:init step.
from cmf-sandbox.
Thank you David
I'm still having the same problem... I don't know what I'm doing wrong.
I'm using app/config/phpcr_doctrine_dbal.yml.dist file as app/config/phpcr.yml
In the step doctrine:phpcr:workspace:create sandbox
I put default instead sandbox because if not I have this error:
Executing initializer: CmfRoutingBundle
Executing initializer: CmfMenuBundle
[PHPCR\PathNotFoundException]
Item /cms/menu not found in workspace default
I've tried to change phpcr_workspace: default
to sandbox but then I'm still having the first error loading fixtures...
I'm using PHP 7, I don't know if it's important in this case.
from cmf-sandbox.
SOLVED
The problem was in parameters:
I had:
parameters:
locale: en
locales:
- es
- ca
- fr
Now, I've added the default_locale in locales and works:
parameters:
locale: en
locales:
- en
- es
- ca
- fr
from cmf-sandbox.
Related Issues (20)
- PHPCRException: The Id is immutable HOT 3
- Breadcrumb stopped working HOT 1
- Sandbox offline HOT 3
- CMF Sandbox host: "No space left on device" HOT 1
- Session-Error on live sandbox HOT 1
- Interface language vs content language switch is confusing HOT 2
- Segmentation fault on jackrabit build
- Some missing translations HOT 3
- Adjust Directory Structure HOT 1
- Use Enviroment Variables instead of parameters.yml HOT 2
- Introduce Unified Web Controller
- Introduce Make File
- Remove current vagrant box and replace by nix environment HOT 1
- Live Demo not working HOT 2
- Can't access admin backend on sandbox demo
- Exception on admin list pages HOT 1
- Admin panel content edit fails (FatalErrorException) HOT 3
- CMF Sandbox v 2.1: Load doctrine fixtures cause Exception HOT 1
- Doesn't work HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmf-sandbox.