[symfony-users] Re: After installing sfPropel15Plugin: error when i try to build classes

2011-01-20 Thread ferdjuan
That fixed it for me thanks, I also found the same fix Francois
posted:

http://www.phpforum.com.ar/index.php?action=printpage;topic=300.0

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: After installing sfPropel15Plugin: error when i try to build classes

2011-01-18 Thread Javier Garcia
Sorry, I was commeting/removing also this line below in config/
propel.ini:

propel.behavior.default = symfony,symfony_i18n

Javier


On Jan 17, 10:15 pm, Gabriel Petchesi pghora...@gmail.com wrote:
 Check the autoloader cache, it's found in cache/.
 In my app is cache/frontend/dev/config/config_autoload.yml.php
 Look for a class related to Propel like sfpropelroute and make sure the path
 listed there is the one from the
 plugins/sfPropel15Plugin/lib/routing/sfPropelRoute.class.php.
 If it's something different than it means the classes are not found for some
 reason.

    gabriel

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: After installing sfPropel15Plugin: error when i try to build classes

2011-01-17 Thread Javier Garcia
?php

require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/
sfCoreAutoload.class.php';
sfCoreAutoload::register();

class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
//$this-enablePlugins('sfPropelPlugin');
$this-enablePlugins('sfPropel15Plugin');
  }
}

And I did plugin:publish-assets.

Javier

On Jan 13, 5:53 pm, Gabriel Petchesi pghora...@gmail.com wrote:
 Do you have propel 1.5 plugin activated in
 config/ProjectConfiguration.class.php ?
 The getUniqueColumnNames() shows up with propel 1.5 and was not available
 with propel 1.4 shiped with Symfony (double check this).

     gabriel

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: After installing sfPropel15Plugin: error when i try to build classes

2011-01-17 Thread Gabriel Petchesi
Check the autoloader cache, it's found in cache/.
In my app is cache/frontend/dev/config/config_autoload.yml.php
Look for a class related to Propel like sfpropelroute and make sure the path 
listed there is the one from the 
plugins/sfPropel15Plugin/lib/routing/sfPropelRoute.class.php.
If it's something different than it means the classes are not found for some 
reason.

   gabriel

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: After installing sfPropel15Plugin: error when i try to build classes

2011-01-13 Thread Javier Garcia
no idea?



On Jan 11, 5:07 pm, Javier Garcia tirengar...@gmail.com wrote:
 Hi,

 when i do propel:build --all-classes i get these errors below.

 I have followed the instructions that are in the README.

 sf 1.4

  schema    converting /home/javier/program...rueba1/config/schema.yml to 
  XML
  schema    putting 
  /home/javier/programazio...eba1/config/generated-schema.xml
  schema    converting /home/javier/program...Plugin/config/schema.yml to 
  XML
  schema    putting 
  /home/javier/programazio...nerated-sfGuardPlugin-schema.xml
  file+     config/generated-sfGuardPlugin-schema.xml
  file-     
  /home/javier/programazione/prueb...nerated-sfGuardPlugin-schema.xml
  propel    Running om phing task
  file-     
  /home/javier/programazione/prueb...nerated-sfGuardPlugin-schema.xml
  file-     /home/javier/programazione/prueba1/config/generated-schema.xml
  autoload  Resetting application autoloaders
  file-     
  /home/javier/programazione/prueb...v/config/config_autoload.yml.php
  propel    generating form classes

 PHP Warning:  call_user_func() expects parameter 1 to be a valid
 callback, class 'sfGuardUserPermissionPeer' does not have a method
 'getUniqueColumnNames' in /home/javier/programazione/prueba1/plugins/
 sfPropel15Plugin/lib/generator/sfPropelFormGenerator.class.php on line
 485
 PHP Stack trace:
 PHP   1. {main}() /home/javier/programazione/prueba1/symfony:0
 PHP   2. include() /home/javier/programazione/prueba1/symfony:14
 PHP   3. sfSymfonyCommandApplication-run() /home/javier/programazione/
 prueba1/lib/vendor/symfony/lib/command/cli.php:20
 PHP   4. sfTask-runFromCLI() /home/javier/programazione/prueba1/lib/
 vendor/symfony/lib/command/sfSymfonyCommandApplication.class.php:76
 PHP   5. sfBaseTask-doRun() /home/javier/programazione/prueba1/lib/
 vendor/symfony/lib/task/sfTask.class.php:97
 PHP   6. sfPropelBuildTask-execute() /home/javier/programazione/
 prueba1/lib/vendor/symfony/lib/task/sfBaseTask.class.php:68
 PHP   7. sfTask-run() /home/javier/programazione/prueba1/plugins/
 sfPropel15Plugin/lib/task/sfPropelBuildTask.class.php:135
 PHP   8. sfBaseTask-doRun() /home/javier/programazione/prueba1/lib/
 vendor/symfony/lib/task/sfTask.class.php:173
 PHP   9. sfPropelBuildFormsTask-execute() /home/javier/programazione/
 prueba1/lib/vendor/symfony/lib/task/sfBaseTask.class.php:68
 PHP  10. sfGeneratorManager-generate() /home/javier/programazione/
 prueba1/plugins/sfPropel15Plugin/lib/task/
 sfPropelBuildFormsTask.class.php:72
 PHP  11. sfPropelFormGenerator-generate() /home/javier/programazione/
 prueba1/lib/vendor/symfony/lib/generator/sfGeneratorManager.class.php:
 113
 PHP  12. sfGenerator-evalTemplate() /home/javier/programazione/
 prueba1/plugins/sfPropel15Plugin/lib/generator/
 sfPropelFormGenerator.class.php:106
 PHP  13. require() /home/javier/programazione/prueba1/lib/vendor/
 symfony/lib/generator/sfGenerator.class.php:84
 PHP  14. sfPropelFormGenerator-getUniqueColumnNames() /home/javier/
 programazione/prueba1/plugins/sfPropel15Plugin/data/generator/
 sfPropelForm/default/template/sfPropelFormGeneratedTemplate.php:34
 PHP  15. call_user_func() /home/javier/programazione/prueba1/plugins/
 sfPropel15Plugin/lib/generator/sfPropelFormGenerator.class.php:485
 PHP Warning:  Invalid argument supplied for foreach() in /home/javier/
 programazione/prueba1/plugins/sfPropel15Plugin/lib/generator/
 sfPropelFormGenerator.class.php on line 485
 PHP Stack trace:
 PHP   1. {main}() /home/javier/programazione/prueba1/symfony:0
 PHP   2. include() /home/javier/programazione/prueba1/symfony:14
 PHP   3. sfSymfonyCommandApplication-run() /home/javier/programazione/
 prueba1/lib/vendor/symfony/lib/command/cli.php:20
 PHP   4. sfTask-runFromCLI() /home/javier/programazione/prueba1/lib/
 vendor/symfony/lib/command/sfSymfonyCommandApplication.class.php:76
 PHP   5. sfBaseTask-doRun() /home/javier/programazione/prueba1/lib/
 vendor/symfony/lib/task/sfTask.class.php:97
 PHP   6. sfPropelBuildTask-execute() /home/javier/programazione/
 prueba1/lib/vendor/symfony/lib/task/sfBaseTask.class.php:68
 PHP   7. sfTask-run() /home/javier/programazione/prueba1/plugins/
 sfPropel15Plugin/lib/task/sfPropelBuildTask.class.php:135
 PHP   8. sfBaseTask-doRun() /home/javier/programazione/prueba1/lib/
 vendor/symfony/lib/task/sfTask.class.php:173
 PHP   9. sfPropelBuildFormsTask-execute() /home/javier/programazione/
 prueba1/lib/vendor/symfony/lib/task/sfBaseTask.class.php:68
 PHP  10. sfGeneratorManager-generate() /home/javier/programazione/
 prueba1/plugins/sfPropel15Plugin/lib/task/
 sfPropelBuildFormsTask.class.php:72
 PHP  11. sfPropelFormGenerator-generate() /home/javier/programazione/
 prueba1/lib/vendor/symfony/lib/generator/sfGeneratorManager.class.php:
 113
 PHP  12. sfGenerator-evalTemplate() /home/javier/programazione/
 prueba1/plugins/sfPropel15Plugin/lib/generator/
 sfPropelFormGenerator.class.php:106
 PHP  13. require() /home/javier/programazione/prueba1/lib/vendor/
 

[symfony-users] Re: After installing sfPropel15Plugin: error when i try to build classes

2011-01-13 Thread Gabriel Petchesi
Do you have propel 1.5 plugin activated in 
config/ProjectConfiguration.class.php ?
The getUniqueColumnNames() shows up with propel 1.5 and was not available 
with propel 1.4 shiped with Symfony (double check this).

gabriel

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en