[symfony-users] ldap authentication

2010-05-20 Thread mirfan
Hi,

I want my application to be authenticated with ldap i have no idea how
i will do that and i am also fresh to symfony, one more thing is that
i have installed and enabled sfGuard plugin but its is not working.

Please help me.

-- 
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] Generated methods in peer class'

2010-05-20 Thread rekarnar
>From http://www.symfony-project.org/cookbook/1_2/en/behaviors:

Unfortunately, as of PHP 5, static method calls cannot be caught by a
__call(). This means that symfony behaviors are not able to add new
methods to the Peer classes.


So my question is, how should I go about adding common methods into my
peer class's?

-- 
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


Re: [symfony-users] Jobeet Day 7: Unable to find the JobeetCategory object with the following parameters "array ( 'slug' => 'design',)").

2010-05-20 Thread Eno
On Thu, 20 May 2010, Tom Haskins-Vaughan wrote:

> Look in your database. Do you have a jobeet_category record with a
> slug 'design'?

In fact, the fixture that loads that category into the database is shown 
in day 3:

http://www.symfony-project.org/jobeet/1_2/Doctrine/en/03#chapter_03_the_initial_data



-- 


-- 
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


Re: [symfony-users] Symfony task with progress bar

2010-05-20 Thread Eno
On Thu, 20 May 2010, Ben Lancaster wrote:

> I've been working on a task to import a load of data from one site to 
> another (>1M records in some cases), I was getting pretty frustrated 
> that I couldn't track the progress very well, so I wrote an extension to 
> sfBaseTask, which I then use as the base class for any task needing a 
> progress bar. It works for me, so I thought I'd share it.

How about packaging it as a plugin ?


-- 


-- 
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


Re: [symfony-users] Jobeet Day 7: Unable to find the JobeetCategory object with the following parameters "array ( 'slug' => 'design',)").

2010-05-20 Thread Tom Haskins-Vaughan
Look in your database. Do you have a jobeet_category record with a
slug 'design'?

On Thu, May 20, 2010 at 2:54 PM, asuarez  wrote:
> Hi.
>
> I finished day 7 of the tutorial (1.4 doctrine) and it's not working,
> I get an 404 error and the message 'Unable to find the JobeetCategory
> object with the following parameters "array ( 'slug' => 'design',)").'
> in my log.
>
> Can somebody help me?
>
> --
> 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
>

-- 
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] Jobeet Day 7: Unable to find the JobeetCategory object with the following parameters "array ( 'slug' => 'design',)").

2010-05-20 Thread asuarez
Hi.

I finished day 7 of the tutorial (1.4 doctrine) and it's not working,
I get an 404 error and the message 'Unable to find the JobeetCategory
object with the following parameters "array ( 'slug' => 'design',)").'
in my log.

Can somebody help me?

-- 
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] Separete embeded form and main form in view

2010-05-20 Thread Ehsan
Hi
i have a form with an embeded form named 'additional'

form is like this :
user[name]
user[last]
user[additional][1]
user[additional][2]

i need to separate these 2 form in template,
currently i user this method , is there a better method for doint it ?



   isHidden() AND strpos($element->renderName(),
$additional) === false): ?>
 renderRow(); ?>
   


i can separate additional by using user[additional] in foreach , but
dont now how for main form

-- 
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] admin i18n doubt

2010-05-20 Thread fRAnKEnSTEin
Hi there,

i have the following in a generator.yml of certain module:

...
...
 config:
  ...
  fields:
  name: { label: Name }
...
...

I have implemented succesfuly i18n in amin generator, but all
"fileds: name: label ..." does not get translated...i have tryed using
sf_admin_xx.xml file including the trasnaltion but not sucess eather.

Any idea?

Cheers

-- 
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: Validating Forms with Dynamic Fields

2010-05-20 Thread Florian
Hi

You can add use the allowExtraformFields method of sfForm


On 20 mai, 17:42, FeelLlikeANut  wrote:
> In my form, I have a field called "type_0", and I have a JavaScript
> button to "Add another type", which copies the first field to make a
> new field called type_1, type_2, type_3, and so on. But this creates a
> problem when I submit and validate the form. I get the form error
> "Unexpected extra form field named 'type_1'", because the symfony form
> object doesn't include those fields.
>
> So my question is how do I handle the situation where JavaScript
> dynamically creates new form fields that are not defined in the form
> object's widget schema?
>
> --
> 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 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
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: Missing parent::configure() in built form filter

2010-05-20 Thread Olivier
Sorry, I forgot to say thank you, it solved my problem nicely.

I'm not sure where I was supposed to find this, though. I didn't find
any mention of setup() in the API or Advanced Forms.

-- 
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


Re: [symfony-users] Using RenderPartial(): the css files are not loaded

2010-05-20 Thread Michał Piotrowski
2010/5/20 Javier Garcia :
> Thanks Michal, but it doesn't work..

It works fine in my rate system.Let's think about it, first I just do
 - it includes rate.css
in add method I render _rate.php partial, that also includes rate.css.

Ok, I guess that rate.css is only included during include_partial...
Maybe you should load your css earlier - before rendering partial.

Regards,
Michal

-- 
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] Validating Forms with Dynamic Fields

2010-05-20 Thread FeelLlikeANut
In my form, I have a field called "type_0", and I have a JavaScript
button to "Add another type", which copies the first field to make a
new field called type_1, type_2, type_3, and so on. But this creates a
problem when I submit and validate the form. I get the form error
"Unexpected extra form field named 'type_1'", because the symfony form
object doesn't include those fields.

So my question is how do I handle the situation where JavaScript
dynamically creates new form fields that are not defined in the form
object's widget schema?

-- 
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


Re: [symfony-users] Using RenderPartial(): the css files are not loaded

2010-05-20 Thread Javier Garcia

Thanks Michal, but it doesn't work..

--

Javi

Ubuntu 8.04 - Symfony 1.3

--
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] usage de ajax dans forms

2010-05-20 Thread abbbassi abidi
bonjour,

j'ai un prob j'ai un form d'un module j'utlise sfWidgetFormDoctrineChoice
mais j'amerai integrer  sfWidgetFormI18nChoiceCountry pour recuperer le name
country
quelqu'un sait comment faire, merci

-- 
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


Re: [symfony-users] How to got the last id from a table, usinf criteria

2010-05-20 Thread Abraham Montilla
you mean using Propel? in Doctrine is as simple as using the getLast()
method after the execute() method.

2010/5/20 kadia 

> I have a problem for getting the last id from a table, I have to use
> criteria for that.
> Thank you
>
> --
> 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
>



-- 
Have a nice day.
Abraham Montilla.

-- 
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: Symfony task with progress bar

2010-05-20 Thread benlancaster
On May 20, 3:37 pm, Jacob Coby  wrote:
> just use `tput cols`.  works on os x and linux and probably anything with 
> ncurses installed.

Duly updated (http://pastebin.com/SarJ5mjP) thanks!

-- 
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


Re: [symfony-users] Symfony task with progress bar

2010-05-20 Thread Jacob Coby
just use `tput cols`.  works on os x and linux and probably anything with 
ncurses installed.

you can also use the ncurses php extension but there is a 99% chance it won't 
be available.

On May 20, 2010, at 10:34 AM, Eno wrote:

> On Thu, 20 May 2010, Ben Lancaster wrote:
> 
>> Last thing - anyone know how I can auto-set the width of the progress 
>> bar from the width of the terminal?
> 
> That probably depends on the OS you're running on. On Linux/UNIX you could 
> use the "stty" command and parse the output to grab that info:
> 
> $ stty -a
> speed 38400 baud; rows 32; columns 270; line = 0;
> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = 
> M-^?; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; 
> werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
> -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
> -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon 
> -ixoff -iuclc ixany imaxbel -iutf8
> opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 
> vt0 ff0
> isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop 
> -echoprt echoctl echoke
> 
> It can also output in a more compact format:
> 
> $ stty -g
> 2b00:3:b0f:5cf:3:1c:7f:15:4:1:ff:0:ff:0:17:12:1a:11:13:16:f:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
> 
> but I dont know what the fields are in this format.
> 
> This seems to work on Mac OS too but the compact format is different (the 
> usual BSDism kick in on Mac).
> 
> 
> 
> -- 
> 
> 
> 
> 
> -- 
> 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

--
Jacob Coby






-- 
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


Re: [symfony-users] Symfony task with progress bar

2010-05-20 Thread Eno
On Thu, 20 May 2010, Ben Lancaster wrote:

> Last thing - anyone know how I can auto-set the width of the progress 
> bar from the width of the terminal?

That probably depends on the OS you're running on. On Linux/UNIX you could 
use the "stty" command and parse the output to grab that info:

$ stty -a
speed 38400 baud; rows 32; columns 270; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = 
M-^?; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; 
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon 
-ixoff -iuclc ixany imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 
vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop 
-echoprt echoctl echoke

It can also output in a more compact format:

$ stty -g
2b00:3:b0f:5cf:3:1c:7f:15:4:1:ff:0:ff:0:17:12:1a:11:13:16:f:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0

but I dont know what the fields are in this format.

This seems to work on Mac OS too but the compact format is different (the 
usual BSDism kick in on Mac).



-- 




-- 
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: make your own widget

2010-05-20 Thread gotango
to answer my own question
i just edited the form template and unseted the date and afterwards i
use the value in the POST to replace the one from the form

Hope i helped someone else with this :)

> hello,
>
> I have created a Symfony site
> but for the form i have mad a date time pickers and now instead of the
> standard widget for date picking i want to show my date time picker
>
> How do i make from this date picker a widget?
>
> Thanks already
> Greatings
>
> --
> 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 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
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] Symfony task with progress bar

2010-05-20 Thread Ben Lancaster

Hi list,

I've been working on a task to import a load of data from one site to 
another (>1M records in some cases), I was getting pretty frustrated 
that I couldn't track the progress very well, so I wrote an extension to 
sfBaseTask, which I then use as the base class for any task needing a 
progress bar. It works for me, so I thought I'd share it.


Here's the class: http://pastebin.com/HLEZqYY9

Steps to integrate:

 1. Create your new task the usual way (symfony generate:task 
[--dir="..."] [--use-database="..."] [--brief-description="..."] task_name)
 2. Edit the new task definition, set it to extend mySfTask rather than 
sfBaseTask

 3. Use the progress bar as follows:

// Here's the loop I'd like to track the progress of:
for($i = 0; $i < 1000; $i++)
{
  $this->progressBar($i,1000);
}

What the progress bar outputs:

 - activity indicator (a single character that cycles through /, -, \ 
and | on each iteration)

 - percentage progress
 - a wget-style progress bar

e.g.:

 -  50% 
[>
]


This should be compatible with sf1.2 and above, but I've only tried it 
with sf1.4 - YMMV.


Last thing - anyone know how I can auto-set the width of the progress 
bar from the width of the terminal?


Thanks,

Ben

--
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] How to got the last id from a table, usinf criteria

2010-05-20 Thread kadia
I have a problem for getting the last id from a table, I have to use
criteria for that.
Thank you

-- 
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


Re: [symfony-users] Using RenderPartial(): the css files are not loaded

2010-05-20 Thread Michał Piotrowski
Hi,

2010/5/20 Javier Garcia :
> Hi,
>
> I have this action below at miembros/actions/actions.class.php:
>
> public function executeFoo(sfWebRequest $request){
>
>    return $this->renderPartial('foo');
>
> }
>
> and in miembros/templates i have _foo.php
>
>
> When i execute it, the css files i have at frontend/config/view.yml are not
> loaded.
>
> No problem if the action is empty and i have a pruebaSuccess.php file.
>
> Any idea?

Just add  to partial.

Regards,
M

-- 
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] Problems with sfDoctrineRouteCollection with custom variables in url

2010-05-20 Thread Popovich
Hi.
Someone can help me on this:
http://forum.symfony-project.org/index.php/t/27400/

-- 
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


Re: [symfony-users] Re: Doctrine documentation is gone??

2010-05-20 Thread Swanand Pagnis
What about 1.0?

On Wed, May 19, 2010 at 4:23 AM, Alessandro Massignan
wrote:

> Hi,
>
> Doctrine documentation is available (they just change the link)... You
> could
> find it at:
>
> * http://www.doctrine-project.org/projects/orm
>
> for both 1.2 and 2.0:
>
> * http://www.doctrine-project.org/projects/orm/1.2/docs/en
> * http://www.doctrine-project.org/projects/orm/2.0/docs/en
>
> have i miss something from you request?
>
>
> Cheers,
> ff
>
> --
> 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
>

-- 
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] Gestion des catégories

2010-05-20 Thread kimou
Bonjour,

Je travaille sur symfony depuis un mois, j'ai une gestion de
catégories, sous catégories,...
Dans l'action list, je veux afficher les catégories en arborescence,
et je veux déplacer les catégories et les ordonner en utilisant le
drag and drop.
Actuellement, j'ai utilisé la solution situé dans l'URL
http://www.lexik.fr/blog/symfony/symfony/nested-set-doctrine-135 mais
dans cette solution il n'y a pas l'ordonnancement entre les catégories
et on ne peut pas déplacer une sous catégorie dans la racine.

Merci beaucoup

Cordialement,

Karim MILADI | Développeur web | Tunisie

-- 
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: help_sfPhpExcelPlugi

2010-05-20 Thread allel benbrahim
Hello
open sfPhpExcel.class.php in ProjectName/plugins/sfPhpExcelPlugin/
sfPhpExcelPlugin-1.0.3/lib/sfPhpExcel.class.php
and keep this code
getProperties()-
>setCreator(sfConfig::get('ex_meta_creator'));
//$this->getProperties()-
>setTitle(sfConfig::get('ex_meta_title'));
//$this->getProperties()-
>setSubject(sfConfig::get('ex_meta_subject'));
//$this->getProperties()-
>setDescription(sfConfig::get('ex_meta_description'));
//$this->getProperties()-
>setKeywords(sfConfig::get('ex_meta_keyword'));
//$this->getProperties()-
>setCategory(sfConfig::get('ex_meta_category'));
//$this->setActiveSheetIndex(0);
//
  }
}

test your exemple by using this ..."php plugins/sfPhpExcelPlugin/
sfPhpExcelPlugin-1.0.3/examples_1_2/01simple.php" and give me your
result
Buy


On 6 mai, 14:43, safa boubekri  wrote:
> hello
>
> because until now i dont resolve  the problem  of  export and import  excel
> file
>
> should you help me
>
> please
>
> thank you a lot
>
> --
> 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 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
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] Using RenderPartial(): the css files are not loaded

2010-05-20 Thread Javier Garcia

Hi,

I have this action below at miembros/actions/actions.class.php:

public function executeFoo(sfWebRequest $request){

return $this->renderPartial('foo');

}

and in miembros/templates i have _foo.php


When i execute it, the css files i have at frontend/config/view.yml are 
not loaded.


No problem if the action is empty and i have a pruebaSuccess.php file.

Any idea?

--

Javi

Ubuntu 8.04 - Symfony 1.3

--
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: sfVideoPlugin

2010-05-20 Thread erka


On May 12, 12:20 am, Winnie  wrote:
> Hello,
>
> I see on the flowplayer websitehttp://flowplayer.org/documentation/index.html
> ( On the bottom ) that any format goes.
> So that's why i wonder if it can read other format thatflv
>
> On 11 mai, 18:23, Eno  wrote:
>
>
>
> > On Tue, 11 May 2010, Winnie wrote:
> > > Does anyone using sfVideoPlugin to embed some video on a website? I
> > > manage to make the example works withflv, but i can't make it work
> > > with others formats...
>
> > Its a flash video player, i.e. I think it only plays flash video (FLV).
>
> > Read the README.
>
> > > So, is there an other plugin to do this?
> > > How can I embed other video format?
>
> > > This is the code who doesn't work ( in comments this is the good
> > > code )
>
> > > //plugins/sfVideoPlugin/modules/sfVideo/templates/indexSuccess.php
> > > [code]
> > > 
> > > 
> > > 
>
> > > 
> > >   
> > >    > > file=test.avi') ?>
> > > 
>
> > > 
> > > [/code]
>
> > > //plugins/sfVideoPlugin/modules/sfVideo/templates/localSuccess.php
> > > [code]
> > > 
> > > 
> > > 
> > > 
> > > 
>
> > > 
>
> > > 
>
> > >     sfVideoPlugin example - powered by Flowplayer
>
> > >     View commented source code to get familiar with Flowplayer
> > > installation.
>
> > >     
> > >     
> > >      > > style="display:block;width:520px;height:330px" id="player">
>
> > >     
> > >     
> > >         flowplayer("player", " > > flowplayer-3.1.5.swf') ?>");
> > >     
>
> > > 
>
> > > 
> > > [/code]
>
> > --
> > 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 
> > athttp://groups.google.com/group/symfony-users?hl=en
>
> --
> 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 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
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] make your own widget

2010-05-20 Thread gotango
hello,

I have created a Symfony site
but for the form i have mad a date time pickers and now instead of the
standard widget for date picking i want to show my date time picker

How do i make from this date picker a widget?

Thanks already
Greatings

-- 
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] error in symfony 2 sandbox on install

2010-05-20 Thread AigerVoid
http://localhost/sandbox/web/check.php
mandatory requirements is ok.

but in...
http://localhost/sandbox/web/index_dev.php/

Warning: DOMDocument::schemaValidateSource()
[domdocument.schemavalidatesource]: Invalid Schema in C:\Program Files
\xampp\htdocs\sandbox\src\vendor\symfony\src\Symfony\Components
\DependencyInjection\Loader\XmlFileLoader.php on line 295

Fatal error: Uncaught exception 'InvalidArgumentException' with
message '[ERROR 1824] Element '{http://www.w3.org/2001/XMLSchema}
import', attribute 'schemaLocation': 'C:/Program Files/xampp/htdocs/
sandbox/src/vendor/symfony/src/Symfony/Components/DependencyInjection/
Loader/schema/dic/services/services-1.0.xsd' is not a valid value of
the atomic type 'xs:anyURI'. (in in_memory_buffer - line 8, column 0)
[ERROR 3037] Element '{http://www.w3.org/2001/XMLSchema}import': The
character content is not a valid value of the atomic type 'xs:anyURI'.
(in in_memory_buffer - line 8, column 0)' in C:\Program Files\xampp
\htdocs\sandbox\src\vendor\symfony\src\Symfony\Components
\DependencyInjection\Loader\XmlFileLoader.php:297 Stack trace: #0 C:
\Program Files\xampp\htdocs\sandbox\src\vendor\symfony\src\Symfony
\Components\DependencyInjection\Loader\XmlFileLoader.php(248): Symfony
\Components\DependencyInjection\Loader\XmlFileLoader-
>validateSchema(Object(DOMDocument), 'C:\Program File...') #1 C:
\Program Files\xampp\htdocs\sandbox\src\vendor in C:\Program Files
\xampp\htdocs\sandbox\src\vendor\symfony\src\Symfony\Components
\DependencyInjection\Loader\XmlFileLoader.php on line 297

What's wrong?

P.S. Apache2, php 5.3.2,Win7


-- 
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] My question about doSelect and Counting Grouped Elemnts

2010-05-20 Thread Germán Pablo Martins
Hi!

I have a Criteria using GroupsByColumn and the thing is I want to show
on the template the number of rows (elements) on every group.
For example I'm grouping by Country fied and on the template I want to
show NameCountry (Number of Elements).

I don't know how to do this.

Could anybody help me please ?

I have this function:

public function generaLinkAmbito(sfWebRequest $peticion)
  {
   $c = new Criteria();
   $cont = new Criteria();

   $c->addJoin(ConvocatoriasPeer::COUNTRY_CODE, CountryPeer::CODE,
Criteria::INNER_JOIN);
   $c->addGroupByColumn(ConvocatoriasPeer::COUNTRY_CODE);

   $links_ambito = ConvocatoriasPeer::doSelect($c);

   $this->links_ambito = $links_ambito;

  }

AND ON THE TEMPLATE:

getPaises()->getDescripcion(),
'convocatorias/index?pais='.$link_ambito->getCodigoPais());
   echo '('. $HERE THE NUMBER OF ROWS].')';
   echo '';
   endforeach; ?>

THANKS A LOT !

-- 
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


Re: [symfony-users] Re: language_backend

2010-05-20 Thread safa boubekri
yes  i put it in the i18n

-- 
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: language_backend

2010-05-20 Thread Tom Ptacnik
Oh, yea, sorry there must be true (not "on") ... I took it from the
old documentation.

Do you have sf_admin.fr.xml in the \apps\Backend\i18n directory now?


On 20 kvě, 11:40, safa boubekri  wrote:
> in my setting.yml,  i  must put
>   true
>
> i dont  kows what is wrong
>
> --
> 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 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
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: Is there any way to override symfony core class such as sfModelGenerator ?

2010-05-20 Thread Zdanek
I think the only way is to create sfModelGenerator class, copy the
content from old one, add new stuff and make sure it's autoloaded in
the end. However it's bit hackish :-(

T

On 20 Maj, 10:16, Gareth McCumskey  wrote:
> class myNewGeneratorClass extends sfModelGenerator
>
> On Wednesday 19 May 2010 17:09:10 Jérôme TEXIER wrote:
>
> > Hi,
>
> > I would override sfModelGenerator class in order to change renderField
> > method's behavior.
> > Generator stuff is not supported by factories.yml and it looks like
> > there no helpful events I could tweak there.
> > Any idea on how I can have my own sfModelGenerator class ?
>
> > Regards.
>
> > Jérôme
>
> --
> 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 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
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: Question about paths

2010-05-20 Thread Tom Ptacnik
I think you have badly set document_root on you production server.
Don't you? Or something like this...


On 19 kvě, 18:13, Javier Garcia  wrote:
> Hi,
>
> in the cover page (login, register...) of my app i have this line:
>
> 
>
> When i deploy my app, the that css rule is not loaded because, as i can
> see in Firebug, it's looking for that rules 
> inwww.tirengarfio.com/css/formularios.cssinstead 
> ofwww.tiregarfio.com/rs2/web/css/formularios.css.
>
> What should i do?
>
> --
> Javi
>
> Ubuntu 8.04 - Symfony 1.3
>
> --
> 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 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
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


Re: [symfony-users] Re: Routing: frontend_dev.php vs. index.php

2010-05-20 Thread Eno
On Wed, 19 May 2010, Zackary wrote:

> Thanks!  That's exactly the problem. I'm new to all this, so is this
> something that I should have read in the manual, or something I pick
> up along the way (e.g. through bulletin boards), or is there some
> other way?

Its no 'secret', its documented in the getting started guide.
http://www.symfony-project.org/getting-started/1_4/en/



-- 


-- 
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] Probando ysJQueryUIDialog

2010-05-20 Thread Javier Garcia

Hola,

cuando pongo en un template el siguiente código, me aparece la pagina en 
blanco:





 array(
  'selector' => '#btnDialogListener',
  'oneEvent' => 'click'),
'title' => 'Nueva solicitud'),
'style="display:none"')?>

 Hola



 No tengo ningun problema con este otro codigo en el mismo template:

  'Lorem ipsum',
  'modal'  =>  true,
  'buttons'  =>  array('Close'  =>  
like_function(ui_dialog_close('this'))),
  'beforeclose'  =>  like_function("alert('Before Close Dialog');")),
'class="myCustomClass" style=".myCustomStyle"')  ?>

  
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
seddo  eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum
  




Alguna idea?


--
Javi

Ubuntu 8.04 - Symfony 1.3

--
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


Re: [symfony-users] Re: language_backend

2010-05-20 Thread safa boubekri
in my setting.yml,  i  must put
  true


i dont  kows what is wrong

-- 
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: No release available for plugin "atolExt3WidgetPlugin"?

2010-05-20 Thread Florian
Hi,

If you use plugin:install with -s="alpha" ( or beta ) maybe...

But I recommend you to use subversion and include it with
svn:externals:

svn propset svn:externals "atolExt3WidgetPlugin
http://svn.symfony-project.com/plugins/atolExt3WidgetPlugin"; plugins


Another way would to download the package:
http://plugins.symfony-project.org/get/atolExt3WidgetPlugin/atolExt3WidgetPlugin-1.0.4.tgz

Hope it helps.

On 19 mai, 23:12, Fernando Navarro Páez
 wrote:
> Hello!!
>
> I have sf 1.4 andhttp://www.symfony-project.org/plugins/atolExt3WidgetPlugin
> said atolExt3WidgetPlugin  1.0.4 stable  for sf 1.4
>
> plugin:install results No release available for plugin
> "atolExt3WidgetPlugin"
>
> Anyone use it? Any advice?
>
> --
> 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 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
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


Re: [symfony-users] Is there any way to override symfony core class such as sfModelGenerator ?

2010-05-20 Thread Gareth McCumskey
class myNewGeneratorClass extends sfModelGenerator

On Wednesday 19 May 2010 17:09:10 Jérôme TEXIER wrote:
> Hi,
> 
> I would override sfModelGenerator class in order to change renderField
> method's behavior.
> Generator stuff is not supported by factories.yml and it looks like
> there no helpful events I could tweak there.
> Any idea on how I can have my own sfModelGenerator class ?
> 
> Regards.
> 
> Jérôme

-- 
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


Re: [symfony-users] Error Message

2010-05-20 Thread Gareth McCumskey
You seem to have totally ignored the advice you were given. You really should 
spend more time learning how permissions work on a *nix machine before you 
make applications publicly available. Its not hard but its not the same as 
Windows (if thats what you are used to) because *nix machines have distinct 
permissions based on users back when they were first implemented (for security 
reasons) while Windows has only added basic support for this functionality 
very recently.

I didn't start implementing applications onto a web server until I was sure I 
understood the implications of changing file permissions etc and until I was 
confident the sys admin here did that work cos he knew what he was doing. Be 
VERY careful with this kind of setup because you could possibly make your 
entire server totally vulnerable, such as Eno said by sending clear text 
passwords over FTP.

On Thursday 20 May 2010 09:35:56 DEEPAK BHATIA wrote:
> Thanks for the inputs.
> 
> We have installed symfony 1.4.1 on /root directory and /home directory.
> 
> I was creating the project using symfony on /root directory so I was
> getting the problem.
> 
> Then I created the project using symfony on /home directory which worked.
> 
> Thanks once again for your support.
> 
> Regards
> 
> Deepak Bhatia
> 
> On Thu, May 20, 2010 at 12:05 AM, Eno  wrote:
> > On Wed, 19 May 2010, DEEPAK BHATIA wrote:
> > > How do I resolve this ? I am root to the linux while creating
> > > everything.
> > 
> > As a web developer, you ought to be aware of how permissions work on web
> > servers, this is pretty basic stuff.
> > 
> > On Linux/UNIX machines all processes run under their own user IDs
> > generally.
> > This means that a PHP script (e.g. your application) running under some
> > web server software will NOT be running as you. So in order for that
> > application to read/write to a folder you own, that folder needs to have
> > read and/or write permissions to the "other" group (user IDs in
> > Linux/UNIX are grouped into you, your group and "others").
> > 
> > > > > Fatal error: require_once() [function.require]: Failed opening
> > 
> > required
> > 
> > 
> > '/root/sfproject/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php
> > '
> > 
> > Clearly it can't load sfCoreAutoLoad.class.php as shown above and it does
> > say its a permissions problem.
> > 
> > In fact, /root is the login folder for root and its NORMAL for it to be
> > locked down and unreadable to others, so its no wonder your script
> > doesn't work.
> > 
> > And dont even think about changing those folder permissions, because
> > installing an application under /root is a Bad Idea. You should create a
> > normal user account to house your files and install the application under
> > that user's folders not root's. Copying files into /root doesn't give
> > your application root permissions and having to login as root to
> > deploy/update your application instead of a normal user is just asking
> > for trouble.
> > 
> > I hope you're not using FTP, because you just sent the root password
> > for your server as cleartext across the Internet.
> > 
> > To be frank, If you dont understand this stuff or dont want to know then
> > do yourself a favor: hire a real systems admin that knows what he's
> > doing.
> > 
> > 
> > --
> > 
> > 
> > --
> > 
> >  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 > oglegroups.com> For more options, visit this group at
> > http://groups.google.com/group/symfony-users?hl=en

-- 
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


Re: [symfony-users] Error Message

2010-05-20 Thread DEEPAK BHATIA
Thanks for the inputs.

We have installed symfony 1.4.1 on /root directory and /home directory.

I was creating the project using symfony on /root directory so I was getting
the problem.

Then I created the project using symfony on /home directory which worked.

Thanks once again for your support.

Regards

Deepak Bhatia

On Thu, May 20, 2010 at 12:05 AM, Eno  wrote:

> On Wed, 19 May 2010, DEEPAK BHATIA wrote:
>
> > How do I resolve this ? I am root to the linux while creating everything.
>
> As a web developer, you ought to be aware of how permissions work on web
> servers, this is pretty basic stuff.
>
> On Linux/UNIX machines all processes run under their own user IDs
> generally.
> This means that a PHP script (e.g. your application) running under some
> web server software will NOT be running as you. So in order for that
> application to read/write to a folder you own, that folder needs to have
> read and/or write permissions to the "other" group (user IDs in Linux/UNIX
> are grouped into you, your group and "others").
>
> > > > Fatal error: require_once() [function.require]: Failed opening
> required
> > > >
> > >
> '/root/sfproject/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php'
>
> Clearly it can't load sfCoreAutoLoad.class.php as shown above and it does
> say its a permissions problem.
>
> In fact, /root is the login folder for root and its NORMAL for it to be
> locked down and unreadable to others, so its no wonder your script
> doesn't work.
>
> And dont even think about changing those folder permissions, because
> installing an application under /root is a Bad Idea. You should create a
> normal user account to house your files and install the application under
> that user's folders not root's. Copying files into /root doesn't give your
> application root permissions and having to login as root to deploy/update
> your application instead of a normal user is just asking for trouble.
>
> I hope you're not using FTP, because you just sent the root password
> for your server as cleartext across the Internet.
>
> To be frank, If you dont understand this stuff or dont want to know then
> do yourself a favor: hire a real systems admin that knows what he's doing.
>
>
> --
>
>
> --
>  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
>

-- 
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: language_backend

2010-05-20 Thread Tom Ptacnik
Did you set "i18n: on" in config/settings.yml

http://www.symfony-project.org/book/1_2/13-I18n-and-L10n


On 19 kvě, 11:16, safa boubekri  wrote:
> hello  every body
>
> i add in setting.yml of backend
>
>   i18n:            true
>    default_culture:   fr_FR
>    standard_helpers: [Partial, Cache, I18N]
>    charset: utf-8
> and i  add   sf_admin.xml ds  \apps\Backend\i18n
> and the commande
>  symfony i18n:extract frontend fr _FR–auto-save
>
> to  cahge the culture in french but   any  result
>
>    can you help me
>
> thank you
>
> --
> 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 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
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