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:
https://groups.google.com/d/topic/symfony-
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 a
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 "symf
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
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: ProjectConfi
Hi, I have a Doctrine_Query that gets passed to some model filters for
my search.
Initially by default, the query should have a left join set to help
hydrate related objects for a count column.
However, one of the filters should limit results to ones that have
existing records in the related tabl
Hi, I have the following schema:
Artist - ArtistSession - Session
Artist:
columns:
id:
primary: true
type: integer
notnull: true
autoincrement: true
...
relations:
Sessions:
class: Session
refClass: ArtistSession
local: artist_id
foreign
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 wrote:
> Hi,
>
> I am thinking of developing a plugin that enables an "admin" to create
> a form (
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 wrote:
> The site needs to work with javascript disabled so unfortunately
> that's not an
s completed and that A2 can load the new
> content.
>
> gabriel
>
> On Sep 7, 6:04 pm, Phil Moorhouse 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
> >
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" ima
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 accessing
Aptana Studio v3 is now open source and currently in beta - it has
reintroduced it's own PHP editor (i.e. not using PDT as in v2) as well
as including excellent CSS / JS / HTML / Ruby editors.
http://www.aptana.com/products/studio3
It's stable and mostly usable, there are a few small non-critical
"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 infor
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: sh
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
wrote:
> We do something very similar using the fantastic ysfDimensionsPlu
We do something very similar using the fantastic ysfDimensionsPlugin
(http://www.symfony-project.org/plugins/ysfDimensionsPlugin) although
it only lists sf1.1 so I'm not sure if it's compatible with sf1.4.
It gives you your own cascading config / templates / actions / etc
for each affiliate, i.e.
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 wrote:
> Hi all,
>
> I have an appli
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 on
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 complet
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, Symfon
Because Zend's framework is named "Zend Framework" whereas the Symfony
framework is just known as "Symfony".
On Sep 23, 10:26 am, dziobacz wrote:
> http://www.google.com/trends?q=Zend+Framework%2C+CakePHP%2C+CodeIgnit...
> Why if I write in google trends: Zend Framework, Symfony - the results
>
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 a
ing
> to get md5(34) to see user 34 historic.
>
> Hope it helps.
>
> On 15 juin, 17:53, Phil Moorhouse
> 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
&g
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 ca
r should I create a ticket?
On 13 May, 11:56, "David Ashwood"
wrote:
> Try using an alias with the column and then ordering by the alias.
> The reason for the uppercase version is to allow for a case-insensitive
> sort.
>
> -Original Message-
> From: symf
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
event_types_per_n
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 wit
quot;RTFM"
> =>http://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layerand
> look for "Indexes".
>
> On 14 avr, 17:09, Phil Moorhouse
> wrote:
>
> > Hi, I have a table with the fields "username" and "affiliate_id"
&g
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 Pro
30 matches
Mail list logo