Hi there,
I want to make certain modules/actions use certain routing rules
for example, I have the following routing rules
# REPORT RULES
reports:
url:/reports
param: { module: reports, action: index }
reports_module:
url:/reports/:module
param: { action: index }
rep
On Fri, 26 Sep 2008, AlainRaymond wrote:
> How do I create a Select list dependant on the results of a SQL query?
http://www.symfony-project.org/book/1_0/10-Forms#Populating%20Drop-Down%20Lists%20with%20Objects
--
--~--~-~--~~~---~--~~
You received this mes
Hi all,
I was just about to create a small feed module that depending on the
sf_format (the file extension on the url) serves afeed as html, rss or
atom.
conveniently symfony already does a lot for thisout of the box.
so it automaitcally uses the template "feedSuccess.rss.php" and the
layout "l
Interesting indeed, there is also sfOptimizerPlugin but i suppose it is not
really needed when using
and accelerator.
- Message d'origine
De : Eno <[EMAIL PROTECTED]>
À : "symfony-users@googlegroups.com"
Envoyé le : Lundi, 29 Septembre 2008, 18h07mn 40s
Objet : [symfony-users] Re: Sym
On 14 sep, 13:56, "Bernhard Schussek" <[EMAIL PROTECTED]> wrote:
> Apart from configuring the symfony lib dir as include path, I can also
> recommend setting the symfony lib dir up as a custom project and
> including it in your project (right click -> configure include path ->
> projects tab -> ad
On 14 sep, 12:20, Hugo HAMON <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Do you want a real autocomplete of the global core classes of the
> symfony framework (ie sfWebRequest, sfWebResponse... ?) or only for
> classes generated by the ORM ?
For all
> * Propel generates all accessors (getters and s
Hi in http://blogs.sun.com/netbeansphp/ we have a new blog of netbeans for
PHP
My loved PDT has rival?
--
Cr. Puentes Diaz
www.puentesdiaz.com.ar/blog/novedades
www.puentesdiaz.com.ar/blog/propiedades
www.puentesdiaz.com.ar/blog/curriculum-vitae
Linux User n° 441474
--~--~-~--~~-
Ok, it's not a problem with sfForm, it's a problem with the docs (I
think, someone confirm this is in the docs...)
In the docs, there is an example of:
public function executeSubmit($request)
{
$this->forward404Unless($request->isMethod('post'));
$params = array(
The log:
Sep 29 19:48:45 symfony [info] {sfDoctrine Query} executeQuery :
SELECT COUNT(DISTINCT g.id) AS num_results, COUNT(g2.gallery_id) AS
g2__0 FROM gallery g LEFT JOIN gallery_picture g2 ON g.id =
g2.gallery_id GROUP BY g2.gallery_id
Sep 29 19:48:45 symfony [info] {sfDoctrine Query} ex
You will need to use mysql query logging or the doctrine connection profiler
to view the sql it executes.
- Jon
On Mon, Sep 29, 2008 at 12:32 PM, Bertrand Zuchuat
<[EMAIL PROTECTED]>wrote:
> Hi Jon,
> I don't show SQL because i have an error before.
>
> [Doctrine_Connection_Mysql_Exception]SQLST
Hi Jon,
I don't show SQL because i have an error before.
[Doctrine_Connection_Mysql_Exception]
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g4.gallery_id'
in 'group statement'
My schema:
---
Gallery:
tableName:gallery
actAs:
Timestampable: ~
I18n:
fi
Does that column exist on the GalleryPicture model/table?
Can you show the SQL it executes and your model/schema definitions?
- Jon
On Fri, Sep 26, 2008 at 8:15 AM, Bertrand Zuchuat
<[EMAIL PROTECTED]>wrote:
>
> Hi,
>
> I have an error with sfDoctrinePager if i use groupBy into my request.
>
>
Hi Eddie,
If you really have some more months, I would prefer you working on the
trunk.
That's selfish, because more testers is always better :-)
If you don't want to be the guinea pig, then you should think about how much
propel 1.2 hurts you already now.
It might be easier for you to migrate to
On Mon, Sep 29, 2008 at 6:29 PM, Eno <[EMAIL PROTECTED]> wrote:
> Looks like there already if a wiki page with some of this info:
> http://trac.symfony-project.org/wiki/Optimization
>
> Should I re-organize and add to that?
Of course :)
I think it would be a great idea to have a centralized com
On Mon, 29 Sep 2008, Nicolas Perriault wrote:
> Nice check list. Would you mind creating a dedicated page on the wiki
> with these informations? This would be a nice addition to the chapter
> 18 of the book.
Looks like there already if a wiki page with some of this info:
http://trac.symfony-proj
On Sep 29, 2:36 pm, "Ian Christian" <[EMAIL PROTECTED]> wrote:
> 2008/9/29 halfer <[EMAIL PROTECTED]>:
>
> > Hi David
>
> > I am wondering if you might be running in CGI mode. In my view,
> > something like FastCGI or fcgi is essential for symfony, as it has a
> > lot of libraries that it needs to
On Mon, Sep 29, 2008 at 6:07 PM, Eno <[EMAIL PROTECTED]> wrote:
> Here's a mother load of general advice :-)
Nice check list. Would you mind creating a dedicated page on the wiki
with these informations? This would be a nice addition to the chapter
18 of the book.
++
--
Nicolas Perriault
http
On Mon, 29 Sep 2008, David Heath wrote:
> My questions for you:
> * have you conducted any load testing? What kind of results did you get?
> * any tips on how to identify the bottlenecks or sources of
> performance problems?
> * any other links to general advice?
Here's a mother load of gener
Hi everybody,
I'm seeking your advice here: currently I'm in development, using
- Symfony 1.1
- Propel 1.2
Since I keep having problems with Propel (memory leaks) I'd like to
change to the 1.3 version.
On the other hand the development will take some more months, so I
wonder if I should already
2008/9/29 Nicolas Perriault <[EMAIL PROTECTED]>:
> I've just run your example on my box and it works perfectly... Have
> you got a tweaked php.ini or apache configuration?
I've asked OP to email me over a copy of the problem, so hopefully
we'll be able to post what's going on soon. Sounds very od
On Mon, Sep 29, 2008 at 5:25 PM, Martin Groh <[EMAIL PROTECTED]> wrote:
> A short example: I have the following fields in my form: Name, Email
> and Message. If now only fill the Message (Name and Email are empty)
> and then submit the form, my parameters look the following;
> The name of the Ema
Hello,
Can you post the HTML output of your form ? and your form definition ?
Thomas
On Mon, Sep 29, 2008 at 5:25 PM, Martin Groh <[EMAIL PROTECTED]> wrote:
>
> I'm very sorry to annoy you all with this again. But I'm completely
> stuck with forms in sf1.1 (meanwhile I upgraded to 1.1.3).
>
> Ev
I'm very sorry to annoy you all with this again. But I'm completely
stuck with forms in sf1.1 (meanwhile I upgraded to 1.1.3).
Even if I strictly follow chapter one of the "Symfony Forms Book", I
get the my parameters mixed up. But only, if I leave parameter values
empty.
A short example: I have
On Mon, 29 Sep 2008, Nicolas Perriault wrote:
> Sure, in a filter:
>
> class catchErrorFilter extends sfFilter
> {
> public function execute ($filterChain)
> {
> try
> {
> $filterChain->execute();
> }
> catch (sfStopException $e)
> {
> throw $e;
> }
>
You might implement this as follow :
1. add new env called 'seo' or 'bot'
2. uses the sfNoStorage in factory.yml
3. make a case based on the IP in the index.php file to load the correct env.
Thomas
On Mon, Sep 29, 2008 at 2:30 PM, Paulo Magalhaes <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've a
Hello Kiril
Recently I faced the same problem (svn:externals within another
svn:externals) with Piston.
I fact "piston convert" does not work in this case.
But "piston import" works fine and has no problem handling multi-level
externals.
So if you use svn:externals in your project, first delete t
On Sep 4, 2:17 pm, Jérôme <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I try to launch "symfony cc" command, I get the following error :
>
> Parse error: syntax error, unexpected T_STRING, expecting
> T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}'
> ProjectConfiguration.class.php
>
> This is my Project
2008/9/29 halfer <[EMAIL PROTECTED]>:
> Hi David
>
> I am wondering if you might be running in CGI mode. In my view,
> something like FastCGI or fcgi is essential for symfony, as it has a
> lot of libraries that it needs to load up. If it has to do so on each
> request, it is bound to be slow.
Ha
2008/9/29 David Heath <[EMAIL PROTECTED]>:
> My questions for you:
> * have you conducted any load testing? What kind of results did you get?
> * any tips on how to identify the bottlenecks or sources of
> performance problems?
> * any other links to general advice?
>
> Thanks for any input you
On Sep 29, 12:23 pm, "David Heath" <[EMAIL PROTECTED]> wrote:
> Notes:
> 1. hardware 2.3GHz AMD Athlon X2 Dual core. 4GB Ram. Database and
> webserver running on same machine.
> 2. software - Mysql 5.0.32, php 5.2.0 (etch), APC 3.0.19. Symfony
> 1.0.11. Propel 1.2.1.
Hi David
I am wondering if y
Hi,
I've a site which has over a million of individual pages (URLs), and
whenever google bots scans the site, each request gets a new session
generated (google bots don't send cookies). Besides wasting my
resources, it messes up my 'users online' count based on sessions
updated in the last X
Hi David,
its very great to see someone actually used tooling to reproduce such
measuring. Many people currently just use the Web Debug toolbar to tweak
while development.
As you asked for further reference, I would like to invite you to check if
my slides here give any value for you:
http://www.s
Hi,
I'm working on a social-network style web application for a client
which we hope to launch soon. The application is built on symfony 1.0.
As part of the preparation for launch, I've conducted some load
testing using JMeter (it's the first time I've used it).
To run the test, I created a sam
hi,
how we can clear the session attributes in symfony 1.0 after
session time out
Thanks,
Kusum
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfo
Hi cooker,
On Mon, Sep 29, 2008 at 1:11 PM, cokker <[EMAIL PROTECTED]> wrote:
>
> We need some more information.
>
> Which css isn't working. Css from symfony or your own?
>
> If your own isn't working look into view.yml
>
> In sf1.1 helpers are deprecated? (I'm correct? Not using 1.1)
>
Thanks
Calling an url results in execution of an action.
Inside this action you can retrieve the parameter via
$this->getRequestParameter('seccion');
In your action you can also create a criteria to query you DB with this
parameter.
Perhaps you should read the documentation.
greets
Sven
AlainRaymon
We need some more information.
Which css isn't working. Css from symfony or your own?
If your own isn't working look into view.yml
In sf1.1 helpers are deprecated? (I'm correct? Not using 1.1)
greets
Sven
Prashanth schrieb:
> Hi,
>
> I am new to symfony, i installed symfony using pear and my
37 matches
Mail list logo