On Apr 16, 4:46 am, Luis Cordova cordo...@gmail.com wrote:
I am getting a notice:
Notice: serialize(): sessionverses returned as member variable from
__sleep() but does not exist in
/home/cordoval/sites-2/memorizescripture/vendor/symfony/src/Symfony/Compone
On 18.04.2011 05:38, JC wrote:
I couldn't find references on the proper use to integrate a logger in
my code.
I tried the following inside a controller, but I didn't see any output
in the log file.
Any ideas?
public function loginAction()
{
$logger = $this-get('logger');
Hello Oscar,
thanks you for the replays..
can you show me an exemple of sending an ajax request with jquery ??
i tried a lot of things (.ajax(), .get()...) but il my ajaxAction,
this test is skipped : (not an XMLHttpRequest())
if ($this-container-get('request')-isXmlHttpRequest())
{
On Mon, Apr 18, 2011 at 9:30 AM, Jordi Boggiano j.boggi...@seld.be wrote:
On 18.04.2011 05:38, JC wrote:
I couldn't find references on the proper use to integrate a logger in
my code.
I tried the following inside a controller, but I didn't see any output
in the log file.
Any ideas?
hi Fabien, all
thanks for the suggestion, but this speaks about a class on the
Security/Core/Authentication/Token/AbstractToken.php symfony code
or on my class? and if my class i guess the one that has member that variable?
I will try but was not really sure since there is AbstractToken.php I
Hi all,
I was browsing the internet but I can`t find the answer for my problem
anywhere. A have my form:
$widget-setLabel('Odbiorcy');
$this-setWidget('receivers', $widget);
$validator = new
sfValidatorChoice(array('choices'=array_keys($choices),'multiple' =
true), array());
TWIG helps a lot, specially for teams with designers which are not involved
with PHP
--
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
Hey All,
Having fun using symfony2!
In my controller, I'm doing the following:
$doc = new DOMDocument();
However, symfony2 comes up with:
Fatal error: Class 'Acme\DemoBundle\Controller\DOMDocument' not found
in
As you can see, it thinks that DOMDocument is apart of symfony2, and
it is really a
Moi,
I am trying to work through the jobeet tutorial. I have got to day 3
and try to use the url posted in the title.
The layout is rubbish, there are no images etc. Here is a snippet from
the top of that page:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://
Hello,
I had the same problem but try to unpack the tar.gz version and then
unpack the .zip version.
Say 'Merge..' when it asks to..
It works for me...It's not a beautiful solution but it's better than
nothing until they correct this problem.
Good luck ;)
--
If you want to report a vulnerability
Hi Bernhard,
thanks for the quick reply! I'll have a look into it.
Regards,
Holger
On 17 Apr., 18:09, Bernhard Schussek bschus...@gmail.com wrote:
Hi Holger,
You can use the Callback constraint for this purpose. You can see an
example of its usage in
The blog has already been updated with the latest *a week of symfony*posts.
Thanks for noticing it and sorry for any inconvenience.
--
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
$doc = new \DOMDocument();
By default, if you try to create an instance of a class which is not fully
qualified (in your case just DOMDocument) PHP will look for the class on
the current namespace (Acme\DemoBundle\Controller in your case).
More info:
Hello,
I've noticed that form objects are not escaped in templates.
$this-form = new MyObjectForm(); # won't be escaped
Other objects ARE escaped.
$this-myObject = $this-form-getObject(); # will be escaped
This can easily be checked using get_class() in a template.
Anyone could explain this
Yes, ZIP version unpack successfully... Strange thing )
On 18 апр, 12:33, mysth peramo.lio...@gmail.com wrote:
Hello,
I had the same problem but try to unpack the tar.gz version and then
unpack the .zip version.
Say 'Merge..' when it asks to..
It works for me...It's not a beautiful
On a web form, for optimization reasons, we don't need to submit all
fields from the referenced entity, only the entity id. So yes, turning
off validation on referenced entities and only validating the
referenced id seems like the best solution to me.
With the cascading validation as it is now,
please somebody help me,
all my code is in https://github.com/cordoval/Memorize-Scripture-2
I have tried several things, not even serializing the errors would go away
rather they will get worse
can someone take a look at this please? appreciate it
Notice: serialize(): sessionverses returned as
Hi,
I'd strongly favor not doing such a recursive validation by default. When
I create a form 99% of the time I only want to validate the data submitted
in fact I can't even think of a case where I'd want to do a deeper
validation right now.
Checking the city when you only submit a user seems
Hi, I've just downloaded the PR11.
When running the demo (when clicking the 'run the demo' button link) an
error is trhown: The controller must return a response ([array]() given)
Looking at the controller I found:
/**
* @extra:Route(/, name=_demo)
* @extra:Template()
*/
Very bizarre. I use 7-Zip exclusively in Windows 7 and I didn't have any
issues unpacking the tar.gz version. Maybe it's a WinRAR issue?
--
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
I can safely say that it isn't supposed to be returning an array, unless
it's intended to show that you can't do that kind of thing. All actions have
to return a response. And an array isn't a valid response. If you change
that to return statement to return new Response(''); it should work. It
ok finally I made inroads with the help of several people thank you guys!
and now I got the notices gone on real browser test however they are failing
for testing forms apparently? I was told the form_login needs to be
switched to http_basic
as shown in here
results, findings and suggestions:
suggesstion:
- to implement on sf2 test1 mode and test2 mode, test1 mode generates
proxies on --env=test so for development, test2 mode is production
findings:
- form login test works as Fabien puts it on a tweeter, thanks Fabien!
- fos userbundle has broken
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 at
24 matches
Mail list logo