There is obviously a problem with the service definition. I did not
look deeper in it though because it worked by using the FormFactroy
class in the controller. And I did not need this form as a service
necessarily.
On May 31, 2:40 pm, Sebastian wrote:
> Hi there,
>
> so I created
get'c called from
(don't know if this is possible).
Thanks,
Sebastian
--
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" gro
Hi there,
so I created a project using Symfony2Project.
In my controller I am creating a form using a service.
Service definition:
form.search_form:
class: MyNs\MyBundle\Form\SearchForm
form.stock_search:
class: Symfony\Component\Form\Form
factory_service: form.facto
That's strange, as this happens to me as soon as I add the repeated field. I
don't know what else could cause this behaviour!
--
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
If I use
$this->getResponse()->setHttpHeader('HTTP_X_TRANSACTION','1234'), it won't
work, as this is only valid for the response, not the request (as far as I
can trace it).
Is there a proper way to do this?
Thanks,
Sebastian
--
If you want to report a vul
created_at for the last post, if
there should be a recaptcha. If so, you validate it. If not, you just skip
validation.
I don't know if I got you right, but this would be the way I would implement
it.
Regards,
Sebastian
--
If you want to report a vulnerability issue on symfony, please send
I can submit my form and the form is valid
without any password? When I use form_widget, I must enter 5 characters at
least (MinLength: 5).
I think this are two different topics, as the rendering should not be
related to the validation. Am I right?
Regards,
Sebastian
--
If you want to rep
Hi,
thanks for the info. I should read the blog more often.
Sebastian
--
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
x27;t find anything and I had a look at the
core. All I found was a Component Form, no Bundle. What confuses me is that
the first sentence mentioning symfony2 beta1, which I cannot find anywhere
(neither on the webpage nor the github-repo). Is it just not working with
PR12 or am I doing anyhing
x27;t have access to a page (at least when you're using the
Security-Bundle provided by symfony2).
Sebastian
--
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
nd in the second line
$crawler->filter($selector)->count(). Is there any reason when to use each
one or are they just similar?
Regards,
Sebastian
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message becaus
(or
something similar) and looking for the response code.
Sebastian
--
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
Hi,
please have a look at the jobeet tutorial, day 1 [1] or the docu [2]. The
installation of symfony is covered there as well as the webserver
configuration.
Sebastian
[1] http://www.symfony-project.org/jobeet/1_4/Doctrine/en/01
[2]
http://www.symfony-project.org/gentle-introduction/1_4/en
ation, and then trying
to access http://localhost:8080/employeerecord/index
Maybe you're missing mod_rewrite or some other apache-package. Looking into
the apache log files should give you hints on what is going wrong.
Regards,
Sebastian
--
If you want to report a vulnerability issue on
s module
and the appropiate action. Just have a look at the jobeet tutorial where
this structure is promoted and you get a feeling of how to handle things in
symfony.
Have fun,
Sebastian
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-p
Hi there,
would you mind showing the apache vhost you added (I asume you're using
apache)? I would guess the default directory isn't set correctly but the sf
shortcut is.
Regards,
Sebastian
--
If you want to report a vulnerability issue on symfony, please send it to
security
controller/action, even if it was simply empty)?
And, closely related to this: What's about login/registration-stuff? Would I
use a "user"-bundle for this?
Thanks,
Sebastian
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-p
ndles. I'll have a
look at your first two examples and then dive into the examples you
provided.
Thanks again,
Sebastian
--
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
s depending
on when for example reusing the blog-bundle in another application.
Maybe someone can get me on the right track!
Thanks,
Sebastian
--
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 su
As soon as symfony2 is stable, there will be a symfony2 release without PR
which can be used in productive environment.
Regards,
Sebastian
[1] http://www.symfony-project.org
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received th
e have a loog at
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/13
as this is refering to the symfony way of dealing with user
authentification.
Regards,
Sebastian
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You recei
I thought of this, but for some reason it isn't working. The input name is
book_order[book_amount] and I tried $form->getValue('book_amount'),
$form->getValue('book_order[book_amount]') and
$form->getValue('bookAmount').
On the other hand, $form['book_amount']->getValue() is working as expected
in via ssh after the
deploy is done and run the script manually.
I know, this is not a symfony issue, but I figured since people here might
use rsync with symfony, they'll have found a way to work around this.
Regards,
Sebastian
--
If you want to report a vulnerability issue on symfony, pl
Hi,
I'm playing around with Symfony2 and think it might be the best web
framework I have ever used ;)
Nevertheless I could not find a list with all configuration options that I
could use. Maybe I have overseen something?
As far as I have discovered in most cases the API documentation gives a go
y the
user.
I understand that I can use $form['fieldName']->getValue(), but as symfony
is almost always avoiding arrays, I'm curious if this is the correct way. I
was looking for something like $form->getField('fieldName')->getValue().
Thanks for your help in c
27;ll look into this in detail tomorrow.
Thanks for your help anyway,
Sebastian
On Mar 2, 1:11 pm, Gareth McCumskey wrote:
> AFAIK include_slot has only 1 parameter. You may be thinking of the
> slot() helper as mentioned here:
>
> http://www.symfony-project.org/gentle-introduction/1_4/
Hi,
I was trying to do the following:
To my surpirse, if the slot test is not set, it shows nothing at all
and even if the slot is set to '0' it shows nothing at all. If I
change it to '1' it works as expected.
Am I doing something wrong?
Regards,
Sebastian
--
If
You can wrap C++ classes in PHP extensions.
When I get to that point I will share my findings about how it works with
Symfony :)
--
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
Hey folks,
I have the following scenario: A web application implemented with symfony
but other parts in the background that would need to use the same objects
(model) implemented in C++.
Example: A worker process that does jobs created by PHP async in C++. It
would need to use the same model wi
.
Sebastian
--
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 u
You can access routes via sfContext::getInstance()->getRouting()-
>getRoutes() and then go from there
On 27 Jul., 07:15, Johannes Trommer
wrote:
> Hello,
>
> How can I get the current route name in the module's action?
>
> This is my route:
>
> powerplantsTypes:
> url: /type/:slug.html
>
are there any plans for migrating plugins to symfony 2.0 in the form
of bundles? there doesn't seem to be any mention of it on the plugins
page or individual plugin pages.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received t
Hi wueb,
is it possible to use a absolute path for your images?
BR
Seb
--
Sebastian Müller
http://www.new-mediafactory.de
--
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...@google
The second line after the RewriteCond is wrong.
It should be more like:
RewriteCond %{HTTP_HOST} ^mydomain\.com$ [NC]
RewriteRule ^(.*) http://www.mydomain.com$1 [QSA,L,R=301]
Bascht
On 15.01.10 14:16, YTH wrote:
> Dear all,
>
> Hi, I would like to allow users getting redirected to www.mydomain
rrect module and action, but struggles as
there is no csrf-token present (which is obvious, as I didn't add
one).
Can anybody help me out how to solve this problem?
Regards,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscri
re is standard way
to solve this problem?
Thanks for your help,
Sebastian
--~--~-~--~~~---~--~~
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
e.com/jsapi?key=ABQI5obbqtnOwlU7fJ78TAw-0BT4JpDCwIgIRnp1ddTI6MvRVBGLbhQyWub0Cef-VHzdDo70uUVQrZtOIA"</a>;>
Sunny regards from Hamburg
Sebastian
Zach schrieb:
> Thank you Sebastian,
>
> I installed Firebug and got the error:
>
> google is not defined
> sample1()sample1 (line 21)
>
on my site.
Sorry, but otherwise I have unfortunately no idea anymore.
BR
Sebastian
Zach schrieb:
> I have not. Do I just put it in frontend/templates/layout.php?
>
> I tried that now, and it added src="<a rel="nofollow" href="http://www.google.com/jsa
Hi Zach,
have you setup in the header of your
layout.php ?
BR
Sebastian
Zach schrieb:
> Sebastian,
>
> I double checked my API keys and they are correct, but I'm not sure it
> is being used...
> The code in your test template is the same as what I'm using.
>
etRaw('gMap'); ?>
Test this, maybe it works also for you.
BR
Sebastian
Zach schrieb:
> Sample 1 does not work for me. When I go here mydomain/
> frontend_dev.php/sfEasyGMapPlugin/sample1 I just get the text "The
> Map" a big white space where the map should be
Hi Zach,
I have put it in the app.yml on the /config folder.
But have test the sample 1? If this also not work?
BR
Sebastian
--
Sebastian Müller
s.muel...@nm-f.de
http://www.new-mediafactory.de
--~--~-~--~~~---~--~~
You received this message because you are
ievelostpassword', 'culture' => 'de',
'sf_culture' => 'de',)
This happens for every module / action I tried. (Symfony 1.1.7 on a
Mac OS X / Lighttpd)
Perhaps someone can hint me in the right direction. :-)
Thanks a lot,
Sebastian
--~--~-
Hi Zach,
I use it and it works very fine.
Have you setup the right API keys? So if you use
http://example.localhost/ you have to create a API key for this url.
BR from Hamburg
Sebastian
Zach schrieb:
> Has anyone used this plugin before? Maybe I just set it up wrong...
> and it
Looks like you've got xcache in your php.ini but havn't installed it
yet.
Either remove it from your php.ini or install the xcache extension.
On Dec 4, 6:22 pm, "Reynier Perez Mira" <[EMAIL PROTECTED]> wrote:
> Hi every:
> I started a new project with Symfony 1.2 and because I have a database
>
Hi folks.
This is kind of off topic, but I think it's the right list for this:
My question is: == How do you get your team mates to write tests?
We currently have about 300 functional and unit tests, written in lime
for our symfony 1.1 project,
but we're constantly integrating new features and u
Maybe I should mention that the second line works perfectly well and
prints "0815". The third line then _crashes_.
$player->mapValue('password_confirmation', '0815');
print $player->password_confirmation;
$player->password_confirmation = '1234';
--~--~-~--~~~---~--~---
> Documentation about forms can be found
> athttp://www.symfony-project.org/book/forms/1_2/en/
Is this different from this?
http://www.symfony-project.org/book/1_2/10-Forms#Form%20Validation
It's a bit confusing ;) .
Thanks.
--~--~-~--~~~---~--~~
You received t
> Shouldn't you use this?
> $player->setPasswordConfirmation('1234');
Should it? Regarding the Doctrine documentation _set() and _get()
should come into action. However: Setting the value by explicitly
calling set() doesn't work, too. Same for $player
['password_confirmation'].
I'm a bit helples
Unknown record property / related
component "password_confirmation" on "Player". But why?!
Thanks in advance for your help.
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"sym
umentation (
http://www.symfony-project.org/book/1_2/10-Forms#Form%20Validation
).
Thanks for your help in advance.
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post
Hi.
I added two database connections to databases.yml like this:
dev:
db01:
class: sfDoctrineDatabase
...
...
dev:
db02:
class: sfDoctrineDatabase
...
...
Now I created two schema files called db01.schema.yml and
db02.schema.yml. They look like this:
AModel:
colu
Jerrad Anderson schrieb:
> So how did you fix this problem your post isn't very elaborative :)
>
> I'm also missing the sfCore.Class.php file
Just tell me what you're missing.
I'm using Symfony 1.0.18 and 1.1.4 both with Ubuntu 8.10,
so perhaps I could help here. ;)
--~--~-~--~~
> Is there a way I can set the language on the two sites independently?
Looks like all you have to do is change the name of the cookie
for your backend app.
Then you should be able to log into 2 different sessions for front /
backend.
Bye,
Sebast
e you anyway ;-))
Being able to override this stuff is also a great advantage.
Sebastian
2008/5/8 naholyr <[EMAIL PROTECTED]>:
>
> By the way, having "Url::linkTo" instead of "link_to" wouldn't be such
> a pain (especially if you have a sfCompat10 option
ng from sf 1.1 to sf 1.0 this way.
Regards,
Sebastian
2008/4/3, Ian P. Christian <[EMAIL PROTECTED]>:
>
> Alex wrote:
> > Hello,
> >
> > I would like to use my own class for escaping output.
> >
> > escaping_method: ESC_ENTITIES # Funct
Hi! I know that this topic was already discussed, but the solutions
didn't fit very well for my project.
I am currently working on a project that was built with sfDoctrine
(which works very well for that use). Now my task is to 'quickly' add
a CMS to the project...
...my first thought was to simpl
Hey guys.
I want some of my models to implement an own interface.
Where would be the best directory to place my interface? Directly into
the model-directory?
thanks in advance,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are
My Problem with sfDoctrine still exists, but my confusion got to a
higher level. ;)
$this->getUser()->getGuardUser()->getUserVitas();
Gives me a list of all Vitas, which is cool. But the indices are not
the ids, but numbered starting by 0.
If I do a
sfDoctrine::getTable('UserVita')-
>setAttrib
Really, very interesting - but I am also on vacation, during the time
of the camp.
Perhaps I'm gonna send the other guys from the company to the
camp :)
On 13 Aug., 22:12, Stefan Koopmanschap <[EMAIL PROTECTED]>
wrote:
> Hey guys,
>
> Here's another short SymfonyCamp update. I've just deploye
In your case: $sf_user->getTestData();
On 13 Aug., 21:22, scube <[EMAIL PROTECTED]> wrote:
> Hi,
>
> my goal is to access the content of myUser.class.php (located in the
> lib dir) from a template or layout. But how can I do that?
>
> My myUser.class.php file:
> class myUser extends sfBasicSecuri
ck it though.
Thank you,
Sebastian
> $myDocument = sfDoctrine::getTable("Document as d")->findByDql("d.user
> = ? AND d.id = ?", array($this->getUser()->getGuardUser()->getId(),
> 10);
>
> On 10 Aug., 10:41, Sebastian Schulze <[EMAIL PROTEC
AIL PROTECTED]> wrote:
> ok thanks another question is:
>
> what is the counterpart?
>
> greetings
> Gordon
>
> On 10 Aug., 12:28, Sebastian Schulze <[EMAIL PROTECTED]> wrote:
>
> > > 1. how can i define a lognvarchar or text field?
> > > #descr
> 1. how can i define a lognvarchar or text field?
> #description:
> # type: ???
This depends on the length you supply.
e.g.
type: string(250)
creates a VARCHAR(250)
type: string
creates a TEXT Field
sorry, got now answer to your second question...
er),
but the 10th document that is linked to the user.
According to the Doctrine-Api it "returns a record for given key".
Is this behaviour correct?
I would appreciate any help - thanks a lot! :)
Sebastian
=
My YAML:
Document:
tableName: document
c
Hey everyone.
I am currently working on a Backend App with datasets that have to be
translated into 2 (eventually 3 to 4) languages. So this has to be
done dynamically.
The ideal solution for me would be two input fields, like
"source" (disabled, de_DE) and translation (enabled, eg. en_US).
Is t
65 matches
Mail list logo