[symfony-users] Re: Problem with YUI autocomplete helper

2010-01-19 Thread Marco V.
P.S. I use the ysfYUI plugin.
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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] Problem with YUI autocomplete helper

2010-01-19 Thread Marco V.
Hi to all, I'm here because I have another problem with the YUI
autocomplete helper.

In my index file (contains in templates folder) I call the helper in
this way:


yui_input_auto_complete_tag('test', "'', 'people/autocomplete', array
('autocomplete' => 'off'), array('use_style' => true));


and in my action file I have a method that receive all the content of
my 'test' input, and return me all the database results each time that
one or more record are presents.
This is my method implementation:


  public function executeAutocomplete(sfWebRequest $request)
  {
$results = Doctrine_Query::create()
->select('p.nome')
->from('Persona p')
->where('p.nome LIKE ?', ''.$request->getParameter('test').'%');
$results->execute();
return $results;
  }


Now the problem is that it don't return me anything, and if I try to
put in my method only a string to return, it don't work anyway. Whit
firebug I saw that in console I have 2 errors and are:
1) YAHOO.widget.LogReader is not a constructor (YUIvar yconsole = new YAHOO.widget.LogReader("yconsole"); );
2) YAHOO.widget.DS_XHR is not a constructor
(YAHOO.util.Event.addListener(window, 'load', function(e) { var
datasourceprova = new YAHOO.widget.DS_XHR('people/autocomplete',
['ResultSet.Result','Title']);).
The first error is present in each page of my web application, while
the second is present only when I try to use autocomplete helper.
Where am I wrong? Can someone help me please?
Thanks to all.
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-18 Thread Marco V.
Seems that I have resolved my problem with this plug-in this morning,
after that I did "symfony cc" in command line... :)
Thanks to all...

On 17 Dic, 13:05, "Marco V."  wrote:
> OK, thank you Stèphane...
> Someone can help me please?
>
> On 17 Dic, 13:01, Stéphane  wrote:
>
> > Well, I forgot it is already recursive on lib directory, so your .php files
> > should be loaded automagically,
> > Don't know what's wrong here
>
> > Before Printing, Think about Your Environmental Responsibility!
> > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > On Thu, Dec 17, 2009 at 12:49 PM, Marco V.  wrote:
> > > My autoload.yml file contains:
> > > autoload:
> > >  # project
> > >  project:
> > >    name:           project
> > >    path:           %SF_LIB_DIR%
> > >    recursive:      on
> > >    exclude:        [model, symfony]
>
> > >  project_model:
> > >    name:           project model
> > >    path:           %SF_LIB_DIR%/model
> > >    recursive:      on
>
> > >  # application
> > >  application:
> > >    name:           application
> > >    path:           %SF_APP_LIB_DIR%
> > >    recursive:      on
>
> > >  modules:
> > >    name:           module
> > >    path:           %SF_APP_DIR%/modules/*/lib
> > >    prefix:         1
> > >    recursive:      on
>
> > > What should I edit?
>
> > > On 17 Dic, 12:37, Stéphane  wrote:
> > > > AFAIK, You might look at the autoload.yml feature of symfony for loading
> > > > files (using recursive option might help too)
>
> > > > Before Printing, Think about Your Environmental Responsibility!
> > > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > > On Thu, Dec 17, 2009 at 12:35 PM, Marco V. 
> > > wrote:
> > > > > Now I have solved last problem, but when I try to call a function of
> > > > > ysfYUI class in my code, I haven't access on it, because it isn't
> > > > > visible... :(
> > > > > The class ysfYUI.class.php is in /lib/vendor/symfony/lib/yui
> > > > > directory.
> > > > > What is the problem?
>
> > > > > P.S. Thank you all so far. :)
>
> > > > > On 17 Dic, 11:28, "Marco V."  wrote:
> > > > > > Sorry... :)
> > > > > > Now I have enabled sfDoctrineGuardPlugin, too, but there is another
> > > > > > error :(
> > > > > > It's:
>
> > > > > > Warning: call_user_func() expects parameter 1 to be a valid 
> > > > > > callback,
> > > > > > class 'sfGuardRouting' not found in C:\sfyproject\lib\vendor\symfony
> > > > > > \lib\event\sfEventDispatcher.class.php on line 77
>
> > > > > > Warning: call_user_func() expects parameter 1 to be a valid 
> > > > > > callback,
> > > > > > class 'sfGuardRouting' not found in C:\sfyproject\lib\vendor\symfony
> > > > > > \lib\event\sfEventDispatcher.class.php on line 77
>
> > > > > > Fatal error: Class 'sfGuardSecurityUser' not found in C:\sfyproject
> > > > > > \apps\frontend\lib\myUser.class.php on line 4
>
> > > > > > On 17 Dic, 11:23, Stéphane  wrote:
>
> > > > > > > So you make use of sfDoctrineGuardPlugin, so add it to the
> > > > > enablePlugins
> > > > > > > array in your porjectConfiguration.
> > > > > > > In fact, foreach dir in plugins, if you want to enable plugin, add
> > > its
> > > > > name
> > > > > > > in the array :)
>
> > > > > > > Before Printing, Think about Your Environmental Responsibility!
> > > > > > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > > > > > On Thu, Dec 17, 2009 at 11:13 AM, Marco V. <
> > > vantaggiat...@gmail.com>
> > > > > wrote:
> > > > > > > > Ok, I changed my line of code with yours, but now i receive this
> > > > > > > > error: Fatal error: Class 'sfGuardSecurityUser' not found in C:
> > > > > > > > \sfyproject\apps\frontend\lib\myUser.class.php on line 4
> > > > > > > > myUser.class.php contains this code:
> > > > 

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
OK, thank you Stèphane...
Someone can help me please?

On 17 Dic, 13:01, Stéphane  wrote:
> Well, I forgot it is already recursive on lib directory, so your .php files
> should be loaded automagically,
> Don't know what's wrong here
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> On Thu, Dec 17, 2009 at 12:49 PM, Marco V.  wrote:
> > My autoload.yml file contains:
> > autoload:
> >  # project
> >  project:
> >    name:           project
> >    path:           %SF_LIB_DIR%
> >    recursive:      on
> >    exclude:        [model, symfony]
>
> >  project_model:
> >    name:           project model
> >    path:           %SF_LIB_DIR%/model
> >    recursive:      on
>
> >  # application
> >  application:
> >    name:           application
> >    path:           %SF_APP_LIB_DIR%
> >    recursive:      on
>
> >  modules:
> >    name:           module
> >    path:           %SF_APP_DIR%/modules/*/lib
> >    prefix:         1
> >    recursive:      on
>
> > What should I edit?
>
> > On 17 Dic, 12:37, Stéphane  wrote:
> > > AFAIK, You might look at the autoload.yml feature of symfony for loading
> > > files (using recursive option might help too)
>
> > > Before Printing, Think about Your Environmental Responsibility!
> > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > On Thu, Dec 17, 2009 at 12:35 PM, Marco V. 
> > wrote:
> > > > Now I have solved last problem, but when I try to call a function of
> > > > ysfYUI class in my code, I haven't access on it, because it isn't
> > > > visible... :(
> > > > The class ysfYUI.class.php is in /lib/vendor/symfony/lib/yui
> > > > directory.
> > > > What is the problem?
>
> > > > P.S. Thank you all so far. :)
>
> > > > On 17 Dic, 11:28, "Marco V."  wrote:
> > > > > Sorry... :)
> > > > > Now I have enabled sfDoctrineGuardPlugin, too, but there is another
> > > > > error :(
> > > > > It's:
>
> > > > > Warning: call_user_func() expects parameter 1 to be a valid callback,
> > > > > class 'sfGuardRouting' not found in C:\sfyproject\lib\vendor\symfony
> > > > > \lib\event\sfEventDispatcher.class.php on line 77
>
> > > > > Warning: call_user_func() expects parameter 1 to be a valid callback,
> > > > > class 'sfGuardRouting' not found in C:\sfyproject\lib\vendor\symfony
> > > > > \lib\event\sfEventDispatcher.class.php on line 77
>
> > > > > Fatal error: Class 'sfGuardSecurityUser' not found in C:\sfyproject
> > > > > \apps\frontend\lib\myUser.class.php on line 4
>
> > > > > On 17 Dic, 11:23, Stéphane  wrote:
>
> > > > > > So you make use of sfDoctrineGuardPlugin, so add it to the
> > > > enablePlugins
> > > > > > array in your porjectConfiguration.
> > > > > > In fact, foreach dir in plugins, if you want to enable plugin, add
> > its
> > > > name
> > > > > > in the array :)
>
> > > > > > Before Printing, Think about Your Environmental Responsibility!
> > > > > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > > > > On Thu, Dec 17, 2009 at 11:13 AM, Marco V. <
> > vantaggiat...@gmail.com>
> > > > wrote:
> > > > > > > Ok, I changed my line of code with yours, but now i receive this
> > > > > > > error: Fatal error: Class 'sfGuardSecurityUser' not found in C:
> > > > > > > \sfyproject\apps\frontend\lib\myUser.class.php on line 4
> > > > > > > myUser.class.php contains this code:
> > > > > > > 
> > > > > > > class myUser extends sfGuardSecurityUser
> > > > > > > {
> > > > > > > }
>
> > > > > > > ?>
>
> > > > > > > On 17 Dic, 11:05, Stéphane  wrote:
> > > > > > > > try not using enableAllPlugins, prefer the white-list approach
> > than
> > > > the
> > > > > > > > black-list one.
> > > > > > > > so try with enablePlugins(array('sfDoctrinePlugin',
> > > > 'sfYUIPlugin'));
> > > > 

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
My autoload.yml file contains:
autoload:
  # project
  project:
name:   project
path:   %SF_LIB_DIR%
recursive:  on
exclude:[model, symfony]

  project_model:
name:   project model
path:   %SF_LIB_DIR%/model
recursive:  on

  # application
  application:
name:   application
path:   %SF_APP_LIB_DIR%
recursive:  on

  modules:
name:   module
path:   %SF_APP_DIR%/modules/*/lib
prefix: 1
recursive:  on

What should I edit?

On 17 Dic, 12:37, Stéphane  wrote:
> AFAIK, You might look at the autoload.yml feature of symfony for loading
> files (using recursive option might help too)
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> On Thu, Dec 17, 2009 at 12:35 PM, Marco V.  wrote:
> > Now I have solved last problem, but when I try to call a function of
> > ysfYUI class in my code, I haven't access on it, because it isn't
> > visible... :(
> > The class ysfYUI.class.php is in /lib/vendor/symfony/lib/yui
> > directory.
> > What is the problem?
>
> > P.S. Thank you all so far. :)
>
> > On 17 Dic, 11:28, "Marco V."  wrote:
> > > Sorry... :)
> > > Now I have enabled sfDoctrineGuardPlugin, too, but there is another
> > > error :(
> > > It's:
>
> > > Warning: call_user_func() expects parameter 1 to be a valid callback,
> > > class 'sfGuardRouting' not found in C:\sfyproject\lib\vendor\symfony
> > > \lib\event\sfEventDispatcher.class.php on line 77
>
> > > Warning: call_user_func() expects parameter 1 to be a valid callback,
> > > class 'sfGuardRouting' not found in C:\sfyproject\lib\vendor\symfony
> > > \lib\event\sfEventDispatcher.class.php on line 77
>
> > > Fatal error: Class 'sfGuardSecurityUser' not found in C:\sfyproject
> > > \apps\frontend\lib\myUser.class.php on line 4
>
> > > On 17 Dic, 11:23, Stéphane  wrote:
>
> > > > So you make use of sfDoctrineGuardPlugin, so add it to the
> > enablePlugins
> > > > array in your porjectConfiguration.
> > > > In fact, foreach dir in plugins, if you want to enable plugin, add its
> > name
> > > > in the array :)
>
> > > > Before Printing, Think about Your Environmental Responsibility!
> > > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > > On Thu, Dec 17, 2009 at 11:13 AM, Marco V. 
> > wrote:
> > > > > Ok, I changed my line of code with yours, but now i receive this
> > > > > error: Fatal error: Class 'sfGuardSecurityUser' not found in C:
> > > > > \sfyproject\apps\frontend\lib\myUser.class.php on line 4
> > > > > myUser.class.php contains this code:
> > > > > 
> > > > > class myUser extends sfGuardSecurityUser
> > > > > {
> > > > > }
>
> > > > > ?>
>
> > > > > On 17 Dic, 11:05, Stéphane  wrote:
> > > > > > try not using enableAllPlugins, prefer the white-list approach than
> > the
> > > > > > black-list one.
> > > > > > so try with enablePlugins(array('sfDoctrinePlugin',
> > 'sfYUIPlugin'));
> > > > > > Then symfony cc
>
> > > > > > Before Printing, Think about Your Environmental Responsibility!
> > > > > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > > > > On Thu, Dec 17, 2009 at 10:53 AM, Marco V. <
> > vantaggiat...@gmail.com>
> > > > > wrote:
> > > > > > > It's alredy enabled because in my ProjectConfiguration.class.php
> > there
> > > > > > > is this line of code: $this->enableAllPluginsExcept(array
> > > > > > > ('sfPropelPlugin', 'sfCompat10Plugin'));
> > > > > > > but don't working... :(
> > > > > > > I checked also that the file ysfYUIView is present in
> > C:\sfyproject\lib
> > > > > > > \vendor\symfony\lib\view and it's true.
> > > > > > > Encounter problems with this plugin from 2 days and i'm
> > hopeless... :(
>
> > > > > > > On 17 Dic, 10:45, Stéphane  wrote:
> > > > > > > > Since you have downloaded the content in your plugins dir, you
> > just
> >

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
Now I have solved last problem, but when I try to call a function of
ysfYUI class in my code, I haven't access on it, because it isn't
visible... :(
The class ysfYUI.class.php is in /lib/vendor/symfony/lib/yui
directory.
What is the problem?

P.S. Thank you all so far. :)

On 17 Dic, 11:28, "Marco V."  wrote:
> Sorry... :)
> Now I have enabled sfDoctrineGuardPlugin, too, but there is another
> error :(
> It's:
>
> Warning: call_user_func() expects parameter 1 to be a valid callback,
> class 'sfGuardRouting' not found in C:\sfyproject\lib\vendor\symfony
> \lib\event\sfEventDispatcher.class.php on line 77
>
> Warning: call_user_func() expects parameter 1 to be a valid callback,
> class 'sfGuardRouting' not found in C:\sfyproject\lib\vendor\symfony
> \lib\event\sfEventDispatcher.class.php on line 77
>
> Fatal error: Class 'sfGuardSecurityUser' not found in C:\sfyproject
> \apps\frontend\lib\myUser.class.php on line 4
>
> On 17 Dic, 11:23, Stéphane  wrote:
>
> > So you make use of sfDoctrineGuardPlugin, so add it to the enablePlugins
> > array in your porjectConfiguration.
> > In fact, foreach dir in plugins, if you want to enable plugin, add its name
> > in the array :)
>
> > Before Printing, Think about Your Environmental Responsibility!
> > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > On Thu, Dec 17, 2009 at 11:13 AM, Marco V.  wrote:
> > > Ok, I changed my line of code with yours, but now i receive this
> > > error: Fatal error: Class 'sfGuardSecurityUser' not found in C:
> > > \sfyproject\apps\frontend\lib\myUser.class.php on line 4
> > > myUser.class.php contains this code:
> > > 
> > > class myUser extends sfGuardSecurityUser
> > > {
> > > }
>
> > > ?>
>
> > > On 17 Dic, 11:05, Stéphane  wrote:
> > > > try not using enableAllPlugins, prefer the white-list approach than the
> > > > black-list one.
> > > > so try with enablePlugins(array('sfDoctrinePlugin', 'sfYUIPlugin'));
> > > > Then symfony cc
>
> > > > Before Printing, Think about Your Environmental Responsibility!
> > > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > > On Thu, Dec 17, 2009 at 10:53 AM, Marco V. 
> > > wrote:
> > > > > It's alredy enabled because in my ProjectConfiguration.class.php there
> > > > > is this line of code: $this->enableAllPluginsExcept(array
> > > > > ('sfPropelPlugin', 'sfCompat10Plugin'));
> > > > > but don't working... :(
> > > > > I checked also that the file ysfYUIView is present in 
> > > > > C:\sfyproject\lib
> > > > > \vendor\symfony\lib\view and it's true.
> > > > > Encounter problems with this plugin from 2 days and i'm hopeless... :(
>
> > > > > On 17 Dic, 10:45, Stéphane  wrote:
> > > > > > Since you have downloaded the content in your plugins dir, you just
> > > have
> > > > > to
> > > > > > enable it in your projectConfiguration.class.php by adding a command
> > > like
> > > > > > $this->enablePlugins(array(...other pulgins, $pluginName))
>
> > > > > > :)
>
> > > > > > Before Printing, Think about Your Environmental Responsibility!
> > > > > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > > > > On Thu, Dec 17, 2009 at 10:43 AM, Marco V. 
> > > > > wrote:
> > > > > > > Ok, I have installed tortoise svn and I have downloaded all
> > > contents
> > > > > > > of this link:
> > > > > > >http://svn.symfony-project.com/plugins/ysfYUIPlugin/branches/1.2/
> > > > > > > in plugins directory.
> > > > > > > So I tried to execute "symfony plugin:install ysfYUIPlugin" in
> > > command
> > > > > > > line, but it return me the same message.
> > > > > > > I tried also to copy manually all ysfYUIPlugin contents directory
> > > in
> > > > > > > their destination directory, but when i type my address web
> > > > > > > application into the browser, I read this message: "Fatal error:
> > > Class
> > > > > > > 'ysfYUIView' not found in C:\sfyproject\lib\vendor\symfony\lib
> > > > > > > \controller\sfCont

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
Sorry... :)
Now I have enabled sfDoctrineGuardPlugin, too, but there is another
error :(
It's:

Warning: call_user_func() expects parameter 1 to be a valid callback,
class 'sfGuardRouting' not found in C:\sfyproject\lib\vendor\symfony
\lib\event\sfEventDispatcher.class.php on line 77

Warning: call_user_func() expects parameter 1 to be a valid callback,
class 'sfGuardRouting' not found in C:\sfyproject\lib\vendor\symfony
\lib\event\sfEventDispatcher.class.php on line 77

Fatal error: Class 'sfGuardSecurityUser' not found in C:\sfyproject
\apps\frontend\lib\myUser.class.php on line 4

On 17 Dic, 11:23, Stéphane  wrote:
> So you make use of sfDoctrineGuardPlugin, so add it to the enablePlugins
> array in your porjectConfiguration.
> In fact, foreach dir in plugins, if you want to enable plugin, add its name
> in the array :)
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> On Thu, Dec 17, 2009 at 11:13 AM, Marco V.  wrote:
> > Ok, I changed my line of code with yours, but now i receive this
> > error: Fatal error: Class 'sfGuardSecurityUser' not found in C:
> > \sfyproject\apps\frontend\lib\myUser.class.php on line 4
> > myUser.class.php contains this code:
> > 
> > class myUser extends sfGuardSecurityUser
> > {
> > }
>
> > ?>
>
> > On 17 Dic, 11:05, Stéphane  wrote:
> > > try not using enableAllPlugins, prefer the white-list approach than the
> > > black-list one.
> > > so try with enablePlugins(array('sfDoctrinePlugin', 'sfYUIPlugin'));
> > > Then symfony cc
>
> > > Before Printing, Think about Your Environmental Responsibility!
> > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > On Thu, Dec 17, 2009 at 10:53 AM, Marco V. 
> > wrote:
> > > > It's alredy enabled because in my ProjectConfiguration.class.php there
> > > > is this line of code: $this->enableAllPluginsExcept(array
> > > > ('sfPropelPlugin', 'sfCompat10Plugin'));
> > > > but don't working... :(
> > > > I checked also that the file ysfYUIView is present in C:\sfyproject\lib
> > > > \vendor\symfony\lib\view and it's true.
> > > > Encounter problems with this plugin from 2 days and i'm hopeless... :(
>
> > > > On 17 Dic, 10:45, Stéphane  wrote:
> > > > > Since you have downloaded the content in your plugins dir, you just
> > have
> > > > to
> > > > > enable it in your projectConfiguration.class.php by adding a command
> > like
> > > > > $this->enablePlugins(array(...other pulgins, $pluginName))
>
> > > > > :)
>
> > > > > Before Printing, Think about Your Environmental Responsibility!
> > > > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > > > On Thu, Dec 17, 2009 at 10:43 AM, Marco V. 
> > > > wrote:
> > > > > > Ok, I have installed tortoise svn and I have downloaded all
> > contents
> > > > > > of this link:
> > > > > >http://svn.symfony-project.com/plugins/ysfYUIPlugin/branches/1.2/
> > > > > > in plugins directory.
> > > > > > So I tried to execute "symfony plugin:install ysfYUIPlugin" in
> > command
> > > > > > line, but it return me the same message.
> > > > > > I tried also to copy manually all ysfYUIPlugin contents directory
> > in
> > > > > > their destination directory, but when i type my address web
> > > > > > application into the browser, I read this message: "Fatal error:
> > Class
> > > > > > 'ysfYUIView' not found in C:\sfyproject\lib\vendor\symfony\lib
> > > > > > \controller\sfController.class.php on line 376".
> > > > > > Where I'm wrong?
>
> > > > > > On 16 Dic, 23:32, Stéphane  wrote:
> > > > > > > You can also install subversion client (svn-client or tortoise)
> > and
> > > > try
> > > > > > "svn
> > > > > > > cohttp://
> > > > > > svn.symfony-project.com/plugins/ysfYUIPlugin/path/to/your/plug..."
> > > > > > > in cmd line or right-click>tortoise>checkout or
> > > > > > > maybe playing with svn prop:external(s) in your plugins dir ?
>
> > > > > > > If think this can work afaik.
&

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
Ok, I changed my line of code with yours, but now i receive this
error: Fatal error: Class 'sfGuardSecurityUser' not found in C:
\sfyproject\apps\frontend\lib\myUser.class.php on line 4
myUser.class.php contains this code:


On 17 Dic, 11:05, Stéphane  wrote:
> try not using enableAllPlugins, prefer the white-list approach than the
> black-list one.
> so try with enablePlugins(array('sfDoctrinePlugin', 'sfYUIPlugin'));
> Then symfony cc
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> On Thu, Dec 17, 2009 at 10:53 AM, Marco V.  wrote:
> > It's alredy enabled because in my ProjectConfiguration.class.php there
> > is this line of code: $this->enableAllPluginsExcept(array
> > ('sfPropelPlugin', 'sfCompat10Plugin'));
> > but don't working... :(
> > I checked also that the file ysfYUIView is present in C:\sfyproject\lib
> > \vendor\symfony\lib\view and it's true.
> > Encounter problems with this plugin from 2 days and i'm hopeless... :(
>
> > On 17 Dic, 10:45, Stéphane  wrote:
> > > Since you have downloaded the content in your plugins dir, you just have
> > to
> > > enable it in your projectConfiguration.class.php by adding a command like
> > > $this->enablePlugins(array(...other pulgins, $pluginName))
>
> > > :)
>
> > > Before Printing, Think about Your Environmental Responsibility!
> > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > On Thu, Dec 17, 2009 at 10:43 AM, Marco V. 
> > wrote:
> > > > Ok, I have installed tortoise svn and I have downloaded all contents
> > > > of this link:
> > > >http://svn.symfony-project.com/plugins/ysfYUIPlugin/branches/1.2/
> > > > in plugins directory.
> > > > So I tried to execute "symfony plugin:install ysfYUIPlugin" in command
> > > > line, but it return me the same message.
> > > > I tried also to copy manually all ysfYUIPlugin contents directory in
> > > > their destination directory, but when i type my address web
> > > > application into the browser, I read this message: "Fatal error: Class
> > > > 'ysfYUIView' not found in C:\sfyproject\lib\vendor\symfony\lib
> > > > \controller\sfController.class.php on line 376".
> > > > Where I'm wrong?
>
> > > > On 16 Dic, 23:32, Stéphane  wrote:
> > > > > You can also install subversion client (svn-client or tortoise) and
> > try
> > > > "svn
> > > > > cohttp://
> > > > svn.symfony-project.com/plugins/ysfYUIPlugin/path/to/your/plug..."
> > > > > in cmd line or right-click>tortoise>checkout or
> > > > > maybe playing with svn prop:external(s) in your plugins dir ?
>
> > > > > If think this can work afaik.
>
> > > > > Before Printing, Think about Your Environmental Responsibility!
> > > > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > > > 2009/12/16 Stéphane 
>
> > > > > > Hi,
>
> > > > > > Try in command line "pear download $package_url" ?
>
> > > > > > Before Printing, Think about Your Environmental Responsibility!
> > > > > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > > > > 2009/12/16 Marco V. 
>
> > > > > >> How can I do?
> > > > > >> Everytime that I write in cli symfony plugin:install ysfYUIPlugin,
> > it
> > > > > >> return me this message "No release
> > > > > >> available for plugin "ysfYUIPlugin"" and also many function
> > > > > >> deprecated.
>
> > > > > >> On 16 Dic, 19:55, Alexandru-Emil Lupu 
> > wrote:
> > > > > >> > Why don't u try to download the pear package, if any?
>
> > > > > >> > sent via htc magic
>
> > > > > >> > On Dec 16, 2009 7:20 PM, "Marco V." 
> > > > wrote:
>
> > > > > >> > Sorry, can someone give me the link for downloading
> > "ysfYUIPlugin"?
> > > > > >> > Because I download  it from this link:
> > > > > >>http://svn.symfony-project.org/plugins/ysfYUIPlugin/branches/1.3/
> > > > > >> > but now i checked all folders and

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
It's alredy enabled because in my ProjectConfiguration.class.php there
is this line of code: $this->enableAllPluginsExcept(array
('sfPropelPlugin', 'sfCompat10Plugin'));
but don't working... :(
I checked also that the file ysfYUIView is present in C:\sfyproject\lib
\vendor\symfony\lib\view and it's true.
Encounter problems with this plugin from 2 days and i'm hopeless... :(

On 17 Dic, 10:45, Stéphane  wrote:
> Since you have downloaded the content in your plugins dir, you just have to
> enable it in your projectConfiguration.class.php by adding a command like
> $this->enablePlugins(array(...other pulgins, $pluginName))
>
> :)
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> On Thu, Dec 17, 2009 at 10:43 AM, Marco V.  wrote:
> > Ok, I have installed tortoise svn and I have downloaded all contents
> > of this link:
> >http://svn.symfony-project.com/plugins/ysfYUIPlugin/branches/1.2/
> > in plugins directory.
> > So I tried to execute "symfony plugin:install ysfYUIPlugin" in command
> > line, but it return me the same message.
> > I tried also to copy manually all ysfYUIPlugin contents directory in
> > their destination directory, but when i type my address web
> > application into the browser, I read this message: "Fatal error: Class
> > 'ysfYUIView' not found in C:\sfyproject\lib\vendor\symfony\lib
> > \controller\sfController.class.php on line 376".
> > Where I'm wrong?
>
> > On 16 Dic, 23:32, Stéphane  wrote:
> > > You can also install subversion client (svn-client or tortoise) and try
> > "svn
> > > cohttp://
> > svn.symfony-project.com/plugins/ysfYUIPlugin/path/to/your/plug..."
> > > in cmd line or right-click>tortoise>checkout or
> > > maybe playing with svn prop:external(s) in your plugins dir ?
>
> > > If think this can work afaik.
>
> > > Before Printing, Think about Your Environmental Responsibility!
> > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > 2009/12/16 Stéphane 
>
> > > > Hi,
>
> > > > Try in command line "pear download $package_url" ?
>
> > > > Before Printing, Think about Your Environmental Responsibility!
> > > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > > > 2009/12/16 Marco V. 
>
> > > >> How can I do?
> > > >> Everytime that I write in cli symfony plugin:install ysfYUIPlugin, it
> > > >> return me this message "No release
> > > >> available for plugin "ysfYUIPlugin"" and also many function
> > > >> deprecated.
>
> > > >> On 16 Dic, 19:55, Alexandru-Emil Lupu  wrote:
> > > >> > Why don't u try to download the pear package, if any?
>
> > > >> > sent via htc magic
>
> > > >> > On Dec 16, 2009 7:20 PM, "Marco V." 
> > wrote:
>
> > > >> > Sorry, can someone give me the link for downloading "ysfYUIPlugin"?
> > > >> > Because I download  it from this link:
> > > >>http://svn.symfony-project.org/plugins/ysfYUIPlugin/branches/1.3/
> > > >> > but now i checked all folders and i have noticed that this package
> > is
> > > >> > incomplete compared
> > > >> > to this package:
> > > >>http://trac.symfony-project.org/browser/plugins/ysfYUIPlugin/trunk?re.
> > ..
> > > >> > For example in first package there aren't the helpers, the config
> > > >> > files in config folder, etc...
> > > >> > I tried to download the second link, but I was not able. :(
> > > >> > Is this my problem? How I can download the folder at second link?
> > > >> > Help!!! :( :(
>
> > > >> > On 16 Dic, 16:40, "Marco V."  wrote: > My
> > > >> > ProjectConfiguration class conta...
>
> > > >> --
>
> > > >> You received this message because you are subscribed to the Google
> > Groups
> > > >> "symfony users" group.
> > > >> To post to this group, send email to symfony-us...@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.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "symfony users" group.
> > To post to this group, send email to symfony-us...@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.

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
Ok, I have installed tortoise svn and I have downloaded all contents
of this link: http://svn.symfony-project.com/plugins/ysfYUIPlugin/branches/1.2/
in plugins directory.
So I tried to execute "symfony plugin:install ysfYUIPlugin" in command
line, but it return me the same message.
I tried also to copy manually all ysfYUIPlugin contents directory in
their destination directory, but when i type my address web
application into the browser, I read this message: "Fatal error: Class
'ysfYUIView' not found in C:\sfyproject\lib\vendor\symfony\lib
\controller\sfController.class.php on line 376".
Where I'm wrong?


On 16 Dic, 23:32, Stéphane  wrote:
> You can also install subversion client (svn-client or tortoise) and try "svn
> cohttp://svn.symfony-project.com/plugins/ysfYUIPlugin/path/to/your/plug...";
> in cmd line or right-click>tortoise>checkout or
> maybe playing with svn prop:external(s) in your plugins dir ?
>
> If think this can work afaik.
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> 2009/12/16 Stéphane 
>
> > Hi,
>
> > Try in command line "pear download $package_url" ?
>
> > Before Printing, Think about Your Environmental Responsibility!
> > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > 2009/12/16 Marco V. 
>
> >> How can I do?
> >> Everytime that I write in cli symfony plugin:install ysfYUIPlugin, it
> >> return me this message "No release
> >> available for plugin "ysfYUIPlugin"" and also many function
> >> deprecated.
>
> >> On 16 Dic, 19:55, Alexandru-Emil Lupu  wrote:
> >> > Why don't u try to download the pear package, if any?
>
> >> > sent via htc magic
>
> >> > On Dec 16, 2009 7:20 PM, "Marco V."  wrote:
>
> >> > Sorry, can someone give me the link for downloading "ysfYUIPlugin"?
> >> > Because I download  it from this link:
> >>http://svn.symfony-project.org/plugins/ysfYUIPlugin/branches/1.3/
> >> > but now i checked all folders and i have noticed that this package is
> >> > incomplete compared
> >> > to this package:
> >>http://trac.symfony-project.org/browser/plugins/ysfYUIPlugin/trunk?re...
> >> > For example in first package there aren't the helpers, the config
> >> > files in config folder, etc...
> >> > I tried to download the second link, but I was not able. :(
> >> > Is this my problem? How I can download the folder at second link?
> >> > Help!!! :( :(
>
> >> > On 16 Dic, 16:40, "Marco V."  wrote: > My
> >> > ProjectConfiguration class conta...
>
> >> --
>
> >> You received this message because you are subscribed to the Google Groups
> >> "symfony users" group.
> >> To post to this group, send email to symfony-us...@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.

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
How can I do?
Everytime that I write in cli symfony plugin:install ysfYUIPlugin, it
return me this message "No release
available for plugin "ysfYUIPlugin"" and also many function
deprecated.

On 16 Dic, 19:55, Alexandru-Emil Lupu  wrote:
> Why don't u try to download the pear package, if any?
>
> sent via htc magic
>
> On Dec 16, 2009 7:20 PM, "Marco V."  wrote:
>
> Sorry, can someone give me the link for downloading "ysfYUIPlugin"?
> Because I download  it from this 
> link:http://svn.symfony-project.org/plugins/ysfYUIPlugin/branches/1.3/
> but now i checked all folders and i have noticed that this package is
> incomplete compared
> to this 
> package:http://trac.symfony-project.org/browser/plugins/ysfYUIPlugin/trunk?re...
> For example in first package there aren't the helpers, the config
> files in config folder, etc...
> I tried to download the second link, but I was not able. :(
> Is this my problem? How I can download the folder at second link?
> Help!!! :( :(
>
> On 16 Dic, 16:40, "Marco V."  wrote: > My
> ProjectConfiguration class conta...

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
Sorry, can someone give me the link for downloading "ysfYUIPlugin"?
Because I download  it from this link:
http://svn.symfony-project.org/plugins/ysfYUIPlugin/branches/1.3/
but now i checked all folders and i have noticed that this package is
incomplete compared
to this package: 
http://trac.symfony-project.org/browser/plugins/ysfYUIPlugin/trunk?rev=10317
For example in first package there aren't the helpers, the config
files in config folder, etc...
I tried to download the second link, but I was not able. :(
Is this my problem? How I can download the folder at second link?
Help!!! :( :(

On 16 Dic, 16:40, "Marco V."  wrote:
> My ProjectConfiguration class contains this code, and I think that is
> enable by default.
>
> 
> require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/
> sfCoreAutoload.class.php';
> sfCoreAutoload::register();
>
> class ProjectConfiguration extends sfProjectConfiguration
> {
>   public function setup()
>   {
>     // for compatibility / remove and enable only the plugins you want
>     //$this->enableAllPluginsExcept(array('sfDoctrinePlugin',
> 'sfCompat10Plugin'));
>         $this->enableAllPluginsExcept(array('sfPropelPlugin',
> 'sfCompat10Plugin'));
>   }
>
> }
>
> On 16 Dic, 16:29, Alexandru-Emil Lupu  wrote:
>
> > have you enabled the plugin from config/ProjectConfiguration.class.php ?
>
> > On Wed, Dec 16, 2009 at 5:19 PM, Marco V.  wrote:
> > > Hi, I'm a new user here and I hope to be welcomed. :)
> > > I have some problems to installing and using "ysfYUIPlugin". When i
> > > try to install this plugin, the cli return me this message "No release
> > > available for plugin "ysfYUIPlugin"". I copied ysfYUIPlugin folder in
> > > projectDirectory/plugins but don't working. :(
> > > Can someone help me please?
>
> > > This is my system configuration:
> > > - Windows XP SP2
> > > - EasyPHP 2.0.0.0
> > >   - Apache 2.2.13
> > >   - MySQL 5.1.32
> > >   - PHP 5.3.0
> > > - Symfony v. 1.2.9
> > > - ORM: Doctrine
>
> > > P.S. Sorry for my bad english.
>
> > > --
>
> > > You received this message because you are subscribed to the Google Groups 
> > > "symfony users" group.
> > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > symfony-users+unsubscr...@googlegroups.com.
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/symfony-users?hl=en.
>
> > --
> > Have a nice day!
> > Alecs
>
> > As programmers create bigger & better idiot proof programs, so the
> > universe creates bigger & better idiots!
> > I am on web:  http://www.alecslupu.ro/
> > I am on twitter:http://twitter.com/alecslupu
> > I am on linkedIn:http://www.linkedin.com/in/alecslupu
> > Tel: (+4)0748.543.798

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
My ProjectConfiguration class contains this code, and I think that is
enable by default.

enableAllPluginsExcept(array('sfDoctrinePlugin',
'sfCompat10Plugin'));
$this->enableAllPluginsExcept(array('sfPropelPlugin',
'sfCompat10Plugin'));
  }
}

On 16 Dic, 16:29, Alexandru-Emil Lupu  wrote:
> have you enabled the plugin from config/ProjectConfiguration.class.php ?
>
>
>
> On Wed, Dec 16, 2009 at 5:19 PM, Marco V.  wrote:
> > Hi, I'm a new user here and I hope to be welcomed. :)
> > I have some problems to installing and using "ysfYUIPlugin". When i
> > try to install this plugin, the cli return me this message "No release
> > available for plugin "ysfYUIPlugin"". I copied ysfYUIPlugin folder in
> > projectDirectory/plugins but don't working. :(
> > Can someone help me please?
>
> > This is my system configuration:
> > - Windows XP SP2
> > - EasyPHP 2.0.0.0
> >   - Apache 2.2.13
> >   - MySQL 5.1.32
> >   - PHP 5.3.0
> > - Symfony v. 1.2.9
> > - ORM: Doctrine
>
> > P.S. Sorry for my bad english.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups 
> > "symfony users" group.
> > To post to this group, send email to symfony-us...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > symfony-users+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/symfony-users?hl=en.
>
> --
> Have a nice day!
> Alecs
>
> As programmers create bigger & better idiot proof programs, so the
> universe creates bigger & better idiots!
> I am on web:  http://www.alecslupu.ro/
> I am on twitter:http://twitter.com/alecslupu
> I am on linkedIn:http://www.linkedin.com/in/alecslupu
> Tel: (+4)0748.543.798

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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] Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
Hi, I'm a new user here and I hope to be welcomed. :)
I have some problems to installing and using "ysfYUIPlugin". When i
try to install this plugin, the cli return me this message "No release
available for plugin "ysfYUIPlugin"". I copied ysfYUIPlugin folder in
projectDirectory/plugins but don't working. :(
Can someone help me please?

This is my system configuration:
- Windows XP SP2
- EasyPHP 2.0.0.0
   - Apache 2.2.13
   - MySQL 5.1.32
   - PHP 5.3.0
- Symfony v. 1.2.9
- ORM: Doctrine

P.S. Sorry for my bad english.

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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.