There were an error in online documentation, it's been fixed. I don't
know what error it was, just try the example from current
documentation.
-- Marek
On 3. Mar., 14:54 h., Peter Bowyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm getting the following error no matter what schema.yml file I
> throw at sfDoctrine - a sample from the sfDoctrinePlugin page, from
> the doctrine manual or even my handwritten yml file ;)
>
> # symfony doctrine-build-sql
> [sfException]
> Unknown field type 's'.
>
> #0
> /var/www/carhire/plugins/sfDoctrinePlugin/lib/doctrine/Doctrine/Cli.php(88):
> Doctrine_Cli->_run(Array)
> #1
> /var/www/carhire/plugins/sfDoctrinePlugin/data/tasks/sfPakeDoctrine.php(737):
> Doctrine_Cli->run(Array)
> #2
> /var/www/carhire/plugins/sfDoctrinePlugin/data/tasks/sfPakeDoctrine.php(228):
> _call_doctrine_cli('generate-sql')
> #3 [internal function]: run_doctrine_build_sql(Object(pakeTask),
> Array, Array)
> #4 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(218):
> call_user_func_array('run_doctrine_bu...', Array)
> #5 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(181):
> pakeTask->execute(Array, Array)
> #6 /usr/share/php/symfony/vendor/pake/pakeApp.class.php(175):
> pakeTask->invoke(Array, Array)
> #7 /usr/share/php/data/symfony/bin/symfony.php(174):
> pakeApp->run(NULL, NULL, false)
> #8 /usr/bin/symfony(39): include('/usr/share/php/...')
> #9 {main}
>
> From the fact I get this with all YAML files I'm thinkng this must
> be a problem in my setup. I'm using symfony via PEAR:
> Installed packages, channel pear.symfony-project.com:
> =====================================================
> Package Version State
> pake 1.1.4 stable
> symfony 1.0.11 stable
>
> And sfDoctrinePlugin was installed this morning according to the
> guide on the wiki page (using branches/1.0)
>
> Having tried different YAML files I'm stuck for ideas as to what is
> causing this problem and how to solve it. Have you any ideas?
>
> Thanks,
> Peter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---