On Feb 26, 1:38 am, Colin Williams <[email protected]> wrote:
> I'm not sure what the author of that plugin meant, but the syntax for
> enabling modules is a comma-separated list inside of square brackets.  The
> parenthesis should not be there.
>
> So, for example:
> all:
>   .settings:
>     enabled_modules:       [sfMediaLibrary, default, sfOtherPluginModule]


After I made the previously mentoned change to settings.yml, I started
to get a blank white screen when I tried to view my site in the
browser. All URLs on the site returned a blank white screen. No error
messages. I thought "this must be because of an error in the
settings.yml file". So now I have this in my settings.yml file:

all:
  .settings:
    enabled_modules:        [sfMediaLibrary, default]

Having made this change, I then ran this command at the command line:

php symfony cc

And yet, I am still getting a blank white screen. I assume there is
nothing wrong with my yaml file?

-- lawrence















> On Thu, Feb 26, 2009 at 1:32 AM, Lawrence Krubner 
> <[email protected]>wrote:
>
>
>
> > I am looking at the README section here:
>
> >http://www.symfony-project.org/plugins/sfMediaLibraryPlugin
>
> > I see these 5 lines:
>
> > Enable the new module in your application, via the settings.yml file.
> > // in myproject/apps/frontend/config/settings.yml
> > all:
> >  .settings:
> >    enabled_modules:        [sfMediaLibrary](default,)
>
> > The syntax of that last line seems crazy to me. "default" goes inside
> > of parenthesises, but "sfMediaLibrary" goes inside of square brackets?
> > Why?
>
> > And if I was adding in another plugin module, would I use square
> > brackets or parenthesises?
--~--~---------~--~----~------------~-------~--~----~
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