Not really a solution, more of a workaround, but might as well get an
answer up here :D
If you get the content in your action like this:
$content = $request->getParameter('content');
if(!$content) $content = $request->getContent();
that should allow you to test what you want by passing
Hey guys, I'm having trouble with an issue where I see different
symfony behavior on different machines.
Specifically, in my dev environment, I don't run out of memory, but in
my production environment, I do. However, both environments have the
same memory_limit value (as far as I can tell) ('php
I get this behavior without even being logged in (on the registration
or login page). Specifically, it seem to be happening at least every
other page load. This doesn't sound to me as if it's the same issue,
but it is definitely happening in factories : storage (Factories :
storage 1 171026
Is it possible to use sf_method (or something else) to override the
method? I tried to pass in sf_method, but I get "Could not validate
extra field "sf_format"".
Beyond that, has anyone seen any issues with the routing?
/post.xml, /post.json get me
Empty module and/or action after parsing the URL
@Stephen - I haven't had time yet :( However, I'll let you know if I
come upon anything. I would be very interested in anything that you
come up with though.
@Thomas - My thanks as well.
On Wed, Oct 20, 2010 at 5:13 PM, stephenrs wrote:
> @ashton - did you ever track this down
culprit is "Factories" (at 125116.40ms, or
just over 2 minutes).
Does anyone have any suggestions (or links that might have info) as to
how to start tracking this down?
thanks
ashton
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-projec
set-index, and restarting solr. THe only way that I have
been able to get unwanted fields to go away is to re-install the
plugin.
Is anyone else using dynamic fields, or are most defining their own
schema? Are dynamic fields just not supported?
ashton
--
If you want to report a vulnerability is
I have generated an action using doctrine:generate-module (I can
reproduce this behavior in the admin module as well)
When I post to the update page with an incomplete set of values (just
the title for instance) so:
/api_dev.php/event/update?id=1&event[title]=nothing
The object is updated and save
at is happening (or rather, how this is happening)?
On Tue, Jul 6, 2010 at 7:05 AM, ashton honnecke wrote:
> It is present in only one of five apps (all in the same project). It
> is definitely not the server. It happens to all the modules in one
> app, except for it seems, when I ret
, which I am trying to confirm now.
On Tue, Jul 6, 2010 at 2:59 AM, Tom Ptacnik wrote:
> Did you tried to run this app on a different server? .. then you will
> know if the problem is in the app or in your server.
>
>
> On 5 čnc, 04:31, ashton honnecke wrote:
>> This behavi
page load (so I have to login for every page). I'm
sure that this is from something that I have done wrong. Does anyone
have any suggestions about where to look or how to debug this?
On Tue, Jun 22, 2010 at 8:55 AM, ashton honnecke wrote:
> I hadn't altered factories.yml at all.
>
torage is used, in this case you can check
> the serialized sessions stored usually somewhere in /var/lib/php5 (or
> something similar, depending on your Linux distribution).
>
> gabriel
>
>
> On Jun 22, 5:33 pm, ashton honnecke wrote:
>> I'm not sure. How do I c
that be, and do
you have any ideas of how I could check?
ashton
On Tue, Jun 22, 2010 at 6:14 AM, pghoratiu wrote:
> How does symfony store the session in your case, are you using the php
> session or something else?
>
> gabriel
>
> On Jun 22, 9:19 am, ashton honnecke wrot
ote:
> I would say it's something wrong at the PHP configuration level, what
> is your environment (OS, PHP, symfony version, ...?).
>
> gabriel
>
> On Jun 21, 8:51 pm, ashton honnecke wrote:
>> This is what I have in configuration>user on the page load a
Nope, it came back after I cced and rebuilt the models.
On Mon, Jun 21, 2010 at 2:05 PM, ashton honnecke wrote:
> In order to test if the issue lay in the environment or in the code, I
> set up a new vhost and checked everything out again at various
> revisions. I can't seem to
10 at 12:37 PM, ashton honnecke wrote:
> It was working at one point. The issue seems to span all the apps that I
> have.
>
> Red Hat Enterprise Linux Server release 5.4 (Tikanga)
> PHP 5.2.10 (cli) (built: Aug 6 2009 06:05:50)
> symfony version 1.4.6-DEV
>
> ashton
>
&g
It was working at one point. The issue seems to span all the apps that I have.
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
PHP 5.2.10 (cli) (built: Aug 6 2009 06:05:50)
symfony version 1.4.6-DEV
ashton
On Mon, Jun 21, 2010 at 12:14 PM, pghoratiu wrote:
> I would say it's s
g toolbar or directly the
> serialized session data.
>
> gabriel
>
>
> On Jun 18, 9:50 am, ashton wrote:
>> I'm not sure how I broke things, but I can no longer remain logged in
>> beyond one page load (tried clearing cache/using a different browser).
>
I'm not sure how I broke things, but I can no longer remain logged in
beyond one page load (tried clearing cache/using a different browser).
* When I hit a page, I get the login screen
* I login successfully
* The page that I was initially navigating to loads
* Then next time that I load a pag
r.class.php don't you? .. then this
> problem will be solved.
>
>
> On 21 kvě, 18:12, ashton wrote:
>> I have a question regarding dumping and loading passwords. In 1.4.5 I
>> am experiencing passwords hashes being re-hashed after a dump/load.
>> This is because when
action? Alter a different file for the user?
Thanks!
ashton
--
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
://www.google.com/support/googleanalytics/bin/answer.py?answer=55521
This code could ideally be generated when the link helpers build
code. Has anyone out there done this?
ashton
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
olved before.
ashton
--
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
You can't restrict access to login with is_secure or credentials
(http://www.symfony-project.org/reference/1_4/en/08-Security) because
it makes no sense to do so. However you can do so to logout, which
IMO makes just as little sense.
Scenario:
backend/config/security.yml
--
defau
feel like that
is getting overfull)
SO:
Model = /lib/model/doctrine/FeaturedSearch.class.php
DAO = /lib/model/doctrine/FeaturesSearchTable.class.php
App = /app/frontend/lib/appWideLogin.class.php...
Controllers = actions/actions.php
Templates = templates/<*>Success.php
ashton
On Feb 1, 6:
I think that you are looking for something like this:
detect_relations: true
Profile:
columns:
sf_guard_user_id: integer(4)
first_name: string(255)
middle_name: string(255)
last_name: string(255)
email_address: string(255)
relations:
User:
class: sfGuardUser
I have detailed the process here:
http://blog.honnecke.us/2010/01/using-sfdoctrineguardusers-external-authentication/
On Fri, Jan 29, 2010 at 2:20 PM, ashton honnecke wrote:
> The way that I addressed this was to:
> * Create a custom form for the signin process
> * In that form, re
lution, I would love to hear it.
thanks
ashton
On Fri, Jan 29, 2010 at 10:00 AM, ashton honnecke wrote:
> Both ways of authentication would be fine, but my main goal is to
> allow users to login without requiring them to exist in the
> sfGuardUserTable. I'm building a site for a
well:
http://www.matthewbull.net/2008/06/29/symfonys-sfguard-plugin-and-ldap/
On Fri, Jan 29, 2010 at 5:43 AM, Tom Ptacnik wrote:
> Of cource you can overwrite the sfGuardAuth module if you don't want
> to use it... I thought that you want to use both ways of
> autentification.
>
&
so It seems odd that I would need to re-write
the login in order to do so.
Why would I want to make a new module and not just overwrite the
executeSignin method in the BasesfGuardAuthActions class?
ashton
On Thu, Jan 28, 2010 at 6:53 AM, Tom Ptacnik wrote:
> Create an module with "secu
y external checks even if the
username does not exist in the sf_guard_user table would work too,
because then I could just manually create the user if the external
auth was successful.
thanks!
ashton
--
You received this message because you are subscribed to the Google Groups
"symfony users&quo
19, 2010 at 1:02 PM, Dineu Henrique wrote:
> Thanks!
> But I was wondering if there is another way to do this, I mean, using some
> symfony's function (like renderText() or something like this).
>
> But it worked :)
> Bye
> --
> Dineu Assis
>
> On Tue, Jan 1
put your js inside a document.ready function:
http://www.learningjquery.com/2006/09/introducing-document-ready
On Tue, Jan 19, 2010 at 11:44 AM, Dineu Henrique wrote:
> Hi guys,
>
> I'm having some trouble here trying to output an alert script after loading
> a Form.
> Look what I've done until n
If that's more than you were interested in, you can do this:
$q = Doctrine_Table::Create()->
select('*')->
from('customer as c')->
orderBy('first_name ASC');
$customers = $q->execute();
Throw that into a method in a table class (a solid design practice
anyway), and then you have less code than yo
common sense
> when it comes to building applications. Once again I will have to
> reverse engineer the code and add my own ways.
>
> On Jan 18, 8:38 pm, Ashton Honnecke wrote:
>> In the past, when not using sfGuardDoctrineUser I have usually made a
>> different "reset
In the past, when not using sfGuardDoctrineUser I have usually made a
different "reset password" page, seperate from the rest of the user
form.
Ashton
On Jan 18, 2010, at 16:31, Darren884 wrote:
I have a form for the employees department and it has the information
on th
Is myUser extending sfGuardDoctrineUser (or whatever the appropriate
class is, that might not be right) in your /lib/myUser.php ?
Ashton Honnecke
ahonne...@gmail.com
On Jan 16, 2010, at 7:31, thronic wrote:
I was working on a project at work just playing around with
sfDoctrineGuardPlugin
It only works with 1.2, like it says on the page I linked to.
:D
nm
On Sun, Dec 13, 2009 at 8:53 PM, ashton wrote:
> Having trouble getting plugin setup in a new 1.4 project. When set up
> as external in the plugins directory, It won't work. Publish assets
> doesn't make the
Having trouble getting plugin setup in a new 1.4 project. When set up
as external in the plugins directory, It won't work. Publish assets
doesn't make the link to the plugin, and calling the helper throws an
exception:
ahonne...@honnecke:~/repos/sgl$ php symfony plugin:assets
>> pluginConfigur
Since upgrading from 1.2.8 to 1.4.1, I've noticed a significant dip in
overall execution time in the dev environment, which makes the task of
developing slower - as I wait that extra second or so for pages to
load.
while i appreciate that the new debug toolbar is giving me even more
useful info li
ev.php and backend_dev.php, and the web debug toolbar
doesn't show up in production.
thanks
ashton
--
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 unsubsc
In processForm.
Ashton Honnecke
ahonne...@gmail.com
On Nov 20, 2009, at 8:20, tirengarfio wrote:
> Hi,
>
> i have created a module (generate-module) in base of Message model.
> When i execute message/new and then i push the "Save" button the app
> redirects me to the
#x27;end_time'] =
new sfValidatorTime(array('required' => false));
}
On Thu, Oct 22, 2009 at 4:37 PM, Alexandre SALOME
wrote:
> You should add widget/validator to your form.
>
>
>
> 2009/10/22 ashton
>>
>> Hi,
>> I'm trying to add a m
If you are on symfony 1.3 you will need to specify propel when you
build the project.
Ashton Honnecke
ahonne...@gmail.com
On Oct 25, 2009, at 8:46, Maras wrote:
>
> Anyone knows how to create symfony project iwith ORM Propel. n
> Netbeans with ORM Propel. When I check comman
Hi!
I have a "wizard" in my admin generator that ajax posts to multiple
different modules to step the user through creating objects in the
correct order.
I'm using the generated actions, so I post to (in one example)
"facility/create" and the object is created. Works like a charm,
except that th
ilar to the one in Listing
14-10.
On Oct 23, 1:37 pm, ashton wrote:
> I copied the _form.php template out of the cache, and added
> var_dump($form['end_time']->getValue());
> which yields:
> NULL
> the other fields print correctly:
> var_dump($form[
ich leads me to think that the issue has something to do with the
value of the form getting set originally.
On Oct 23, 11:25 am, ashton wrote:
> Rather, that does die when the form is submitted.
>
> On Oct 23, 9:31 am, ashton wrote:
>
>
>
> > That will die when the form
Rather, that does die when the form is submitted.
On Oct 23, 9:31 am, ashton wrote:
> That will die when the form is submitted. Unfortunately, that's not
> the issue that I'm having, what I'm seeing is that when going to the
> edit page initially, getEndTime never gets
bject()->setEndTime($value);
> }
>
> }
>
> Alexandre
>
> 2009/10/23 ashton
>
>
>
>
>
>
>
> > I have already added those. The widget shows up on the edit page,
> > just without any content in it. i.e. it's
ime'] =
new sfValidatorTime(array('required' => false));
On Oct 22, 4:37 pm, Alexandre SALOME
wrote:
> You should add widget/validator to your form.
>
> 2009/10/22 ashton
>
>
>
>
>
>
>
> > Hi,
> > I'm trying to add a metho
Hi,
I'm trying to add a method ('endTime') that doesn't exist in the
model, it's essentially a convenience method to set just the time part
of time_ts which is a timestamp. It shows up properly in the list,
however, the widget is never populated with a value in the edit page.
As far as I can tell
custom field on the edit page in the admin generator not calling
getter
I need some help with adding a custom field to the admin generator:
I have a model that contains a field 'end_ts'. I want to make a
custom getter/setter/field end_time that doesn't exist in the model.
Everything works but th
52 matches
Mail list logo