A workaround I use is to format the GET url in a symfony friendly
way.
i.e. instead of:
http://youdomain.com/module/action?param1=xparam2=y
Use:
http://youdomain.com/module/action/param1/x/param2/y
This magically makes the cache work. No love with POST though. I even
went so far as to change
The sfViewCacheManager class checks the $_GET and $_POST global variables:
public function isCacheable($internalUri)
{
if (count($_GET) || count($_POST))
{
return false;
}
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com |
Hi all,
I am trying to deploy a project onto a server using the project:freeze and
project:deploy commands. After using symfony project:freeze
/usr/share/php/data/symfony everything looks good and no errors. Then
running a symfony project:deploy production (after setting the
properties.ini
Please, try ./symfony project:unfreeze exactly. ;)
On Wed, 2009-01-21 at 14:31 +0200, Gareth McCumskey wrote:
Hi all,
I am trying to deploy a project onto a server using the project:freeze
and project:deploy commands. After using symfony
project:freeze /usr/share/php/data/symfony
Why don't you have the index action in the oai module do the
forwarding/redirection for you instead of depending wholly on the
routing system?
[ routing.yml ]
oaiIdentify:
url: /oai/:verb
param: { module: oai }
[ actions.class.php ]
public function executeIndex($request)
{
$verb =
http://trac.symfony-project.org/browser/branches/1.1/UPGRADE
http://trac.symfony-project.org/browser/branches/1.2/UPGRADE_TO_1_2
Architectural changes on various aspects also described there.
On Wed, 2009-01-21 at 08:35 +0100, David Landgren wrote:
This helps, it shows what to do, so it's
Well I just now found one way to work with it. The problem comes in because
of conflicts in two different scripts that both try to load the
sfCoreAutoLoad class. So by editing the ProjectConfiguration.class.php file
(which should only affect this project and not symfony as a whole on my
machine)
Hi,
someone can tell me if exists the opportunity to install and use
sfPropelAuditPlugin (http://www.symfony-project.org/plugins/
sfPropelAuditPlugin) correctly on Symfony 1.2.x?
Or if there is a feature integrated, best practice or another plugin
that acts same features (keep track of the
On Jan 21, 2009, at 4:49 AM, Fabien Potencier wrote:
The sfViewCacheManager class checks the $_GET and $_POST global
variables:
Thanks... I got this working with a simple unset($_GET['my_param']).
David
--~--~-~--~~~---~--~~
You received this message
Hi,
I've got a problem running every functional tests of an application
ex: symfony test:functional frontend
returns me for each test a dubious flag and a Test returned status
255 message
although all of those tests work individually.
I can't figure out what really fails because
Hi
I had this problem too, and found why by running the individual
failling test
e.g :
php /test/function/FooTest.php
The problem was that I had to raise the memory_limit from 32MB to
something greater (i.e : 128).
Julien
On Jan 21, 10:37 am, Jérôme TEXIER jerome.tex...@gmail.com wrote:
Does that mean there's no way yet to put Doctrine query times in the
sfWebDebug bar?
-russen
On Jan 20, 12:57 pm, Jonathan Wage jonw...@gmail.com wrote:
Check the connection profiler.
- Jon
On Tue, Jan 20, 2009 at 11:37 AM, klemens_u klem...@ull.at wrote:
Another question: How do I find
Ok thanks, but like I said every test passes individually.
My memory_limit value is already set to a greater value.
The very strange thing is that all the tests seem to be skipped one by
one.
The process is pretty fast, without any trace excluding the dubious
and status 255 messages.
Any ideas
Hi,
I have this situations. Two related tables: Company and Company
Address
The idea is to add Company info to Company table and address info
which will be kept in Company Address table. When I change address
info, it will be saved as a new record in Company Address. Because for
example when I
Finally it works. I made Fabian's changes and what was more important
I included jQuery UI.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
You could also use the versionable template if you use doctrine (mabe
there's the equivalent for propel, like actAsVersionable or
something), which automatially keeps a copy of older versions of the
model records when you edit them.
I think that could be a better solution.
Or maybe you could
Is this symfony 1.2? If so, you can customize the form for your model
to handle this.
In the configure method for your form, you can add widgets and
validators for the address-related fields. Then, you can override the
'doSave()' method to do custom handling of your extra fields. You'll
also
Yes Symfony 1.2 (as in topic)
OK, thank you, I think this will be the best solution.
On Jan 21, 8:29 pm, David Brewer david.bre...@gmail.com wrote:
Is this symfony 1.2? If so, you can customize the form for your model
to handle this.
In the configure method for your form, you can add
when you encounter this on mac osx just make sure you have only one
version of php (or just ln -s your php binary to /usr/bin)
i guess something similar could have happened to you.
hth, flo
On Dec 19 2008, 10:02 pm, James thenet...@gmail.com wrote:
I created a new project. Ran the command
for propel, check this :
http://www.symfony-project.org/plugins/sfPropelVersionableBehaviorPlugin
On Jan 21, 2:32 pm, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote:
Yes Symfony 1.2 (as in topic)
OK, thank you, I think this will be the best solution.
On Jan 21, 8:29 pm, David Brewer
That's cool plugin
Thank you guys!!
On Jan 21, 8:49 pm, jukea jkea...@gmail.com wrote:
for propel, check this :
http://www.symfony-project.org/plugins/sfPropelVersionableBehaviorPlugin
On Jan 21, 2:32 pm, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote:
Yes Symfony 1.2 (as in topic)
I'm starting to try to wrap my head around using Doctrine listeners in
the context of a symfony application, and I'm encountering some
confusion that I was hoping someone out there might be able to help me
clear up.
The rough outline of what I'm trying to accomplish is this: the site
in question
Followup: it does appear that the record listener I created works so
long as I add it directly to a record. So, the super-shortened
version of this question is: how can I globally attach a record
listener in such a way that it gets executed for every type of record?
On Wed, Jan 21, 2009 at 4:58
Followup #2:
I think I've figured out what the hangup is. I added some logging to
Doctrine_Configurable class where it gets the record listeners...
Looks like there is a hierarchy from manager, to connection, to table
when getting listeners. It stops at the first place it finds
listeners.
Filed a doctrine ticket on this issue:
http://trac.doctrine-project.org/ticket/1847
On Wed, Jan 21, 2009 at 6:18 PM, David Brewer david.bre...@gmail.com wrote:
Followup #2:
I think I've figured out what the hangup is. I added some logging to
Doctrine_Configurable class where it gets the
David,
That's kind of ugly, but I'd say if you implement an override of
processForm, executeDelete and executeBatchDelete for each of your
module, that would clear the cache, then call the parent, I think
that would cover any type of modification.
Julien
On Jan 21, 9:36 pm, David Brewer
What I ended up doing for now until I work out my doctrine listener
issues is to add a preExecute() handler in my admin modules that calls
a method which:
* gets the name of the action
* compares it against a list of names of actions known to change the database
* if it finds a match, clears
Help...
SOS SOS...
:))
On Jan 20, 5:29 pm, Sumedh sumedh.inam...@gmail.com wrote:
Anyone? :|
On Jan 16, 5:18 pm, Sumedh sumedh.inam...@gmail.com wrote:
Hi Friends,
Need some help...
My live server is not sending 304 not modified response for cached js
css files...I've the same
I found something related -
https://bugs.launchpad.net/launchpad/+bug/261619
But i dunno why this isn't happening on staging when all the config is
same... :|
On Jan 22, 10:33 am, Sumedh sumedh.inam...@gmail.com wrote:
Help...
SOS SOS...
:))
On Jan 20, 5:29 pm, Sumedh
Seems this is a bug in Apache -
https://issues.apache.org/bugzilla/show_bug.cgi?id=39727
Anyone else facing this issue?
On Jan 22, 11:21 am, Sumedh sumedh.inam...@gmail.com wrote:
I found something related -
https://bugs.launchpad.net/launchpad/+bug/261619
But i dunno why this isn't
30 matches
Mail list logo