Hello,
I build my schema.yml file from an existing DB. For one table it looks
like this:
Cities:
tableName: cities
columns:
id:
type: integer(8)
primary: true
sequence: cities_id
name:
type: string(100)
notnull: true
insert_by:
type: string(50)
notnull: true
insert_at:
type: timestamp(25)
notnull: true
regions__id:
type: integer(8)
notnull: true
update_by: string(50)
update_at: timestamp(25)
latitude: decimal(18)
longitude: decimal(18)
images__id: integer(8)
population: integer(8)
relations:
Images:
local: images__id
foreign: id
type: one
Regions:
local: regions__id
foreign: id
type: one
Then I build the model and a module.
When I now try to access this module, I get this error:
Notice: Undefined index: c__regions in
/Users/urkman/Documents/Development/web/htdocs/sites/iTravelSymfony/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator.php
on line 273
Notice: Undefined index: in
/Users/urkman/Documents/Development/web/htdocs/sites/iTravelSymfony/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator.php
on line 274
Fatal error: Call to a member function getFieldName() on a non-object
in
/Users/urkman/Documents/Development/web/htdocs/sites/iTravelSymfony/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator.php
on line 275
I'm all new to symfone and I don't know where to look for this error.
I'm working at the Jobeet Tutorial, there is everything fine. But when
I try my own DB, I get this error...
Hope somebody can Help me :-)
Greetings,
Stefan Sturm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---