[symfony-users] Re: eAccelerator settings

2009-09-24 Thread Sumedh
No one? :( On Sep 23, 4:07 pm, Sumedh sumedh.inam...@gmail.com wrote: Hi All, I configured eAccecerator successfully on an ubuntu server... Now I wanted to know a little bit more about how to tweak default settings - http://www.eaccelerator.net/wiki/Settings I didn't find much around

[symfony-users] Re: plugin js css

2009-09-24 Thread smellycat37
Is it possible to define a view.yml file in the folder /plugins/ myPlugin/config/ to load js and css from myPlugin in the head of the html page or do I add them in /apps/backend/config/view.yml ? On 15 sep, 17:53, david da...@inspiredthinking.co.uk wrote: Aye.  I was thinking more that it's

[symfony-users] Dev working, Prod fail.

2009-09-24 Thread Cyril G
Hi, I have a problem that I don't understand. In local, as well as on the production server, my project not working if I use the prod environnement, but it works in dev environnement. I have a white empty page (WSOD), without any error. The symfony log's as well as the apache log's are empty. I

[symfony-users] Re: Dev working, Prod fail.

2009-09-24 Thread Gábor Fási
Try reverting to 1.2.8, the lates stable release of the 1.2 branch. If it doesn't help, edit the prod environment's error_reporting so you can see where the problem is. On Thu, Sep 24, 2009 at 10:37, Cyril G magiccy...@gmail.com wrote: Hi, I have a problem that I don't understand. In local,

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Matt Robinson
On Sep 23, 12:29 pm, bghost bggho...@gmail.com wrote: First: [..] So you complicate some tasks in the Symfony framework that already was simple and good. Well, that's certainly an opinion. Second: Almost 90% of the code that generates the Symfony framework developer need to modify or

[symfony-users] Re: Dev working, Prod fail.

2009-09-24 Thread Cyril G
I reverted to 1.28, and I edit the prod environment's with the same properties as the dev environment's and WSOD. I installed sfErrorHandlerPlugin, and WSOD too. On 24 sep, 11:08, Lee Bolding l...@leesbian.net wrote: Or give sfErrorHandlerPlugin a shot - it should eliminate your WSOD :)

[symfony-users] Re: Dev working, Prod fail.

2009-09-24 Thread Lee Bolding
Hmm... well, I've just been dealing with a similar problem at the moment on a non-Symfony project. Looks like it could be caused by a peculiarity (bug?) when a cast object is expected and the object type can't be found by any autoloader... seems to cause an immediate fatal error with no

[symfony-users] I18n improvements

2009-09-24 Thread Alexandru-Emil Lupu
Hi! there is no chance to be able to do following stuff in the next release of symfony? A. I18n support for plugins (a i18n:extract-plugin task), that would save for each plugin in a [pluginName]/i18n/ folder a file with the translations B. In the forms framework, the posibility to save the

[symfony-users] Re: Server has gone away

2009-09-24 Thread Tom Haskins-Vaughan
Well, basically, I have to download loads of file, unzip them and process the content. But I only get 15 minutes of execution time with my current host, so I have a log table which tells me where I am and where to pick up from the next time the script runs (every 20 minutes). I need to know

[symfony-users] Re: Server has gone away

2009-09-24 Thread Jeremy Thomerson
Are you generating this file during an HTTP request that is also downloading it? Although I still don't understand what you're doing, try changing it to a command line task rather than something that is triggered by HTTP. Then execute it from the shell or cron. Then you can just rsync the

[symfony-users] Re: eAccelerator settings

2009-09-24 Thread Eno
On Wed, 23 Sep 2009, Sumedh wrote: Following settings look interesting to me - eaccelerator.shm_size eaccelerator.shm_max eaccelerator.shm_ttl eaccelerator.shm_prune_period How much memory should I allocate to it? No easy way to say how much you need. You should use defaults, test

[symfony-users] Re: Server has gone away

2009-09-24 Thread Tom Haskins-Vaughan
I'm running the script as a task with a cron job. I'm not generating the file, the files are held in a remote ftp directory, posted by a real estate listing service. They're basically a pipe delimited files of new and modified properties for sale. So my flow is: 1. download file, creating

[symfony-users] Re: Add another item functionality

2009-09-24 Thread fakingfantastic
thanks alo, Eno. I'm looking into this now... On Sep 24, 12:00 am, Eno symb...@gmail.com wrote: On Wed, 23 Sep 2009, fakingfantastic wrote: I am current building a quote system for a company so that they can make Quotes for customers. In it, they have and ability to add an (seemingly)

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Jonathan Wage
Ignorance is bliss. - Jon On Thu, Sep 24, 2009 at 10:04 AM, bghost bggho...@gmail.com wrote: This is generated HTML code that I got after inserting the language component within a table cell: td?php include_component('language', 'language') ?/td where component 'language' is a component

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread bghost
This is generated HTML code that I got after inserting the language component within a table cell: td?php include_component('language', 'language') ?/td where component 'language' is a component that uses Symfony WEB forms: (from Jobeet tutorial): form action=/change_language input

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Andrei Dziahel
Hi. So what's wrong with components? Can't your designer learn to look into apps/currentappname/modules/modulename/templates/_componentname.php when encountering ?php include_component('modulename', 'componentname') ? or what? 2009/9/24 bghost bggho...@gmail.com This is generated HTML code

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread david
You can lead a horse to water, but you can't make it drink. On Thu, 24 Sep 2009 17:13:06 +0200, Jonathan Wage jonw...@gmail.com wrote: Ignorance is bliss. - Jon On Thu, Sep 24, 2009 at 10:04 AM, bghost bggho...@gmail.com wrote: This is generated HTML code that I got after inserting

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Stephen at Sacramento
Boy, am I glad to see someone say that the sf documentation needs examples and more cross-references to tutorials and other places where elements can be seen in practice. I'ts all well and good for the senior developers to sit back on their heals and smugly say, Well, if you were a REAL

[symfony-users] Event to help me reset my own singletons on restart() in a functional test?

2009-09-24 Thread Tom Boutell
I'm writing functional tests in Symfony. I'm running into the problem that the restart() method seems to reset some things - perhaps the sfContext() instance is being recreated, I'm not sure - but my own classes have no way of knowing that it is time to discard any singletons or static class

[symfony-users] Re: Event to help me reset my own singletons on restart() in a functional test?

2009-09-24 Thread Thomas Rabaix
In your ProjectConfiguration register to a ''context.load_factories. So you can easily reset your singleton within a callback method. On Thu, Sep 24, 2009 at 6:44 PM, Tom Boutell t...@punkave.com wrote: I'm writing functional tests in Symfony. I'm running into the problem that the

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread david
This is an example of the type of doc content that's useful and should cover everybody from newbies to somebody more seasoned with the framework. http://msdn.microsoft.com/en-us/library/system.timezone.aspx Having this level of content, however, takes time and effort to write, translate

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread bghost
Hello, Yes, and this is content of template: form action=?php echo url_for('@change_language') ? ?php echo $form ?input type=submit value=ok / /form And please, can you tell me why is the fucking select box inserted outside from the form? Variable $form is object of sfFormLanguage type which

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread david
Possibly - but delegation is a beautiful thing :) On Thu, 24 Sep 2009 20:46:10 +0200, Eno symb...@gmail.com wrote: On Thu, 24 Sep 2009, david wrote: It would however need over-sight and management by the core SF team. I suspect lack of resources would be a problem here. -- Using

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Eno
On Tue, 22 Sep 2009, bghost wrote: Symfony has become too complicated. Also, Symfony folder structure has become too complicated. We're talking about a handful of folders which all have a logical place but generally, in day-to-day coding you're only dealing mainly with one or two folders.

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread david
You might want to calm down on the language. This is a peer support mailing list - throwing your dummy out of the pram/push-chair/stroller isn't going to generate much in the way of help. You might want to look at the documentation specifically around forms for pointers on where you have

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Alexandru-Emil Lupu
David, that is really allready happening If you would go to the Plugins section of the site, then in the right side you'll be able to see a Create an accounthttp://www.symfony-project.org/user/new link, that will allow you to register as Symfony developer. After that you may also go to the

[symfony-users] Form posting problem

2009-09-24 Thread Lorand Tamas
Hi all, I have a form posting problem: - in the main template (article) i display some informations, and i include a component, which display a form (contact). - the form action was set to a specific action (submitContact) - when i post the form i receive back the same main template (article)

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Eno
On Wed, 23 Sep 2009, bghost wrote: No offense Fabien, this is a well-meaning criticism. I know that you invested so much effort into Symfony. However, you are a little exaggerated forcing object model and object-oriented programming where it is necessary - and where it is not (as is the

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Thomas Rabaix
bghost, 1. Don't use *(#...@% words in this mailing list, this does not help 2. A framework is a set of components, some of them are optionals, these include sfForm, so yes if you don't like it you are free to use other lib : Zend_Form or and other Framework_Form_Class. 3. echo $form is ONLY for

[symfony-users] Re: Form posting problem

2009-09-24 Thread Alexandru-Emil Lupu
could you show us some code ? also posible problems: - form invalid - a bad redirect - form action wrong - forms not closed properly I will wait your code to be able to say more // paste the component form / layout + article form / layout Alecs On Thu, Sep 24, 2009 at 10:05 PM, Lorand Tamas

[symfony-users] Re: How to get ID of last object insert

2009-09-24 Thread ferdjuan
bindAndSave() is a life saver, it returns true if the form validates and if the data is saved into the database, take a look at http://www.symfony-project.org/forms/1_2/en/04-Propel-Integration for more information, that tutorial is terrific. The downside however is that it returns a boolean, and

[symfony-users] project in a hosting server, there are problems with the URLs

2009-09-24 Thread Daniel Echalar
hi to all i have a hosting, but not a domain i have uploaded to my hosting using ftp in the next way: in the root: /apps /cache /config /data /doc /lib /logs /plugins /temp /test /web .htaccess symfony symfony.bat also the / directory has a public_html directory so my root directory is like

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Eno
On Thu, 24 Sep 2009, bghost wrote: Yes, and this is content of template: form action=?php echo url_for('@change_language') ? ?php echo $form ?input type=submit value=ok / /form And please, can you tell me why is the fucking select box inserted outside from the form? Its an object

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Jonathan Wage
I really have to give my two cents because I really think you have a lot to learn as a developer but more importantly as a person. You better start preparing for a career change if you are unable to adapt and learn something as simple as this. Other people all over the world are using these tools

[symfony-users] Re: project in a hosting server, there are problems with the URLs

2009-09-24 Thread Eno
On Thu, 24 Sep 2009, Daniel Echalar wrote: now public_html looks like this: /css /images /js /uploads .htaccess robots.txt Where is your index.php? http://www.myhostingprovider.com/~withoutdomain/index.php Makes sense, because public_html is a user dir. In other words, it's

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Eno
On Thu, 24 Sep 2009, Alexandru-Emil Lupu wrote: be invalid ) or have been analised, and another 255 tickets are posted in order to be analised. You mean analyze. ANALYZE. Please no porn on this list! :-) -- --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: How to get ID of last object insert

2009-09-24 Thread Eno
On Thu, 24 Sep 2009, ferdjuan wrote: bindAndSave() is a life saver, it returns true if the form validates and if the data is saved into the database, take a look at http://www.symfony-project.org/forms/1_2/en/04-Propel-Integration for more information, that tutorial is terrific. The downside

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Sid Bachtiar
Seriously, if you had not posted this, we'd still think you're a smart guy, who just doesn't like Symfony's way of doing things. But now, well ... familiar with the quote below? Better to remain silent and be thought a fool than to open one's mouth and remove all doubt On Fri, Sep 25, 2009 at

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Alexandru-Emil Lupu
Bghost, Is your only your choice if you want to really shut up this nonsense stuff and: - maybe let your experience to improve this framewok - leave - make a tutorial for the new comers. A tutorial like: I am new to symfony, and i want to apply symfony in X project. Let's start. I doubt that if

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread bghost
Ok, I found problem: The form rendering process inserting something like this for the form rows: form action=...bla...bla.. input type=hidden name=symfony value=3d454099 / tr thlabel for=first_nameFirst name/label/th tdinput type=text name=first_name value=Fabien class=foo

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread david
It's in the manual: http://www.symfony-project.org/forms/1_2/en/A-Widgets#chapter_a_sfwidgetformschema On Thu, 24 Sep 2009 23:20:25 +0200, bghost bggho...@gmail.com wrote: Ok, I found problem: The form rendering process inserting something like this for the form rows: form

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Matt Robinson
On Sep 24, 10:20 pm, bghost bggho...@gmail.com wrote: And where is the problem guys? I think the problem is that you obviously do not suffer any criticism. That's right, that's why we're all secretly using symfony 0.6, which is perfect. Don't let the door hit you on the way out.

[symfony-users] Site slow on ovh RPS 1

2009-09-24 Thread greg
Hello i have rent an OVH RPS1 Its features : Processeur Intel Atom mono 1.60 GHz L2: 512Ko, FSB: 533MHz Architecture32 - 64 bits Mémoire vive512 Mo DDR2 Espace disque SAN 10 Go 20 Go Extensible à 1 To (1000 Go) par tranche de 10 Go 2€ HT /mois (2.39€ TTC) 5€ HT /mois (5.98€ TTC)

[symfony-users] accessing refClass fields with doctrine

2009-09-24 Thread realmerx
Hello, What would be the best practice to access extra fields in refClass. I have following many to many schema: Item: actAs: { Timestampable: ~ } columns: name: type: string(255) notnull: true file: type: string(255) notnull: true Collection: actAs: {

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-24 Thread eMerzh
I Totally agree.. for me the lack of a clear and complete api is the biggest pbm of Sf... i have another example : here http://www.symfony-project.org/api/1_2/sfTestFunctionalBase#method_checkresponseelement you can find the documentation about checkResponseElement , and his option parameter...

[symfony-users] PHP Fatal error: Uncaught exception 'sfStopException'

2009-09-24 Thread ollietb
Hi there I've noticed that my PHP logs are full of thousands of PHP Fatal error: Uncaught exception 'sfStopException' errors whenever an action is forwarded or redirected. It's making it hard for me to debug errors. The offending code is in the sfAction class. Here is one example. public

[symfony-users] Job offer for Symfony programmers

2009-09-24 Thread tomaso.rodriguez
I actually don't know if it is possible to make job offers through this group. If it's not, please tell me. My name's Tomaso Rodriguez, me and a friend of mine are working on some projects using symfony. We have a lot of important works and we need some other programmers to help us. In a short

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Stig Manning
Ghost, If you really need help (and are not just trolling), then have at look at my blog post regarding the new sfForms system http://www.sdm.co.nz/using-the-new-symfony-11-forms/ This will help you use the forms in a designer friendly way, including a validation panel with list of errors.

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Eno
On Thu, 24 Sep 2009, bghost wrote: This is bad formatted HTML - where is table tag? Using tr, th and td without table - terrible ! As the example in the docs show, *you* must supply that: http://www.symfony-project.org/forms/1_2/en/01-Form-Creation#chapter_01_sub_displaying_the_form --

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Lee Bolding
Hmmm... I'm kind of inclined to agree that using tables is just bad, regardless of whether or not the opening table tag is missing. Any reason Symfony doesn't default to using dl/dd/dt like Zend_Form does? (that's about the only good thing I have to say about Zend_Form) Wouldn't that be

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Sid Bachtiar
Probably because table is easier for majority of developers. Those who dislike table are usually advanced enough to change the default settings I think that's the reason On Fri, Sep 25, 2009 at 10:35 AM, Lee Bolding l...@leesbian.net wrote: Hmmm... I'm kind of inclined to agree that using

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread david
Sid's right. Managing change with these types of things is quite hard. Once defaults are set and people build around it - changing to another default breaks apps. It can take 3 major versions for such a change to filter through - look at what the PHP core is going through. On Fri, 25 Sep

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread bghost
Ok Eno, I visited that link and I did not thrilled because I found something wrong again: form action=/frontend_dev.php/contact/submit method=POST table !-- Beginning of generated code by ?php echo $form ? -- tr thlabel for=nameName/label/th tdinput type=text name=name

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Jeremy Thomerson
I've avoided responding on this thread to this point because your rude foul-mouthed criticism is ridiculously ignorant and malicious. But, since you once again call all developers here stupid, please be quickly proven wrong by reading the INTRODUCTION TO TABLES by the W3C. If you don't know who

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Sid Bachtiar
Hello moderator, Can we please lock this thread? This thread has been going on far too long. I'd say borderline trolling. This is getting really annoying. We can't teach bghost all the basics in this one long thread. bghost, if you still think you know what you're talking about, I dare you to

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread bghost
And? Where you saw any recommendation to use th tags outside thead ?? I never said that any developer is stupid here. But now I have changed my opinion under the pressure of your arguments. Anyway, finally I would say this: Most of you are calling for some alleged benefits that are hidden

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Sid Bachtiar
This is my last post here. I'm so glad! GOOD BYE!!! On Fri, Sep 25, 2009 at 1:34 PM, bghost bggho...@gmail.com wrote: And? Where you saw any recommendation to use th tags outside thead ?? I never said that any developer is stupid here. But now I have changed my opinion under the pressure

[symfony-users] Re: Site slow on ovh RPS 1

2009-09-24 Thread greg
I have create an action(setLayout(false)) and a empty template with 'gg'. Here http://www.punchline.fr/neant The time to load the page is 0.550 ms around. and its very slow ... When i analyse with firebug network. i can see - 500 ms wait of answer -50 ms reception of data When i check other

[symfony-users] Re: Site slow on ovh RPS 1

2009-09-24 Thread Gregoire Laporte
Ok i have solved the problem. The problem comes from the server. The problem is flow iSCSI !! 1Mo/s is too slow :s Thank u all ! Date: Thu, 24 Sep 2009 20:12:02 -0700 Subject: [symfony-users] Re: Site slow on ovh RPS 1 From: saturn1...@hotmail.com To: symfony-users@googlegroups.com I

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread zeek
On Sep 24, 11:04 am, bghost bggho...@gmail.com wrote: This is generated HTML code that I got after inserting the language component within a table cell: td?php include_component('language', 'language') ?/td where component 'language' is a component that uses Symfony WEB forms: (from