[symfony-users] css/helper issue

2008-09-29 Thread Prashanth
Hi, I am new to symfony, i installed symfony using pear and my version is 1.1.2. I index page or anyother page is not loading the css and symfony helpers are also not working. Any idea how to debug this. -- regards, Prashanth http://munichlinux.blogspot.com

[symfony-users] sql optimalization

2008-09-29 Thread javo
Hi, I've made some project in Symfony and now I need to optimize sql quieries if possible When I try to change my settings in my app there're plenty of sql queries which can be done by one with the same effect for example ... # [0.47 ms] SELECT sf_guard_user_profile.ID FROM

[symfony-users] Select list as a result of a query

2008-09-29 Thread AlainRaymond
Hello, I'm having trouble creating a select list that is the result of a sql query. Some of the criteria required for it is given in the url when we create the form. For example the address is: localhost/evaluacionMicro/create/seccion/1 Where the variable that we need is 'seccion' and its

[symfony-users] Re: css/helper issue

2008-09-29 Thread cokker
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

[symfony-users] Re: Select list as a result of a query

2008-09-29 Thread cokker
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

[symfony-users] Re: css/helper issue

2008-09-29 Thread Prashanth
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 i resolved

[symfony-users] clear session attributes after session timeout in symfony 1.0

2008-09-29 Thread kusum
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

[symfony-users] Symfony performance - optimisation and testing

2008-09-29 Thread David Heath
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

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread Fabian Lange
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:

[symfony-users] Google bots and sessions

2008-09-29 Thread Paulo Magalhaes
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

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread halfer
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 you might

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread Ian Christian
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 can

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread Ian Christian
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. Has

[symfony-users] Re: Parse error in ProjectConfiguration.class.php

2008-09-29 Thread halfer
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

[symfony-users] Re: Developing Symfony 1.0, 1.1, 1.2, etc, Projects Simultaneously On One Machine

2008-09-29 Thread Eric Lemoine
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 the

[symfony-users] Re: Google bots and sessions

2008-09-29 Thread Thomas Rabaix
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 site

[symfony-users] Re: Send exception/error to an email address?

2008-09-29 Thread Eno
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; } catch

[symfony-users] Re: strange beahviour with request in forms1.1

2008-09-29 Thread Martin Groh
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

[symfony-users] Re: strange beahviour with request in forms1.1

2008-09-29 Thread Thomas Rabaix
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). Even if

[symfony-users] Re: strange beahviour with request in forms1.1

2008-09-29 Thread Nicolas Perriault
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 Email

[symfony-users] Re: strange beahviour with request in forms1.1

2008-09-29 Thread Ian Christian
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 odd

[symfony-users] Best way to switch to Symfony 1.2 and Propel 1.3 during development?

2008-09-29 Thread EddieG
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

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread Eno
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 general

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread Nicolas Perriault
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

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread halfer
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 load up. If it

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread Eno
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:

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread Nicolas Perriault
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

[symfony-users] Re: Best way to switch to Symfony 1.2 and Propel 1.3 during development?

2008-09-29 Thread Fabian Lange
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

[symfony-users] Re: sfDoctrinePager

2008-09-29 Thread Jonathan Wage
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. My

[symfony-users] Re: sfDoctrinePager

2008-09-29 Thread Bertrand Zuchuat
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:

[symfony-users] Re: sfDoctrinePager

2008-09-29 Thread Jonathan Wage
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.

[symfony-users] Re: sfDoctrinePager

2008-09-29 Thread Bertrand Zuchuat
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}

[symfony-users] Re: strange beahviour with request in forms1.1

2008-09-29 Thread Ian Christian
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(

[symfony-users] Blog NetBeans/PHP

2008-09-29 Thread roberto german puentes diaz
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

[symfony-users] Re: real autocomplete

2008-09-29 Thread Puentes Diaz, Roberto G. ([EMAIL PROTECTED])
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

[symfony-users] Re : [symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread Loïc Vernet
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 symfony-users@googlegroups.com Envoyé le : Lundi, 29 Septembre 2008, 18h07mn 40s

[symfony-users] sf1.2 sf_format and view.yml

2008-09-29 Thread Christian Schaefer
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

[symfony-users] Re: Select list as a result of a query

2008-09-29 Thread Eno
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