problem doctrine:build --model

Discussion around this tutorial for symfony 1.2-1.4

problem doctrine:build --model

Postby evildragon44 » Wed Sep 08, 2010 5:08 pm

Hello,

I start the jobeet tuto for 1 hour and I have a problem. When I use symfony doctrine:build --model, I have an error :

Code: Select all
C:\monsite>symfony doctrine:build --model
>> doctrine  generating model classes
>> file+     C:\Users\Takeo\AppData\Local\Temp/doctrine_schema_41720.yml


  No yml schema found in C:\Users\Takeo\AppData\Local\Temp/doctrine_schema_41720.yml


I don't understand why it doesen't search in C:\monsite\config\doctrine\schema.yml where is the yml of my application.

What is the problem? Thank you
evildragon44
Junior Member
 
Posts: 2
Joined: Wed Sep 08, 2010 4:56 pm

Re: problem doctrine:build --model

Postby claudia_k » Fri Sep 10, 2010 11:32 pm

Apparently symfony (or doctrine) creates a temporary yml file in the temp folder that contains all the single schema.yml files (the one from the project and the ones from any plugins) put together in one file. Unfortunately I do not know why this file is stored in the \AppData\Local\Temp folder (the same happens on my system, where it works fine though).

Maybe you get this error message because this folder is not writeable on your machine? Maybe it is also possible to change the used folder - have a look at your php or apache settings to see what the temp folder settings are.


Good luck

Claudia
claudia_k
Faithful Member
 
Posts: 265
Joined: Mon Jun 21, 2010 8:12 pm
Location: Luxembourg

Re: problem doctrine:build --model

Postby evildragon44 » Tue Sep 14, 2010 7:09 pm

ok i will take a look thx for informations
evildragon44
Junior Member
 
Posts: 2
Joined: Wed Sep 08, 2010 4:56 pm


Return to jobeet

Who is online

Users browsing this forum: No registered users and 0 guests