symfony
symfony forum
Home » support » General discussion » [Resolved] ERROR: symfony - You must create a schema.xml file
[Resolved] ERROR: symfony - You must create a schema.xml file [message #9545] Fri, 28 July 2006 17:28 Go to next message
vitaille  is currently offline vitaille
Messages: 23
Registered: June 2006
Junior Member
Resolved :
I've just read the weblog and I discover that :

A user installing the last stable version will be unable to work with the online documentation nor the tutorial which reflect the beta version (nighly build).

It's very confusing.

I thought that the doc and the tutorial were updated at each stable release.

So, the schema.yml is not supported by the latest stable version 0.6.3...

I must wait the next stable release or try the beta...

And read the weblog more often ! Rolling Eyes

----------------

Hello,

I'm using symfony 0.6.3, and I try to build my model with a schema.yml file.

I've got this error :

ERROR: symfony - You must create a schema.xml file

In the online documentation, it is said to use a schema.yml rather than an xml file.

In the book, no mention about the schema.yml file...

So what shall I do ?

Write a schema.xml file or write a schema.yml ?

Thanks for any clue...
Vincent.

PS : I've done the tutorial "My first project" with a xml file , and it appear now to use a yml file...
I'm in a complete CONFUSION !!


[Updated on: Fri, 28 July 2006 18:30]

Re: [Resolved] ERROR: symfony - You must create a schema.xml file [message #9667 is a reply to message #9545 ] Tue, 01 August 2006 17:11 Go to previous messageGo to next message
kellyt  is currently offline kellyt
Messages: 30
Registered: May 2006
Member
Yah, it is confuse to me too. Before, in the documentation it says to create tables in the schema.xml but now it says to create tables in the schema.yml. I just wonder if I can still go with the old way (schema.xml)?
Re: [Resolved] ERROR: symfony - You must create a schema.xml file [message #9669 is a reply to message #9545 ] Tue, 01 August 2006 17:26 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 8733
Registered: January 2006
Location: West Midlands, UK
Faithful Member
Yep, the old way still works, and in fact there are some things you still can't do in yaml that you can do in the xml version. The yaml version is designed just to be more compatible with the symfony way of doing things, plus it's more readable too.

I wonder, Francois and Fabien, whether marking the relevant chapter with a big warning (a la askeet) would help newer folks? And could the xml documentation be preserved until the yml schema gets into the stable version? Just a thought...


Remember Gaza
Re: [Resolved] ERROR: symfony - You must create a schema.xml file [message #12323 is a reply to message #9545 ] Mon, 18 September 2006 15:14 Go to previous message
catiger  is currently offline catiger
Messages: 39
Registered: September 2006
Location: Shanghai
Member
I realized that the nightly build version:
symfony version 0.7.1914
doesn't support propel-build-modle from a yml and it will get the "You must create a schema.xml file" error!

is it taken out on purpose? Sad
Previous Topic:object_checkbox_tag checked or not
Next Topic:Fatal Error in sf_control_panel.php
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software