Hi,

I have a symfony project with two applications: core and manager. They
share a simple model with 8 tables, one of which is called im_client.
This table maps to two classes called Client and ClientPeer.

I'm trying to use the admin generator to build a simple admin inside
manager for this model, so I ran:

symfony propel:generate-admin manager Client --module=client

Everything went fine, no errors but when I go the the new module:

https://dev/manager_dev.php/client

I get this error:

500 | Internal Server Error | sfException
The model class "Client" does not exist.
stack trace
    * at ()
      in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/
generator/sfPropelGenerator.class.php line 155 ...
             152.
             153.     if (!$map)
             154.     {
             155.       throw new sfException(sprintf('The model class
"%s" does not exist.', $this->modelClass));
             156.     }
             157.
             158.     $this->tableMap = $map->getDatabaseMap()-
>getTable(constant(constant($this-
>modelClass.'::PEER').'::TABLE_NAME'));

It looks like the manager application can't find my Client model
class. Anyone knows what might the problem?

Thanks,
Gustavo

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to