Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [symfony][doctrine] doctrine-generate-crud, nie może znaleźć klasy
grzegorzr
post 3.07.2007, 09:44:23
Post #1





Grupa: Zarejestrowani
Postów: 65
Pomógł: 3
Dołączył: 1.06.2007
Skąd: self::display()

Ostrzeżenie: (0%)
-----


Mój /polites/config/doctrine/schema.yml

Kod
Program:
  tableName: Program
  columns:
    name: {type: string(100)}
    coord: {type: string(3000)}
    watch: {type: string(3000)}
    active: {type: boolean, default: 0}
    created_at: timestamp
    updated_at: timestamp
Html:
  tableName: Html
  columns:
    program_id:
      foreignClass: Program
      cascadeDelete: false
    content: {type: string(3000)}
    created_at: timestamp
    updated_at: timestamp
    active: {type: boolean, default: 0}
Event:
  tableName: Event
  columns:
    program_id:
      foreignClass: Program
      cascadeDelete: true
    name: {type: string(100)}
    content: {type: string(3000)}
    datestart: {type: date}
    dateend: {type: date}
    created_at: timestamp
    updated_at: timestamp


po zbudowaniu modelu i poprawnym załadowaniu do bazy danych
po stworzeniu
/polites/apps/backend,
/polites/apps/backend/module/program,
/polites/apps/backend/module/event,
/polites/apps/backend/module/html

wywołuje:
Kod
symfony doctrine-generate-crud backend event Event

otrzymuje:
Kod
[sfInitializationException]
Unable to scaffold unexistant model "Event"

nie pomaga:
Kod
symfony cc

Gdy zaglądam do /polites/lib/, to mam tam wygenerowane klasy - niczego nie brakuje.

Na forum symfony-project.com i phpdoctrine.net nic nie znalazłem dry.gif

Na razie działam pod WindowsXP. Plugin sfDoctrine jest w wersji 4522.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 27.04.2024 - 10:06