I see, so there is no specific sfMemcacheSessionStorage class, but I can
utilize sfMemcacheCache for sessions by changing my storage option to
sfCacheSessionStorage in factories.yml and specifying the class?
The only thing I could find on this is here:
With a previous sf1.0 project I used sfMemcachePlugin and it's
sfMemcacheSessionStorage class for saving the session to memcache so we
could share sessions across multiple hosts.
I'd like to do the same thing with my current sf1.4 project but there
doesn't appear to be a compatible plugin? Is
I've added a ticket about this along with a possible patch...
http://trac.symfony-project.org/ticket/9370
--
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
Just to be clear it looks like this is throwing warnings on every CLI task
that doesn't specify an app or env, not just cache-clear, which leads me to
believe I must've missed something?
Anyone else seeing this behaviour?
--
If you want to report a vulnerability issue on symfony, please send
I've been a user of the sf1.0 version of the ysfDimensionsPlugin for a
couple of years, so I'm already a big fan.
I've just tried adding it to our new sf1.4 project and every time I clear
the cache I get PHP notices about undefined properties:
1. PHP Notice: Undefined property:
Hi, I have the following schema:
Artist - ArtistSession - Session
Artist:
columns:
id:
primary: true
type: integer
notnull: true
autoincrement: true
snip.../snip
relations:
Sessions:
class: Session
refClass: ArtistSession
local: artist_id
I have a need for this, I've got something similar but in an sf1.0 app
that obviously doesn't use the form framework, but it'd be great to
have a plugin to make this simple.
On 19 Sep, 11:04, juro fo...@juro.at wrote:
Hi,
I am thinking of developing a plugin that enables an admin to create
completed and that A2 can load the new
content.
gabriel
On Sep 7, 6:04 pm, Phil Moorhouse moorhouse.p...@gmail.com wrote:
Hi, I currently have an action (A1) that performs some manipulation of
objects saved in the session, and then loads a view containing an
iframe.
The iframe loads
The answer is: yes - $this-getUser()-shutdown() seems to work.
If anyone knows of a particular reason why this might be a bad idea,
please let me know.
On 8 Sep, 09:10, Phil Moorhouse moorhouse.p...@gmail.com wrote:
The site needs to work with javascript disabled so unfortunately
that's
Hi, I currently have an action (A1) that performs some manipulation of
objects saved in the session, and then loads a view containing an
iframe.
The iframe loads another action (A2) from the same application which
relies on objects saved to the session in A1. Sometimes, particularly
when
Is your schema already fixed?
If not, the normal way to do this would be to have m-m join tables:
NewsImage [ news_id, image_id ]
EducationImage [ education_id, image_id ]
HealthImage [ health_id, image_id]
and remove:
content_id
type
from the ContentImage table.
Then if you want all news
A Gentle Introduction... is meant to be current documentation though
so this should be fixed.
Gustavo, please report the issue here: http://trac.symfony-project.org/newticket
with type=documentation and component=form and someone with commit
access to the docs will hopefully remove the bad
Is it possible to append a string to the end of a URL when using
sfDoctrineRoute?
i.e. where some-band-name is the slug
I'd like
/artist/some-band-name-tickets
here's my current routing:
artist_show:
url: /artist/:slug
class: sfDoctrineRoute
param: { module: artist, action:
This thread:
http://groups.google.com/group/symfony-users/browse_thread/thread/6110d23b5879501a/9cf0c80fd94142fd
appears to suggest that it works fine with all symfony 1.x versions.
On Apr 12, 2:22 pm, Phil Moorhouse moorhouse.p...@googlemail.com
wrote:
We do something very similar using
This is a perfect use-case for the Dimensions plugin:
http://www.symfony-project.org/plugins/ysfDimensionsPlugin
It allows you to configure different stylesheets / templates for each
dimension which could easily map to your clients.
On Dec 17, 2:44 pm, ajit csa...@gmail.com wrote:
Hi all,
I
It's not just code examples though, it's more the gotchas or
misunderstandings that other people have had but can then comment on
to say actually, you might think this does x but it does y instead.
The mod up / mod down is also a good idea so that bad examples can get
buried or removed
Just to be clear:
1. Make sure you commit the completely empty cache / log dirs to your
svn repo (best as part of your initial import of the project) - this
will mean when you check out a new working copy in future that those
directories definitely get created.
2. You then set an svn property
Because Zend's framework is named Zend Framework whereas the Symfony
framework is just known as Symfony.
On Sep 23, 10:26 am, dziobacz aaabbbcccda...@gmail.com wrote:
http://www.google.com/trends?q=Zend+Framework%2C+CakePHP%2C+CodeIgnit...
Why if I write in google trends: Zend Framework,
Ghost3D,
Firstly, the reason for the move to OO forms has already been covered
- it's to promote re-use and greater flexibility. This unavoidably
comes with the cost of increased complexity, and I think from the
answers above most people here are willing to make that trade-off.
Secondly,
Make sure you've read http://www.symfony-project.org/book/1_2/18-Performance
- lots of good advice there.
http://www.symfony-check.org/ is another useful site.
In order of the biggest improvement for the least amount of effort,
I'd say:
1. Install a PHP accelerator
2. Make sure your db tables
:53, Phil Moorhouse moorhouse.p...@googlemail.com
wrote:
Hi, I've just recently developed an order-history section for my
users, and I want to cache the action as it's quite a hefty process
(xml api call to a booking server that takes a while to generate the
results).
Obviously I need
Hi, I've just recently developed an order-history section for my
users, and I want to cache the action as it's quite a hefty process
(xml api call to a booking server that takes a while to generate the
results).
Obviously I need something unique like say the user_id in the url to
make sure the
I seem to have found what looks like a bug in DbFinder, although it's
possible I'm not using it correctly so I thought i'd ask here first
before submitting a ticket.
When I attempt to order by a non-PK column, it adds that column a
second time to the returned assoc array as an uppercase value
I need to reproduce the following query with DbFinder. i'm using the
results to build a list of checkboxes that will already be checked if
they have a row in the relations table.
SELECT
et.event_type_id, et.name, etpni.news_item_id AS selected
FROM
event_types et
LEFT JOIN
version is to allow for a case-insensitive
sort.
-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Phil Moorhouse
Sent: 13 May 2009 12:39
To: symfony users
Subject: [symfony-users] DbFinder returning too many columns when
://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layerand
look for Indexes.
On 14 avr, 17:09, Phil Moorhouse moorhouse.p...@googlemail.com
wrote:
Hi, I have a table with the fields username and affiliate_id
I need to specify the pairing as unique, i.e.
username | affiliate_id
bob_smith
Hi, I have a table with the fields username and affiliate_id
I need to specify the pairing as unique, i.e.
username | affiliate_id
bob_smith, 1
bob_smith, 2
frank_thomas, 3
jessica_murphy, 2
are allowed, but a second
bob_smith, 2
would not be.
How do I format this in schema.yml? (for
27 matches
Mail list logo