Doctrine_Record_UnknownPropertyException

Discussion relating to version 1.3.x and 1.4.x

Doctrine_Record_UnknownPropertyException

Postby suriyakala » Wed Apr 11, 2012 7:07 am

500 | Internal Server Error | Doctrine_Record_UnknownPropertyException
Unknown record property / related component "id" on "Layer"

Hi,

I am new in symfony,i copied the online site to my local drive.i changed the dev environment.the userlogin page display.afterlogin the above error was comming.
what is the problem.i posetd many times.but no body give solution.
plz help me.

schema.yml

country_id: { type: integer }
zone_id: { type: integer }
occupation: { type: string(255) }
education: { type: string(255) }
hobbies: { type: string(255) }
professional_interests: { type: string(255) }
about_me: { type: string(1000) }
alias: { type: string(255), notnull: true }
primary_album_id: { type: integer }
primary_layer_id: { type: integer }
profile_picture_id: { type: integer }
alias_picture_id: { type: integer }
relations:
User: { class: sfGuardUser, local: user_id, foreign: id, onDelete: CASCADE }
Country: { local: country_id, foreign: id, onDelete: SET NULL }
Zone: { local: zone_id, foreign: id, onDelete: SET NULL }
PrimaryAlbum: { class: Album, local: primary_album_id, onDelete: SET NULL }
PrimaryLayer: { class: Layer, local: primary_layer_id, onDelete: SET NULL }
ProfilePicture: { class: Picture, local: profile_picture_id, onDelete: SET NULL }
AliasPicture: { class: Picture, local: alias_picture_id, onDelete: SET NULL }



Layer:
columns:
id: {type: integer, notnull: true }
personal_id: { type: integer, notnull: true }
name: { type: string(255), notnull: true }
picture_id: { type: integer, primary: true }

privacy_setting: { type: string(64), notnull: true }
relations:
Personal: { local: personal_id, foreign: id, onDelete: CASCADE }
suriyakala
Junior Member
 
Posts: 6
Joined: Tue Apr 10, 2012 6:33 am

Return to symfony 1.3 and 1.4

Who is online

Users browsing this forum: No registered users and 5 guests