Le 03/05/2011 23:35, Conrad a écrit :
Thanks Jeremy for this detailed explanation :)
Sorry for my late answer, I just had time to focus on this issue
again. First of all, I read the Security User Guide
http://symfony.com/doc/2.0/book/security/users.html#doctrine-entity-provider
several times,
Hi there,
I'd like to ask you guys a question when you have to deal with a VERY
complex query.
Use case:
An e-commerce website with integrated social network. User could have many
friends on that website. For each user, I have to list all products which:
- are marked as featured (sponsored
I just tried it with adding all classes.. with no success...
--
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
Hi,
2011/5/4 passkey1...@gmail.com passkey1...@gmail.com:
Hi there,
I'd like to ask you guys a question when you have to deal with a VERY
complex query.
Use case:
An e-commerce website with integrated social network. User could have many
friends on that website. For each user, I have to
You need to retrieve the specific driver from Microsoft, check this out :
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ccdf728b-1ea0-48a8-a84a-5052214caad9
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received
I've seen your solution, and I like it.
But as this is a very common issue, I thought a better integrated solution
would emerge.
I didn't know that ACL doesn't use the ORM... Quite a problematic issue.
(btw merk, is there any simple way for turning off trees in your bundle, and
just have
I intend on working on a component for the CommentBundle to make it
linear in the near future.
I've got a few ideas on how to achieve it, be it replacing the Tree
object with something else or using a Sorter to achieve it.
Probably wont get to it for a while though.
t
On Wed, May 4, 2011 at
I think that not working under linux.
Somebody use windows for webservers? awesome.
04.05.2011 17:45, winzou :
You need to retrieve the specific driver from Microsoft, check this out
:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ccdf728b-1ea0-48a8-a84a-5052214caad9
--
If you
Hi Michał,
Thank you for your answer. I think that's a good solution. How would you
deal with offset and limit if I want to have a pager?. With the intersection
of multiple arrays, offset does not make sense anymore, doesn't it?
Tuan
2011/5/4 Michał Piotrowski mkkp...@gmail.com
Hi,
2011/5/4
None of my tests use multiple requests, so I haven't run into that
yet. But I'm sure I will at some point.
Thanks for the workaround, it looks like a nice clean fix.
On May 3, 6:03 pm, danielholmes dan...@creatio.com.au wrote:
With the in memory db, I still have the problem of multi request
Hello,
I'm using compass in the AsseticBundle for the CSS's. My question is, in
development it creates a temporary css file but in production it doesn't?
Is there other configuration that i need to do?
Thanks,
Daniel Gomes
m: +351 93 818 57 09
email: daniel.go...@reset.pt
Sorry for offtop,
I have a blog with couple articles about symfony symfony 2 (on
russian, UTF-8). But when Symfony blog quotes adds my article - it
break encoding.
Who can help me with this issue (e.g. Fabien? ))? I'm not sure where
the problem - on my side or blogs aggregator.
Thanks.
--
If
Sorry, i have many articles and translations ))
On 4 май, 16:53, Dmitry Bykadorov dmitry.bykado...@gmail.com wrote:
Sorry for offtop,
I have a blog with couple articles about symfony symfony 2 (on
russian, UTF-8). But when Symfony blog quotes adds my article - it
break encoding.
Who can
Hello list,
How can I retrieve the value of the object (data_class) in my Twig
view for a readonly purpose? In symfony 1 I could use
$form['field']-getValue().
Thanks in advance.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
Hi everyone,
Let me be short. I have a class MainMenu and I want to override the
*renderLink()
*from MenuItem in *MyCustomMenuItem *class, but something is not working
because I have nothing in my output html but the default output.
*In MainMenu extends Menu:*
I tried setting up a custom Client as you explained, but I'm getting
an error complaining that test.client.class: com\frazerbilt\quartz
\Component\Test\Client
I put the new config line in my config_test.yml.
Any ideas what I'm doing wrong?
On May 4, 7:35 am, Donald chekot...@gmail.com wrote:
Screwed up that copy paste!
The correct error is: There is no extension able to load the
configuration for test.client.class
On May 4, 9:30 am, Donald chekot...@gmail.com wrote:
I tried setting up a custom Client as you explained, but I'm getting
an error complaining that test.client.class:
Hi everybody, I have a blog written in symfony 1.4 that I'm going to
rewrite in Sf2. I'm wondering if the following is possible in Sf2 :
Can I have a form, where some fields are shown/hidden according to the
selected field in some combobox ?
Practical example : I have a table, named contents,
I posted this issue on the dev list as well (maybe not the right
place).
I have a ContactInfo entity that has a relationship to a City
entity (ManyToOne). I use an entity type to represent the City in
the form. I also have a state field (US) which is also of the
entity type. When the state is
Hi,
I'm trying to configure a custom test client. I have the class setup,
but I'm getting an error when configuring it in my config file.
I have the following added to the end of my config_test.yml file:
test.client.class: MyProject\MyClient
But I'm getting the following error:
There is no
Yes you can. The actual hiding would be carried out on the client
side with Javascript, by setting the display css attribute of the
field to none.
You would also need to implement proper validation in the Entity
backing the form so that it ignores the additional fields that are not
required for
Le 04/05/2011 17:32, Donald a écrit :
Hi,
I'm trying to configure a custom test client. I have the class setup,
but I'm getting an error when configuring it in my config file.
I have the following added to the end of my config_test.yml file:
test.client.class: MyProject\MyClient
But I'm
Never mind, got an answer here:
http://groups.google.com/group/symfony-users/browse_thread/thread/4c5a298e55653c9b
Thanks again for your help.
On May 4, 9:38 am, Donald chekot...@gmail.com wrote:
Screwed up that copy paste!
The correct error is: There is no extension able to load the
Thanks!
On May 4, 11:03 am, Christophe COEVOET s...@notk.org wrote:
Le 04/05/2011 17:32, Donald a crit :
Hi,
I'm trying to configure a custom test client. I have the class setup,
but I'm getting an error when configuring it in my config file.
I have the following added to the
Hi,
I use a birthday date field in a form, displayed widget option = text .
I want my texfield to display the date like this ex : 31/12/2010 (with 4
digit for the year)
But I can't manage to find the way to make it since the widget can handle
only IntlDateFormatter and the short one is
Le 04/05/2011 18:48, Matt Robinson a écrit :
I've been playing with the PRs for a while, but now that the beta is
out, I want to start a real project (a rewrite of
http://directors.mapofpower.com/
). Is there a best practice way of doing this, and if so, is it worth
making a cookbook entry for
I've been playing with the PRs for a while, but now that the beta is
out, I want to start a real project (a rewrite of
http://directors.mapofpower.com/
). Is there a best practice way of doing this, and if so, is it worth
making a cookbook entry for it? Or am I the only one who doesn't know
what
On Wed, May 4, 2011 at 12:54 PM, Christophe COEVOET s...@notk.org wrote:
Le 04/05/2011 18:48, Matt Robinson a écrit :
I've been playing with the PRs for a while, but now that the beta is
out, I want to start a real project (a rewrite of
http://directors.mapofpower.com/
). Is there a best
Hi,
Try form.vars.value.
Bernhard
--
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
Hey Donald and Friends,
As requested, snippets of the relevant classes:
class ContactInfo {
/**
* @orm:ManyToOne(targetEntity=Cities)
* @orm:JoinColumn(name=city_id, referencedColumnName=city_id)
*/
private $cities;
}
class ContactType extends AbstractType {
public
Hi Daniel,
If you could prepare a PR with such constraints, I'd be happy to merge it.
I would prefer if the constraint had only a single option properties
which is also the default option. In case of LessThan, each property
in that array should be less than all properties after that. So in
Hi Roger,
You should never rely on the form data in your type class (as you've
just discovered). When the form is constructed, you can never be
certain that the data is already available and won't be changed.
In your case, I recommend to add an event listener to the preBind and
preSetData events
You want an advice? Avoid MSSQL at all. Stick on MySQL or pgSQL.
On Wed, 04 May 2011 17:07:41 +0600, apm korja...@gmail.com wrote:
Which driver i must use for doctrine/mssql ?
dbo_sqlsrv ??
I cant start this.
always get.
[PDOException]
could not find driver
08.03.2011
I understand that GoDaddy is not the best webhosting but there are a
lot of clients who use them. It will be very nice if we are able to
solve this issue.
On May 4, 12:06 am, Luis Cordova cordo...@gmail.com wrote:
oppps oh no sorry scratch that, I just recalled that I had problems
because they
Hey,
I was having some trouble running the BETA for symfony2 getting this
error:
Request exceeded the limit of 10 internal redirects due to probable
configuration error
This might happen because it's a mac or I use VirtualDocumentRoot
(assumptions)
But putting the following in my .htaccess file
Looks like there is no doctrine:generate:repositories command in
Symfony2 beta1.
Is it removed? How can I generate repostories now?
--
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
See http://www.servergrove.com/sharedhosting
*Jean-Philippe Blais, B. Ing.*
Programmeur analyste sénior
*ZEA Informatique inc. http://www.zinfo.ca*
jphbl...@zinfo.ca
Tel : 514-826-9641
gTalk : jphbl...@gmail.com
Skype :
I'm fairly sure GoDaddy is using PHP 5.2.14, and you'll need 5.3.2 or
higher to run Symfony2 (link:
http://help.godaddy.com/topic/419/article/4180?locale=en
)
I'm using amazon AWS, with a Ubuntu install running on a micro
instance (which means it's somewhere between cheap and free, until I
need
Hi !
i'm currently trying to authenticate users on a symfony2 app.
here is my security.yml : https://gist.github.com/954985
If i use http_basic, a user can login, more precisely, user is logged
in on secured pattern, so i assume my security config is ok. but my
goal is to use form_login (as
SQL is way faster than PHP processing. I would really go for a filtered
join. That's what SQL is there for :)
Just be sure to filter by index and to return a limited resultset.
Sequential scan in PHP has to be ABSOLUTELY avoided :)
Marco Pivetta
@Ocramius http://twitter.com/Ocramius
That is exactly how I have specified the labels for my forms and it
works for me. Have you upgraded to the latest Symfony code?
On May 2, 12:58 pm, Conrad conrad.barthel...@googlemail.com wrote:
I would like to customize my labels for my forms using the 'label' option of
a field, unfortunately
Oh, sorry, forgot to mention that you should use the UNION syntax to fasten
up this stuff a bit. Avoid using OR operator in queries, it almost destroys
every attempt to use an index :)
Marco Pivetta
@Ocramius http://twitter.com/Ocramius
http://marco-pivetta.com
On 4 May 2011 12:21, Marco
Did you try with pdo_dblib?
http://www.php.net/manual/en/ref.pdo-dblib.php
Marco Pivetta
@Ocramius http://twitter.com/Ocramius
http://marco-pivetta.com
On 4 May 2011 13:07, apm korja...@gmail.com wrote:
Which driver i must use for doctrine/mssql ?
dbo_sqlsrv ??
I cant start this.
always
From my point of view, I avoid using NFS it is a performance killer.
symfony project:deploy use rsync and do the right job for me.
JP
*Jean-Philippe Blais, B. Ing.*
Programmeur analyste sénior
*ZEA Informatique inc.
Hi,
I'm having problems when during POST rendering with two forms inside the
same view.
I created two routes, one for GET, one for POST.
GET route create the 2 Forms, and pass them to a Twig view.
POST view create, also, the 2 Forms, but it does bind request, and then
pass to twig template.
Some of your questions were answered in the other thread already. As
for completeness, you can decouple your type form EntityManager by
using a closure in the query_builder option:
'class' = 'Entity:Cities',
'query_builder' = function (EntityRepository $repository) use ($state) {
You must have a typo somewhere. This is working for me.
Bernhard
--
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,
Which errors are you talking about?
Bernhard
--
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
On Tue, May 3, 2011 at 6:32 PM, Laurus laurusgroup@gmail.com wrote:
I understand that GoDaddy is not the best webhosting but there are a
lot of clients who use them. It will be very nice if we are able to
solve this issue.
Solving it is godaddy updates their supported php versions to be
On Wed, May 4, 2011 at 9:58 AM, umpirsky umpir...@gmail.com wrote:
Looks like there is no doctrine:generate:repositories command in
Symfony2 beta1.
Is it removed? How can I generate repostories now?
All it did was make an empty class. If you're using YAML mapping, just put
repositoryClass:
It's now done in the dotrine:generate:entities command.
--
Fabien Potencier
Sensio CEO - Symfony lead developer
sensiolabs.com | symfony.com | fabien.potencier.org
Tél: +33 1 40 99 80 80
On 5/4/11 3:58 PM, umpirsky wrote:
Looks like there is no doctrine:generate:repositories command in
It would be impossible without rewriting it. Symfony2 relies on the wonderful
technology in PHP 5.3+; including namespaces, end Lamba functions.
http://php.net/releases/5_3_0.php
5.3.2 included a TON of security/bug fixes over 5.3.0, and frankly versions
before 5.3.2 had issues compiling on
Hello,
I recently completed the web application on my laptop. Now I need to
push it on production server. Hear is the thing i am planning to do.
Install Symfony on the server and configure the webserver.
Deploy on the production server as mentioned in
Could anyone please share some experience? 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
Hi group :)
i'm searching for a way to describe my database schema like I did in sf1
doctrine 1. I've read there is a way in Doctrine 2 to read a Doctrine 1
schema.yml by using the command doctrine orm:convert-d1-schema but by reading
the Symfony 2 console help I haven't found this command
Thanks very much
On May 3, 8:23 am, Саша Стаменковић umpir...@gmail.com wrote:
{{ path('myroute', {'_locale': app.request.attributes.get('_locale')}) }}
---
Regards,
Saša Stamenković
On Sun, May 1, 2011 at 10:35 AM, robjensen82 robjense...@gmail.com wrote:
Hi there,
I'm in the
On 4 May 2011, at 21:55, Laxmi wrote:
I recently completed the web application on my laptop. Now I need to
push it on production server.
[...]
but my question is how can i create instances of my application like
development, staging, production.
My advice is to set up Apache VHosts on either
Thanks Matt for your reply,
I successfully completed the web application on my laptop. Now I am
pushing it on server. What are the changes i need to do so that my
application runs smoothly on server.
Thanks
On May 4, 2:48 pm, Matt Robinson m...@lazycat.org wrote:
On 4 May 2011, at 21:55, Laxmi
On 4 May 2011, at 23:39, Laxmi wrote:
Thanks Matt for your reply,
I successfully completed the web application on my laptop. Now I am
pushing it on server. What are the changes i need to do so that my
application runs smoothly on server.
You linked to the Jobeet page on deploying - that
2011/5/4 passkey1...@gmail.com passkey1...@gmail.com:
Hi Michał,
Thank you for your answer. I think that's a good solution. How would you
deal with offset and limit if I want to have a pager?. With the intersection
of multiple arrays, offset does not make sense anymore, doesn't it?
Tuan
I do
2011/5/4 Marco Pivetta ocram...@gmail.com:
SQL is way faster than PHP processing. I would really go for a filtered
join. That's what SQL is there for :)
Just be sure to filter by index and to return a limited resultset.
Sequential scan in PHP has to be ABSOLUTELY avoided :)
I'm not sure how
Here's my scenario, I'm not sure what the best way to implement this
is.
I'm creating a party bookings system. Anyone can go to my frontend app
and submit a new booking. Once they're finished, they'll just get a
confirmation screen, they can't edit it. Easy.
Only certain users will be able to
On 4 May 2011, at 23:57, Michał Piotrowski wrote:
2011/5/4 Marco Pivetta ocram...@gmail.com:
SQL is way faster than PHP processing. I would really go for a filtered
join. That's what SQL is there for :)
Just be sure to filter by index and to return a limited resultset.
Sequential scan in
Hi Armaury,
I'm currently having a couple of problems with security myself, so im
not sure if I can answer your whole question. One thing i noticed
though - you should submit your form to /security_check directly
rather than to your /login controller then doing a redirect. The idea
is that the
Sorry i missed your messages, I wish I could just receive emails for
discussions I'm taking part in.
Also I'm sorry about those instructions - I should have been more
specific!
I've ran in to another problem which I thought I'd mention in case you
run in to it too: the sessions are staying
Hi Bernhard,
Yea that sounds good, I'll do it tonight and send across the PR. The
single properties option is a much better idea.
I didn't realise you could put that assert:True on a method as Tim
pointed out - very handy. I think there'll probably be a lot of new
users who would be looking
I would suggest trying something like this:
$request = $this-get('request');
if ($request-getMethod() === 'POST')
{
if ($request-get('login') !== null)
{
$form_login-bindRequest($request);
// Do your login logic here
}
else if
No it's still the beta 1 version.. But glad to know that it should work :)
Then I'll check this up again with the next beta..
--
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
68 matches
Mail list logo