You might also want to proceed with caution. Cross pollinating stats features
into your has app like that is almost always a bad idea. Analytics is of course
the obvious example of a better way to track that sort of information.
I don't know anything about the app your working on or how the dat
Hi Simon,
Are you using xdebug?
- Piers
On 06/07/2010, at 6:49 PM, Simon Hostelet wrote:
> Hello,
>
> I've updated yesterday the project I'm working on with the 1.3.6 tag of
> Symfony, containing a security fix.
>
> Since then, people in my team working on a Mac got a segmenation fault wh
Hi Fabien,
I was going to send through a patch/ticket later today, but there is a
small error in the task help for configure:database
Would you like me to create a ticket?
Thanks,
Piers
>
> pierswarmers$ symfony help configure:database
> Usage:
> symfony configure:database [--env[="..."
Nice one!
Can't wait to roll that into some of my classes.
Thanks,
Piers
On 03/07/2008, at 2:52 PM, James wrote:
>>> abstract classYourBaseObject extends BaseObject
>>> {
>>>public function __destruct()
>>>{
>>>foreach ($this as $index => $value)
>>>{
>>>i
Hi,
> If the user logs out (or if the session terminates), is it possible to
> redirect the user to the main page?
You can set a success_signout_url configuration in the app.yml. More
info here:
http://trac.symfony-project.com/wiki/sfGuardPluginFor10#CustomizesfGuardAuthredirecthandling
> Ma
Yeah, It can be confusing - a few of tips:
1 ) Check out what credentials your current user has by using the dev
panel.
You'll need to be using your application in dev mode ( something like
backend_dev.php ) and then look in:
vars & config > Settings > credentials
that should give you a l
Hi Adrian,
1 ) Try something like:
of if you want a more "aware" link:
isAuthenticated()) ? link_to(__("logout"),
"@sf_guard_signout"): link_to(__("login"), "@sf_guard_signin"); ?>
2 ) Try not to think of it in terms of authenticating a group. It all
relates back to a single permission/c
If you haven't already, I'd check out this:
http://www.symfony-project.org/book/1_0/12-Caching#Clearing%20Selective%20Parts%20of%20the%20Cache
And then take a look at the actual cache directory. It will tell you
exactly how Symfony is splitting cache by environment, domain,
application etc..
Something like this will do the trick:
$in_dev_mode = (SF_ENVIRONMENT === 'dev') ? true : false';
On 14/05/2008, at 11:00 PM, Sumedh wrote:
>
> Hi guys...
>
> How can I fetch the value of current environment through code?
>
> Say I need to do something only if it is a Dev environment...
>
> H
Hi Sid,
I'm not sure if there is a compiled/rendered version somewhere, but
I've been referring to this:
http://trac.symfony-project.com/browser/doc/branches/1.1/book/
On 08/05/2008, at 9:39 AM, Sid Bachtiar wrote:
>
> Does anyone know where I can get the user guide (or
> documentation/tuto
and this plugin might help:
http://trac.symfony-project.com/wiki/sfSwiftPlugin
It integrates the Swift libraries...
http://www.swiftmailer.org/
- Piers
On 05/05/2008, at 7:54 AM, Jacob Coby wrote:
>
> http://trac.symfony-project.com/wiki/sfJobQueuePlugin
>
> On May 4, 2008, at 5:48 PM, Tom
> Is this a problem with the hosting provider or symphony itself?
There's no response from Apache on the project site at the moment...
so it looks like an issue beyond Symfony.
In my experience, Symfony has been very stable and scalable.
My sites still go down - one of my hosting company see
Tom Haskins-Vaughan wrote:
>
> Thanks, Piers. But surely a batch script shouldn't have access to the
> session?
>
> Piers Warmers wrote:
>> Hi Tom,
>>
>> I think you will find that the issue is php from the cli won't have
>> any session abilities... t
Hi Tom,
I think you will find that the issue is php from the cli won't have
any session abilities... thus the warnings.
One solution, if the warning are driving you nuts, is to suppress them
for selected method calls - eg:
@sfContext::getInstance()->getLogger...
That will suppress
Just on that topic...
A new version is to be released in the next 8 or so hours :)
There are a huge number of enhancements and a new interface:
http://flickr.com/photos/pierswarmers/2300381675/in/set-72157604013900879/
I'll post an announcement when I publish the update.
- Piers
On 16/04/2
Yep, migrations is the way to go.
There is a propel plugin for this also:
http://trac.symfony-project.com/wiki/sfPropelMigrationsLightPlugin
- Piers
On 06/03/2008, at 4:43 PM, Jonathan Wage wrote:
>
> This is a common problem with databases, unfortunately symfony +
> Propel does not offer an
Hi Stefen,
Great news - feel free to email any queries to us.
- Piers
On 11/01/2008, at 11:01 PM, Stefan Koopmanschap wrote:
>
> Hi,
>
> Interesting project, I'm going to look at it over the coming days I
> think :)
>
> Stefan
>
> On Jan 11, 9:03 am, Piers W
nse of your CMS. Is it
> open-source?
>
> François
>
> 2008/1/11, Piers Warmers < [EMAIL PROTECTED]>:
>
> Hi All,
>
> A quick message to announce a project some of us here at my company
> have been working on.
>
> Steer CMS, a light yet powerful content
Hi All,
A quick message to announce a project some of us here at my company
have been working on.
Steer CMS, a light yet powerful content management system we've put
together - built entirely on Symfony.
I won't divulge into too much detail here - the first post in the news
section should
Hi Lee,
Well sfGuard is really your stock-standard ACL system on a very basic
level.
What are Permissions, they effectively get added as credentials when
the login action is run.
Groups (sometimes called "roles") well they a re a collection of
permissions.
So for example:
The group
Hi rihad,
I'm not sure what the problem is? Is all you would need to do is Ise
all the standard components put together in such a way they for your
needs.
So from what it sounds like, the sfGuard plugin is all you would need
to manage thee access control. All apart from the actual login sh
or:
http://www.mamp.info/en/index.php
Which has a free base version.
As for Leopard, I had no problem running base symfony apps on the
default installs of apache, php and mysql...
I did give up on the GD support though, what pain it caused me :)
I've run a number of MAMP installs without ha
Ooops,
Sorry about that...
Maybe the recent domain changes have effected that?
- Piers
On 24/11/2007, at 9:48 PM, Matthias N. wrote:
>
> On 24 Nov., 11:39, Piers Warmers <[EMAIL PROTECTED]> wrote:
>> Hi Matthais,
>>
>> Here is the source:
>>
>>
Hi Matthais,
Here is the source:
http://www.symfony-project.org/downloads/askeet/askeet_release_1_0.tgz
- Piers
On 24/11/2007, at 9:30 PM, Matthias N. wrote:
>
> Hi,
>
> where can I download/checkout the Askeet project?
>
> Thanks in advance!
>
> Regards,
> Matthias
>
> >
--~--~-~-
I just noticed a new version of this plugin
http://trac.symfony-project.com/wiki/sfPropelTestPlugin
Just testing it out - looks very cool.
Nice work Rob!
Thanks,
Piers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
sounds like this is what you're after:
http://trac.symfony-project.com/wiki/sfPropelAuditPlugin
What that will do is log propel activity.
- Piers
On 16/11/2007, at 2:13 AM, Alexander Deruwe wrote:
>
> On 15 Nov 2007, at 07:12, Bayarsaikhan [Singleton LLC] wrote:
>> How to log all actions of
Try adding:
${string_prompt}
as the variable.
It should give you prompt.
I'm not sure how if multiple prompts work?
- Piers
On 26/10/2007, at 10:05 AM, Ant Cunningham wrote:
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
ng Directory: /fooo/bar/my_project
Arguments: cc
And that should be it.
> I too would like to know how to set up the symfony CLI commands in
> Eclipse. I never really looked at it, but read somewhere that someone
> did this. How?
>
> Regards
>
>
> Am Freitag, den 26.1
> Anyone know how to do those author inserts, like they are always in
> the top of the Symfony files?
There are a couple of ways I do that.
1 ) Auto complete on "author"
You can set up a template to help you do this. Look in Preferences >
PHP > Templates
and I have the following added for "
Hi Fabian,
Thanks for the clarification.
> but many problems with other plugins as well (e.g. the nested set one)
Right, so that alone would be a big killer for me... I noticed the
warnings on custom query changes.
I've just installed the patch, and I'll take a look at some
benchmarking la
Yeah, I've taken a look at briefly. I guess it's time to bite the
bullet and give implementing a try.
From the notes, there doesn't seem to be too mush todo.
Thanks,
Piers
On 16/10/2007, at 12:12 PM, Kiril Angov wrote:
>
> Piers Warmers wrote:
>> Hi all,
>
Hi all,
I've just gone through my posts after the weekend and noticed:
http://www.hma-info.de/blog/2007/10/13/better-performance-patch-for-
symfony-10x-and-propel-12/
So I'm just wondering who's installed it and if there is any feedback
on how much performance gain it brings?
A big improveme
I mean Trac
:D
On 21/09/2007, at 9:21 AM, Piers Warmers wrote:
>
> Looks like svn is down at the moment.
>
> - Piers
>
> >
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony use
Looks like svn is down at the moment.
- Piers
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group
Hmm, big topic :)
OK, so licence choice is something that needs to be looked at for the
Symfony community earlier, rather than later.
Somebody releasing code of course has the right to choose the
license. But as has been pointed out eeek! Where will this leave
the idea sharing plugins
Ah,
OK, so you might want to take a look at sfBrowser for that.
$browser = new sfBrowser();
$browser->initialize();
$browser->setAuth ($login, $password);
$content = $browser()->getResponse()->getContent();
Will probably five you the output.
-Piers
--
Piers Warmers ++ digit
Hi Sebastien,
So I guess what you want to do is have a method which is triggered
via multiple sources.
So for instance:
function sendOutMail()
{
// Sends out a mass email to all people in my database
}
might be triggered via an action responding to a http request,
or alternatively
Hi Tolga,
Is probably what you're after
On 05/09/2007, at 6:30 PM, tolga wrote:
>
> how can I add a javascript?
> I guess it's different than input_tag
>
>
> >
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"s
Plugin/lib/indexer/
> sfPZSLModelIndexer.class.php on line 9
:)
> P.S. The plugin name is going to soon be changed to sfLucene...
Sounds like a good idea.
- Piers
On 04/09/2007, at 1:37 PM, Carl Vondrick wrote:
>
> On Monday, September 03, 2007, Piers Warmers wrote:
>> I
Hi All,
I've just taken a look at the new sfPropelZSLSearchPlugin, very cool.
I'd like to contribute some updates / changes, is it in the svn
repository? I can't seem to see it anywhere?
- Piers
--~--~-~--~~~---~--~~
You received this message because you are s
> will the repositories be full fledged pear channels ? if so, what
> documentation did you use to set them up ?
Yep, well that's the plan :)
http://pear.php.net/manual/en/guide.migrating.channels.xml.php
But I've only spent about 5 minutes investigating it at this stage...
- Piers
--~--~---
Yep,
We're working a number of different plugins which we hope to release
in the next 2-3 weeks.
We will be using our own preffix and repositories.
Very nice plugin.
- Piers
On 30/08/2007, at 1:54 AM, Christian Schaefer wrote:
>
> hey thanks tritan!
>
> yeah I though a personal prefix kind
Hi Olivier,
I achieve auto-complete by including the relevant pear directories.
if you don't know where that is, run:
> pear config-show
I'm running eclipse with PDT, and I can configure the include paths
by going into:
Project > Properties > PHP Include Path
Then adding the desired extern
Hi Tolga,
The tag would be something like:
- Piers
On 10/08/2007, at 5:10 PM, tolga wrote:
> what would be my path to tag?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to thi
Hi Phil,
I wrote up some very basic details here:
http://terribleclaws.com/archive/2007/8/9/_symfony_plugins_-
_a_five_minute_primer/
hope this helps.
- Piers
On 09/08/2007, at 5:43 AM, phil wrote:
>
> Hi,
>
> I'm working a webpage with two different applications - one a wiki,
> one content
Can you install other pear packages?
On 26/07/2007, at 11:20 AM, Angelina Talley wrote:
> I have symfony running successfully on Windows Vista. So far,
> everything I've built is working fine. But, I need to install some
> plugins. For some reason, I cannot install any. The command does
>
That site looks great, when is the release date?
I noticed a rendering issue when the search results come back blank.
http://www.terribleclaws.com/images/junk/
Gilpro_Lettings-20070726-085123.jpg
- Piers
On 25/06/2007, at 11:22 PM, Lucas Peres da Silva wrote:
>
> Hi,
>
> Here is our latest
Hi all,
I'm having some difficulties with i18n objects.
My issue goes like this
I have a post save behavior that relies on accessing the models
related i18n objects. I run into issues with differing pre and post
save behaviors on new and existing objects.
Some code will probably describ
> not anytime soon :S
Heheh well, I guess I'll see what I can come up with and shoot
over any interesting pieces if you like.
By the looks of it, it might be a pain. But eh!
Thanks anyway.
On 20/07/2007, at 6:18 PM, Tristan Rivoallan wrote:
>
> hi,
>
> On 7/
Hi all,
I love the sfPropelVersionableBehaviorPlugin - what a great bit of
work - but I'm in desperate need for a i18n compatible solution.
So what I'm wondering is a) how far off is the 0.3 release, and
b) are there any other options for me. I'm under the gun a bit here,
and a nice of
Hi Davinder,
If you take a look in:
/apps/myapp/config/settings.yml
You'll find the config settings for all those pieces...
all:
.actions:
default_module: default
default_action: index
etc.
- Piers
On 17/07/2007, at 2:28 PM, Davinder Mahal wrote:
>
> Hi every
On 11/07/2007, at 12:31 PM, Kiril Angov wrote:
> called project.yml as it makes more sense, right?
Yep, I agree.
I logged a ticket:
http://trac.symfony-project.com/trac/ticket/1961#preview
- Piers
--~--~-~--~~~---~--~~
You received this message because you are
Yes, it was that simple : )
Thanks for the help Kiril.
On 10/06/2007, at 2:40 PM, Kiril Angov wrote:
> $this->getRequest()->getPathInfo()
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
T
Hi,
I'm having trouble finding how to access the Request URI as Symfony
sees it, just before it starts its routing processing.
So what I'd like to get for the following two URIs:
/backend_dev.php/post/tags/recent/geo/bridge
/post/tags/recent/geo/bridge
would be "/post/tags/r
Hi,
I've come up with a problem : )
Here is the outline ... I mirror models, across two tables. I would
like them to share ID values, however when I set the ID value for
Propel objects, that value is not reflected in the generated SQL.
Is there an elegant way to handle this?
To digress wit
Thanks for the link Grimoire. Nicely presented research.
I'd love to some of the code used in these tests. I know from my
experiences with frameworks, stylistic coding changes can have a huge
bearing on speed.
For me, I found my original Symfony Apps were much slower than my
latest. I thi
So doSelectRS still uses and returns doSelect
You should be able to do a normal foreach loop of the returned
collection.
public static function doSelectRS(Criteria $criteria, $con = null)
{
// blah blah
return BasePeer::doSelect($criteria, $con)
Do you mean something like:
foreach( $people as $key => $person )
{
echo $person->getName();
}
--
Piers Warmers ++ digital Wranglers ++ M: 0416 023 276 ++ W: 02
9770 9997
On 01/06/2007, at 9:53 AM, Greg Freeman wrote:
>
> How do you loop through a result set in lik
Hi Peter,
> if I delete a leaf node I still
> need to update the tree to make sure there are no gaps left in the
> left/right values, right?
No, that will be managed for you by the plugin.
So the beauty of the plugin is all that work is managed by the plugin.
A couple of things i have found:
:
_attributes:{ phpName: Tag }
id:
person_id: { type: integer, foreignTable: person,
foreignReference: id }
address:{ type: varchar(255), required: true }
On 30/05/2007, at 11:57 PM, andyjeffries wrote:
>
> On 30 May, 14:54, Piers Warmers &
Hi Andy,
Can we take a look at your schema.yml file.
Piers
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe
Hi Jevon,
So for some queries which use very specific functions, you might need
to use some raw SQL:
http://www.symfony-project.com/book/trunk/08-Inside-the-Model-
Layer#Using%20Raw%20SQL%20Queries
And when you do so, make sure you do it something like:
$connection = Propel::
Hi all,
Just looking through the documentation:
> * The global configuration for the whole project (in myproject/
> config/)
>
http://www.symfony-project.com/book/trunk/05-Configuring-
Symfony#Configuration%20Cascade
However, I can't really see much more information on how global
configur
Hi all,
Just looking through the documentation:
> * The global configuration for the whole project (in myproject/
> config/)
http://www.symfony-project.com/book/trunk/05-Configuring-
Symfony#Configuration%20Cascade
However, I can't really see much more information on how global
configu
enerators, probably i will not be using admin generators yet. can
> you please give me links for a detailed howto for the sfGuard
> plugin? thanks for the reply :)
>
> On 4/17/07, Piers Warmers <[EMAIL PROTECTED]> wrote:
>
> Hi Eric,
>
> If you just knock up a very s
Hi Eric,
If you just knock up a very simple app using the admin generators,
it's really simple to hook the sfGuardPlugin into that.
I've found it very easy to use.
On 17/04/2007, at 2:19 PM, Eric Bangug wrote:
> Im looking for a sample program for sfGuardPlugin but i can't find
> one..
>
Just on the topic of Propel vs Doctrine - is there any data on how
many people are using which.
I've used doctrine quite a bit in the past and really like. I've not
used it with Symfony since I usually like to keep things as standard
as possible. Having said that, I really would like to mov
67 matches
Mail list logo