0

I am going through symfony book and trying to do jobeet project(I use propel).. so here what book says

The ORM also generates PHP classes that map table records to objects: $ php symfony propel:build --model The propel:build --model task generates PHP files in the lib/model/ directory that can be used to interact with the database.

I run that command and when i go to lib/ direcotry , there is no model folder :/

2 Answers 2

1

You have to write:

$ php symfony propel:build-model
Sign up to request clarification or add additional context in comments.

8 Comments

paste.org/42362 This is what I get in console... but sill there is no lib/model
Currently I'm working on windows and maybe I misunderstood the path... your path is the project one?
yes..it is directory when I type ls -lah i get all folders like data,lib,web....:)
bosnian@ubuntu:~/dev/organization1/project1/htdocs/web$ well i have all premissions..I use ubuntu server on vm :)
hehe.. in previous tasks I made typing error.. xD that is becouse I <3 GIT :D
|
0

Have you tried this?

sudo ./symfony project:permissions
./symfony project:cc
./symfony propel:build-all-load // this will write to your db as well

otherwise please consider pasting the output of propel:build-model and your symphony version :)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.