it's a problem of encoding, make sure your database settings use utf8, and
use utf8_encode/decode to display or write back into the database
--
Vincent
On Jun 20, 2011 1:35 PM, "Jérémy Simonklein"
wrote:
> Sorry, I've founded the solution.
> It came from the accents o
hanks,
--
Vincent
--
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@goog
Maybe it's because he has the intl extension enabled and you don't.
--
Vincent
--
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&
Ops, the forced parameter in the constructor is not a good idea for an
entity :p
--
Vincent
On May 30, 2011 9:29 AM, "Vincent Lechemin"
wrote:
> Hi,
> you could use doctrine events such as preUpdate and prePersist. Then
adding
> the encoder service in the constructor could
Hi,
you could use doctrine events such as preUpdate and prePersist. Then adding
the encoder service in the constructor could be a way to enforce the
encryption. For the fixtures, you have access to the container so it should
not be a problem.
--
Vincent
--
If you want to report a vulnerability
Just use the php function count on the results, it is O(1).
--
Vincent
--
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 po
I'm not sure if it is the right way either, but my way to do this is
to define a custom path for 403 errors,
security:
access_denied_url: /error/403
and then use the custom controller to handle the wanted behavior.
--
Vincent
--
If you want to report a vulnerability issue on sy
I am using the route name to do that and it works most if the time, except
when there is an internal redirection. It is better than the path because it
is not parameter dependant. But I'm still looking for a better way.
--
Vincent
--
If you want to report a vulnerability issue on sy
Thank you very much !
On 11 mai, 08:16, Gábor Fási wrote:
> Overwrite the updateDefaultsFromObject
> function.http://trac.symfony-project.org/browser/branches/1.4/lib/plugins/sfDo...
>
> On Tue, May 10, 2011 at 13:46, Vincent B. wrote:
> > Hi,
>
> > I work with Symfo
yes I did :(
--
Vincent
--
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 sym
efault value is
the mysql date value. I need to format this mysql date with
date_format helper. The problem is that I don't know where can I apply
date_format function to influence the "edit" form.
Any idea ?
Regards,
Vincent B.
--
If you want to report a vulnerability issue on
Try the array access, test.foo[0]
--
Vincent
--
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, sen
Hi,
I'm trying to use the entity type with a OneToMany relationship, but
it's not working.
Is there anything special to do?
Thanks,
--
Vincent
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message b
to do that I redefined the template of the choice list
--
Vincent
--
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 po
for now I'm doing that too, multiple forms with different actions and
javascript to hide, but I was wondering if there was another solution
--
Vincent
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this me
>
> Thanks,
>
Try this:
./app/console assetic:dump -env=prod
--
Vincent
--
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" g
On Thu, May 5, 2011 at 9:41 AM, Manu wrote:
> How does Symfony2 handle inheritance ?
This also interests me, what's the best way to make a form with
inheritance having multiple possibilities for data_class?
--
Vincent
--
If you want to report a vulnerability issue on symfony, please
I found a solution, maybe it could help someone.
It is possible to do that by implementing your own event listener as a
service on the event onSecuritySwitchUser.
You also need to add the services security.context and
security.access.decision_manager as arguments to your service.
--
Vincent
framework
without changing its code.
Because the decision managers don't get asked if the user has all the
role the target user has.
And this listener is the only one called when switching user.
Could anyone point me out how to?
Thanks,
--
Vincent
--
If you want to report a vulnerability is
On Tue, Apr 26, 2011 at 4:00 PM, Vincent Lechemin
wrote:
> 'data' => array('value1' => true, 'value2' => true)
After checking ArrayToBooleanChoicesTransformer, the right way to do it was:
'data' => array('value1', 'value2'
a way to limit that?
Thanks,
--
Vincent
--
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, se
I looked into the code and I found:
$builder->addEventListener(Events::onBindClientData,
function (FilterDataEvent $event) { ... });
Maybe it could help someone :)
--
Vincent
--
If you want to report a vulnerability issue on symfony, please send it to
security at symf
And also, how can I replace the previous preprocessData?
--
Vincent
--
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 po
code but it is always overridden just
before buildView is called.
My way was to set the data in buildForm from ChoiceType so
CheckBoxType has the correct data at the creation.
Could you please hint me on where to look at?
Thanks,
--
Vincent
--
If you want to report a vulnerability issue on sym
=> true)
but I don't know why it is not rendered. It is weird because I don't
see any reference to the option 'data' in the source code.
Thanks for your quick reply,
--
Vincent
--
If you want to report a vulnerability issue on symfony, please send it to
security at symf
On Tue, Apr 26, 2011 at 3:26 PM, Vincent Lechemin
wrote:
> Is there a replacement to the data option with choice field type? It
> allowed to preset data.
Correction, the data option does exist, but it is not shown in the template?
--
Vincent Lechemin
--
If you want to report a vulnera
Hi,
While updating to the new system, I got some problems.
In twig, how can I test if a field has an error?
Is there a replacement to the data option with choice field type? It
allowed to preset data.
Thanks,
--
Vincent
--
If you want to report a vulnerability issue on symfony, please send
On Thu, Apr 21, 2011 at 3:41 PM, melopoeia wrote:
> 'my_filter' => new
> \Twig_Filter_Function('twig_my_new_filter'),
Try this instead:
'my_filter' => new \Twig_Filter_Method($this, 'my_filter'),
--
Vincent Lechemin
--
If
g standard way to do that in order to have a full
inhéritance with agregation of the values from application down to
module level ?
Vincent.
--
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 a
Do you have getters setters for your class?
--
Vincent Lechemin
--
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
You can access it by implementing the interface ContainerAwareInterface
--
Vincent Lechemin
On Mar 24, 2011 12:29 PM, "badllama77" wrote:
> Ok so the scenario is pretty simple, I want to create some dummy users
using
> fixtures, I need to encode their passwords.
> How d
Hi,
On Wed, Mar 23, 2011 at 4:34 PM, Sergi wrote:
> public function getSalt()
> {
> return $this->getId();
> }
Did you encrypt your password with this salt?
--
Vincent
--
If you want to report a vulnerability issue on symfony, please send it to
secu
--
Vincent Lechemin
On Mar 19, 2011 5:44 AM, "Richtermeister" wrote:
> I think the silence is your answer.. we're all suffering from this,
> and I believe the SF2 form system won't have this issue any more.
>
> Daniel
>
>
> On Mar 15, 8:47 p
Did you enable mod_rewrite? Or just check php_error.log
--
Vincent Lechemin
--
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.
Hi all,
During the first stage developpement of my project, I frequently
insert-sql and I would appreciate ignoring the foreign key constraint
checks when importing sql data. I wouls like to benefit from the SQL
FOREIGN_KEY_CHECKS feature somewhere.
Is there a way to either set this globally
Hi !!!
I'm using Sf2 PR2 and PR3
I was looking at the view quick tour
especially the "2.4. Embed other Actions" section
I just copy-paste the snippet of code for embed my fancyAction
but the action helper returns me a "NULL" value.
Am I doing it wrong ?
Is this possibly a bug ?
Thanks !!
See ya
sorry, I sent the message before finishing write it
so, you have my "php code"
And now my html code (just in case)
"
method="post" enctype="multipart/form-data">
" />
Can someone help me please ?
Thanks !
bye !
(my english might be wrong. Sorry...)
--
If you wa
Hi !!
i'm trying to use an upload file action.
I trie my code without Symfony2, and it works fine.
but, when i'm trying to do this winthin Sf2, with the same code, my
move_uploaded_file() function doesn't works.
I have this error "Warning: move_uploaded_file(/egoodealer/web/uploads/
avatar.PNG) [f
Hi !!
i'm trying to use an upload file action.
I trie my code without Symfony2, and it works fine.
but, when i'm trying to do this winthin Sf2, with the same code, my
move_uploaded_file() function doesn't works.
I have this error "Warning: move_uploaded_file(/egoodealer/web/uploads/
avatar.PNG) [f
On 26 juil, 11:49, Fabien Potencier wrote:
> On 7/26/10 11:47 AM, Vincent UNG wrote:
>
> > Hi !
>
> > I'm using Symfony2 for personal project and for fun too !
> > Well... it's more for testing this new version.
>
> > Anyway, I was wondering
Okay, thanks !
On 26 juil, 11:49, Fabien Potencier wrote:
> On 7/26/10 11:47 AM, Vincent UNG wrote:
>
>
>
>
>
> > Hi !
>
> > I'm using Symfony2 for personal project and for fun too !
> > Well... it's more for testing this new version.
>
>
Hi !
I'm using Symfony2 for personal project and for fun too !
Well... it's more for testing this new version.
Anyway, I was wondering, how can I execute a database query inside my
models
Actually, when I create an instance of an object, I give the $this-
>container->getService('database_connect
Thanks a lot Tom
I'm using live now, and It perfectly works !
Thanks again :)
--
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
Hello symfony users !!
I have a problem with symfony and ajax (i'm using jQuery)
When I click on a button, I send an ajax query that load an other
module.
The problem is I can't act on these new element with jQuery, for
example in this new content (load with Ajax) I can't define a $
('selector').c
catch (Exception $e)
{
$conn->rollBack();
throw $e;
}
}"
Did I doing this wrong ?
I guess I don't have to modify Doctrine_Table model... So what can I
do ?
Thanks for helping
Bye~~
Vincent
--
If you want to report a vulnerability
Hi !
I'm using Doctrine and MySQL.
I wrote my schema.yml and tried to generate sql file with symfony
doctrine:build-sql
Here is an example of my schema.yml
Table 1 :
Window:
connection: doctrine
columns:
id_window:
type : integer(2)
Hi !!
In my project, I have many _from that I have to view withou layout (I
already set the $this->setLayout method at false), and I woul like to
include a specific CSS and a specific JS file.
I tried use_javascript('form') and use_stylesheet('form'), maybe I
passed the wrong parameter...
How can
Hello Vincent,
Did you have pear installed ?
You use XAMPP ? What is the directory of XAMPP or apache and php ?
Look php.ini file if "pear" is written and look if the directory is true.
I'm sorry with my english ... I'm French ! :)
Merry Christmas
2009/12/25 Vincent UNG
I already use it with sfFromExtraPlugin, a symfony plugin that let me
to use datepicker of jQuery UI
In the widget class, I set option changeMonth, and changeYear as true.
and I set the option yearRange as '1980:2010' doesn't work...
--
You received this message because you are subscribed to the
Hi, it's me again
I have many field as a date field, actually, I use
sfWidgetFormJQueryDate and sfWidgetFormDate
In my case, this date field is for record the bird date.
But the min value for year is 2004, I can't record a date like
1990/12/12.
How can I change the range of year ?
Thanks !
Pour
Done, it's workt !
Thanks a lot !
--
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.
Fo
Sorry, I use symfony1.3
--
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 opt
Hello
I have a problem with installing a plugin in symfony 1.4
With "php symfony plugin:install sfFormExtraPlugin" I have this
error :
Failed to opening required 'PEAR.php' 'include_path=';C:\php\pear').
And I don't have any folder php in C:\ or pear.
Someone can help me please ?
Thanks
--
You
Hi...
Actually, when I try to execute an action that I don't have
credential, I'm redirect to the default page of symfony.
Can I change this page, or redirect automatically to my login page ?
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To p
Try with method return::sfSuccess and return::sfError (check for
synthax at syfony-project.org, I'm not sure).
So, you can have two differents templates for one action.
Hope I was clear
Bye
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To p
Hi !
First, excuse me for my english, I don't have a very high level...
So, i've already meet this problem before.
You just have to change the value, the parameter of setTemplate()
method, which call the template pasted as a parameter.
For example, if you want to redirect to the index template, ju
the class name. You have the class, you
want to know what you can do with it.
My 2cts,
--
Vincent Jousse
http://www.devorigin.fr
Le 28/09/09 17:03, Lee Bolding a écrit :
> You're all forgetting about http://snippets.symfony-project.org/ which
> has all of these features already.
class name. You have the class, you
want to know what you can do with it.
My 2cts,
--
Vincent Jousse
http://www.devorigin.fr
On 28 sep, 17:03, Lee Bolding wrote:
> You're all forgetting abouthttp://snippets.symfony-project.org/which
> has all of these features already.
>
> All tha
Is there any way to combine sfGuardUserProfile and sfGuardUser into
one from just to make it easy when adding new user?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, s
Let's see this example, 2 objects:
Artist:
id:
user_id:
discographie: longvarchar
User:
id:
name: varchar(255)
Ok, let's imagine, we have a form UserArtistForm.class.php, extending
sfPropelForm for the object User, and with an embeded form Artist.
I found this excellent article :
ht
Hi
Basically, I want to build a distributable application, and one of the
most important feature is
Dynamic configurable profile fields/columns by Admin user (the
application customer)
Let say
site XXX is about business, so the site owner (Admin) would probably
config user profile fields to have
Hi,
I have a problem with Symfony 1.1 and Propel 1.2. In fact, I make an
data load from an old application not made by Symfony and I want to
keep old data's primary keys but it doesn't works!
I use setId() and setPrimaryKey() but Propel automatically
recalculates the primary key when primary key
oh, ok, thanks for the explanation !
===
Cordialement,
Vincent Majer,
Travelinks
Thomas Rabaix a écrit :
> Connection is a reserved class name. you cannot have a class name
> called Connection.
>
> Thomas
>
> On Tue, Sep 23, 2008 at 12:56 PM, Vincent Majer
&
ntend connection Connection
The error shows when i try to call the page :
http://pwdmanager..com/frontend_dev.php/connection/create
I'm using Propel 1.3 plugin.
Where can be the problem ?
--
===
Cordialement,
Vincent Majer,
bject: [symfony-users] Re: start with debug web bar minimized in v1.0.16?
In your layout.php do some logic like:
if SF_ENVIRONMENT == dev
write some javascript to call sfWebDebugToggleMenu() on page load.
endif
On Thu, Jul 24, 2008 at 12:16 AM, Daevid Vincent <[EMAIL PROTECTED]> wrote:
&
How do I put an "AND" clause in the LEFT JOIN statement part?
Symfony/Propel/Whatever wants to put it in the WHERE clause...
This is the SQL I'm trying to re-create:
select *
from team_schedule
left join team_member_schedule
on team_schedule_id = team_schedule.id
and team_
I have this code (symfony 1.0.16):
$start_id = 5;
$end_id = 10;
$c = new Criteria();
$c->addAscendingOrderByColumn(VideoPeer::ID);
$c->add(VideoPeer::ID, $start_id, Criteria::GREATER_EQUAL);
$c->add(VideoPeer::ID, $end_id, Criteria::LESS_EQUAL);
s to $mytotal.
> Look at the partials section here:
> http://www.symfony-project.org/book/1_0/07-Inside-the-View-Layer
>
> I don't mind you discussing symfony's problems and shortcomings, but
> your problems sound a bit premature.
> All frameworks start with a steep le
_field:
> required:
> msg: ""
>
> Then you can easily access the error messages from the FormErrors
> class in your templates.
>
> I'm just trying to be helpful, by the way.
>
> Kris
>
> On Jun 17, 10:01 pm, "Daevid Vincent"
any error messages. This can easily be accomplished with
> the handleErrorFoo() methods.
>
> Kris
>
> On Jun 13, 7:22 pm, "Daevid Vincent" <[EMAIL PROTECTED]> wrote:
> > *sigh*
> >
> > Thanks for the reply Richtermeister. I thought I was pretty
t; To: symfony users
> Subject: [symfony-users] Re: How do I access a validate .yml
> setting in my template?
>
>
> Hi Daevid,
>
> other than parsing the file into an array via the Yaml class I don't
> think you can get to it.
> Out of interest, what are you try
I asked this before and got no real answer. Is this not possible? Can I not
access values of the validate/update.yml file?
-Original Message-
From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Daevid Vincent
Sent: Tuesday, June 03, 2008 1:58 PM
To: symfony-users
email platform needed to
incorporate into our social site
On May 29, 9:24 pm, "Daevid Vincent" <[EMAIL PROTECTED]> wrote:
> Wondering if anyone knows of, or can recommend (or avoid for that matter),
> any kind of web logging (blogging as the kids call it) and / or email
>
m: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Stereo
Sent: Monday, June 02, 2008 5:51 PM
To: symfony users
Subject: [symfony-users] Re: How do I access a validate .yml setting in my
template?
Hi Daevid,
I haven't used it myself but you may want to try this plugin
I asked this before, but got no replies. Surely this is possible no?
I wish to use JS to validate the form first before bogging down my server,
it would be nice to use the same .yml entries rather than hard-code them
into the page.
Sent: Monday, May 19, 2008 7:00 PM
In my modules\user\v
http://mon.itor.us @ 11:57AM PST
The irony.
Mon. itor. us
Error
Internal server error. Please, try later.
BAH BAHHAHA HAHAHAHHAHAHA
Seriously, just install Nagios http://www.nagios.org on a few servers that
point at each other and don't waste your time with thes
FYI:
http://www.e-texteditor.com/
-Original Message-
From: Tom Haskins-Vaughan
I have just started using Vim for my symfony development and so far
(touch wood) I find it very good. (I did try Textmate once and loved it,
but I can't justify buying a Mac for that sole purpose).
--~-
Wondering if anyone knows of, or can recommend (or avoid for that matter),
any kind of web logging (blogging as the kids call it) and / or email
system.
By "email system", I refer to the kind like you'd find on MySpace - compose,
inbox, sent, folders for things like friend requests, comments, etc
Hi,
First, I apologize for my approximate English and I hope you will
understand me!
I have a problem with sfPager and sfPropelActAsTaggableBehaviorPlugin.
I want to retrieve all of items tagged by a keyword. For this, I use
the following code:
$pager = new sfPropelPager('Item', 10);
$c = TagPe
> -Original Message-
> symfony has nice features to deploy your applications and to create
> the database from the schema files etc.
>
> However, once you got data on your production machine its not that
> easy to keep the database layout in sync, so how do you do it ?
>
> Since my symfo
Not to start a holy war, but is there an IDE out there that will work well
with symfony. By that I mean parse the files and show me what my methods are
available, variables, built in symfony helpers, etc. Not just color coding
and that basic crap that any PHP editor will do.
I'm old school and us
In my user/templates/viewSuccess.php I have a block of HTML that I don't
want to show if I'm looking at my own profile (Add friend / Email user).
How can I tell if the user I'm looking at is the one I'm logged in as?
In normal PHP, I'd have saved my user's database ID in a $_SESSION upon
login a
In my template/registerSuccess.php I want to do something like this, however
I am getting undefined method errors for $this (no matter what incantation
I've tried)
All I want to do is have the checkbox checked by default (upon entering the
registration page), but if the user un-checks it, then
I need to create a web page accessible from /editor/foo.php
How can I do that without all the symfony overhead and involvement?
Is there some routing rule I need to add?
Where would I put foo.php then (there is no web directory)?
--~--~-~--~~~---~--~~
In my modules\user\validate\register.yml file I have:
usernameSizeValidator:
class: sfStringValidator
param:
min:4
min_error: Username must be 4 or more characters
max:15
max_error: Username must be 15 or less characters
How can I acce
I'm curious if there is a standard library or practice for form validation
using JS just as there is for PHP. It is sort of baffling to me as to why
symfony would omit something as useful as this.
Seems silly that if symfony knows a form field is required, what kind of
form element it is, what
We have a system where the user puts in an invitation code and then is
redirected to a registration page.
I can't figure out how to prevent this from happening the first time the
user see's the page.
In case the image doesn't go though the list, it is basically.
? Username is required
--Original Message-
> From: symfony-users@googlegroups.com
[mailto:[EMAIL PROTECTED]
> On Behalf Of Daevid Vincent
> Sent: Thursday, May 08, 2008 4:57 PM
> To: symfony-users@googlegroups.com
> Subject: [symfony-users] select_month_tag() not respecting NULL default
>
>
&
I am new to symfony. In some page that already existed, I've been tasked to
fix a bug. There is this block of code:
'margin-left: 10px;')) ?> -
-
'1900',
'year_end'=>'2008', 'include_custom'=>__('Year'))) ?>
But what happens is that when we load the page, the select boxes are all set
to the c
Hi,
Is this a bug or I'm doing something wrong?
This happen to any models or behaviors.
Let say, in sfGuardUserProfile.php, I put below code at the end
sfPropelBehavior::add('sfGuardUserProfile',
array('sfPropelActAsCommentableBehavior'));
Then in command line, I do
symfony propel:build-all-al
I'm new to symphony (but a guru at PHP) and this is my "frist post". I've
been taking the tutorial off and on since 04/21 (between reading the paper
book I purchased and doing my other job duties), and in that time, I've been
frustrated by the number of times the http://www.symfony-project.org/ sit
91 matches
Mail list logo