After examining the code, I can see two problems.

1) The value of $path is a full path, ending with actions.class.php.
There is not way fo $dir.'/'.$path to form any sort of viable path
name.

2/ The $dir value ends one directory too soon.  The default/template
directory contains a single subdirectory, templates which contains the
generated php files.

How do we resolve these two issues?  Whic part of the code is magic?
Does somepthing magically combine the two path names so that they make
sense?  Does something magically include the templates directory
contents?  What am I missing?

/Joe

On Mar 31, 7:59 am, Joe Kelsey <[EMAIL PROTECTED]> wrote:
> I have gone through all of the listed steps required to generate an
> admin screen to no avail.  I have done the following
>
> symfony generate:project osw
> symfony generate:app admin
> build the schema.yml
> symfony propel:init-admin admin type Type
>
> Then when I try to visit admin_dev.php/type I get:
>
> [sfException]
> Unable to load "C:\PHP\pear\symfony\lib\plugins\sfPropelPlugin\data
> \generator\sfPropelAdmin\default\template\actions\actions.class.php"
> generator template in: C:\Documents and Settings\josephk\osw\data/
> generator/sfPropelAdmin/default/template, C:\PHP\pear\symfony\lib/
> plugins/sfPropelPlugin/data/generator/sfPropelAdmin/default/template.
>
> There is nothing in my data directory.  Should there be a generator
> directory already created there?  I am puzzled.
>
> /Joe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to