I tried downloading the plugin and installing it directly into the
<project_root>/plugins directory.
I renamed the directory to sfGuardPlugin-3.1.3 to sfGuardPlugin; then
cc'd then did:
$ symfony propel:build-model
$ symfony propel:build-sql
$ symfony propel:build-forms
there, I got the following errors:
Warning: in_array(): Wrong datatype for second argument in /eclipse/
workspace/playtype/plugins/sfGuardPlugin/config/config.php on line 10
Warning: in_array(): Wrong datatype for second argument in /eclipse/
workspace/playtype/plugins/sfGuardPlugin/config/config.php on line 10
Warning: in_array(): Wrong datatype for second argument in /eclipse/
workspace/playtype/plugins/sfGuardPlugin/config/config.php on line 10
that line reads:
if (in_array($module, sfConfig::get('sf_enabled_modules')))
Following is the contents of <myproject>/apps/backend/config/
settings.yml:
I'm using sf 1.2 and trying to do the tutorial attached to that
version
prod:
.settings:
no_script_name: off
logging_enabled: off
dev:
.settings:
error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>
web_debug: on
cache: off
no_script_name: off
etag: off
test:
.settings:
error_reporting: <?php echo ((E_ALL | E_STRICT) ^
E_NOTICE)."\n" ?>
cache: off
web_debug: off
no_script_name: off
etag: off
all:
.actions:
login_module: sfGuardAuth # To be called when a non-
authenticated user
login_action: signin # Tries to access a secure page
secure_module: sfGuardAuth # To be called when a user doesn't
have
secure_action: secure # The credentials required for an action
.settings:
enabled_modules: [default, sfGuardAuth, sfGuardGroup,
sfGuardPermission, sfGuardUser]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---