[symfony-users] Testing a class overriding sfGuardUser

2009-02-10 Thread dreur
Hi, I'm trying to test sfGuardUser but the sfGuardUserPeer only return me pluginSfGuardUser so I don't have access to the method I added. (Method not found in baseSfGuardUser) Other info in thread :

[symfony-users] Testing a class extending sfGuardUser

2009-02-10 Thread dreur
Changing subject. I'm trying to test a class ''extending'' sfGuarduser Thank you On Feb 10, 9:04 am, dreur boudreau.benja...@gmail.com wrote: Hi, I'm trying to test sfGuardUser but the sfGuardUserPeer only return me pluginSfGuardUser so I don't have access to the method I added. (Method

[symfony-users] Re: [OT?] Problem with UTF-8 encoding

2009-02-10 Thread Martino Piccinato
Thanks a lot, I was unaware of the problem. I've checked and I have no BOM signature, also my problems are not at the beginning of the page and regards exactly the non us-ascii chars. Thanks anyway On Mon, Feb 9, 2009 at 11:39 PM, alvaro harryjek...@gmail.com wrote: Have you checked your

[symfony-users] Re: Body onload after posting a form

2009-02-10 Thread Lupu Alexandru-Emil
you might wanna try document.onDomReady On Tue, Feb 10, 2009 at 8:16 AM, Sumedh sumedh.inam...@gmail.com wrote: No...we aren't using anything like jQuery... It's a simple html body tag defined in the template... After the error is handled, the template gets re-executed...but the body tag

[symfony-users] Re: Body onload after posting a form

2009-02-10 Thread Sumedh
But can't we make symfony generate the same Body tag it generated on the original page? :( On Feb 10, 2:05 pm, Lupu Alexandru-Emil gang.al...@gmail.com wrote: you might wanna try document.onDomReady On Tue, Feb 10, 2009 at 8:16 AM, Sumedh sumedh.inam...@gmail.com wrote: No...we aren't

[symfony-users] Reducing Apache memory consumption...

2009-02-10 Thread Sumedh
Hi Friends, I am using apache 2.2 in prefork MPM... I wanted to reduce the memory footprint of a single httpd process so that more processes can get accommodated in given memory... So, I've removed unnecessary LoadModule statements from httpd.conf... But that doesn't seem to lower the memory

[symfony-users] Re: Body onload after posting a form

2009-02-10 Thread Bernhard Schussek
Hi, On Tue, Feb 10, 2009 at 11:51 AM, Sumedh sumedh.inam...@gmail.com wrote: But can't we make symfony generate the same Body tag it generated on the original page? :( Well, one thing that we don't know is where your body tag is defined. Is it defined in your layout.php file? Are you using

[symfony-users] Re: Body onload after posting a form

2009-02-10 Thread Sumedh
Nope...it's in the template file...it's getting rendered fine when the page is loaded first... after form submit, if there is an error, the body tag doesnt have any onload... :( I am using only one layout file... On Feb 10, 4:15 pm, Bernhard Schussek bschus...@gmail.com wrote: Hi, On Tue,

[symfony-users] How to make form fields that depend on each other?

2009-02-10 Thread Bernhard Schussek
Hi all, I've been trying for a while to create a form with multiple fields that depend on each other, without success. Imagine the following form: LocationForm: - input widget longitude - input widget latitude - google map widget map The Google Map widget is rendered together with a bunch of

[symfony-users] Re: Body onload after posting a form

2009-02-10 Thread Bernhard Schussek
Hi, On Tue, Feb 10, 2009 at 1:30 PM, Sumedh sumedh.inam...@gmail.com wrote: Nope...it's in the template file...it's getting rendered fine when the page is loaded first... Could you upload the template code in some pastebin? Did you make sure the same template is used in both views? (before

[symfony-users] Overwriting values in through class

2009-02-10 Thread juro
Hi, I am using Doctrine for this project and have a problem with the following scenario. Article: actAs: Timestampable: ~ columns: id: type: integer(11) primary: true autoincrement: true title: string(255) relations: Categories: class: Category

[symfony-users] PHP 5.2.4 dependency

2009-02-10 Thread bpfar...@gmail.com
I'm currently developing an application in sf1.2 (which is awesome, congrats Fabien), but I have to deploy to a centOS machine, which only supports php 5.1.6. I have a few questions: 1) I uploaded my source, and all the pages work except the homepage, which gives a SQLSTATE error. Is it

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread Fabien Potencier
bpfar...@gmail.com wrote: I'm currently developing an application in sf1.2 (which is awesome, congrats Fabien), but I have to deploy to a centOS machine, which only supports php 5.1.6. I have a few questions: 1) I uploaded my source, and all the pages work except the homepage, which

[symfony-users] propel:build-model segmentation fault

2009-02-10 Thread Garakkio
I don't know exactly when, but in last days symfony started to segfault for each build-model I do. No matter how complex or simple is schema.yml (I even tried with a single dummy table with only a primary key). I also tried on different machines (my local is Ubuntu 8.10 with PHP 5.2.6, a remote

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread Pablo Godel
Hi Brendan, You should consider downloading and compiling PHP from source. CentOS PHP package is so old and behind is not even funny. It is completely retarded to think that because it comes in a RPM it will be more secure. Pablo On Tue, Feb 10, 2009 at 9:52 AM, bpfar...@gmail.com

[symfony-users] Re: Prototype + Ajax browser cache

2009-02-10 Thread Pablo Godel
yup, always use POST, specially with IE, which will cache all GET requests. Pablo On Tue, Feb 10, 2009 at 2:00 AM, Sid Bachtiar sid.bacht...@gmail.com wrote: I think GET request could/might be cached and so worth putting random number, but not POST. But again, I don't know if they are being

[symfony-users] hard redirect for index page

2009-02-10 Thread Iltar
Whenever I come at mywebsite.com, I want to be redirected to mywebsite.com/site/index. I know how with rewrites, but if it's possible within symfony, I'd rather do that. Is that possible, if so how? --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread Iltar
If php 5.2.6 wasn't secure, ubuntu wouldn't have it. I recommend changing OS. CentOS is great for uptime, but the packages are way behind... On Feb 10, 4:59 pm, Pablo Godel pgo...@gmail.com wrote: Hi Brendan, You should consider downloading and compiling PHP from source. CentOS PHP package

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread bpfar...@gmail.com
If it was up to me, we'd be using a different distro. Thanks for the advice, I think I'll try to convince my sysadmin to upgrade to 5.2.4. -Brendan On Feb 10, 11:47 am, Iltar kja...@gmail.com wrote: If php 5.2.6 wasn't secure, ubuntu wouldn't have it. I recommend changing OS. CentOS is great

[symfony-users] Own filters for existing module

2009-02-10 Thread Tomasz Ignatiuk
Hi guys. I have a backend application made by admin generator in SF 1.2 I have a module with document which has filters,list etc. Now I created another module without model - reports. I copied all actions from document cache to report actions. Also I copied list templates, filters templates etc.

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread François Hucliez
I don't see my question... I guess I have used reply to author... So here it is : I have almost the same problem, the sysadmin doesn't want to upgrade, but the server has php 5.2.0 . Since we can read at http://www.symfony-project.org/installation that php version need to be = 5.2, should I

[symfony-users] I18N : Call to undefined method __()

2009-02-10 Thread Salim
Hi all, I have some trouble trying to make I18N works on a new project. I have put this in my settings.yml (Symfony 1.2.3) : all: .settings: i18n: on standard_helpers: [Partial, Cache, Form, I18N] But when I try to access a localized web page I have a Fatal error: Call to undefined

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread Fabien Potencier
François Hucliez wrote: I don't see my question... I guess I have used reply to author... So here it is : I have almost the same problem, the sysadmin doesn't want to upgrade, but the server has php 5.2.0 . Since we can read at http://www.symfony-project.org/installation that php version

[symfony-users] Re: I18N : Call to undefined method __()

2009-02-10 Thread Salim
I figured out what was the problem : I just had to move the .actions section before .settings in the settings.yml file and everything is OK app: .actions: # ... .settings: i18n: on Thank's for your answer ! On Feb 10, 7:00 pm, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote: Did

[symfony-users] Re: I18N : Call to undefined method __()

2009-02-10 Thread Tomasz Ignatiuk
Did you clear cache? Also try to erase sessions in your browser and restart it. On 10 Lut, 17:37, Salim salim.semao...@gmail.com wrote: Hi all, I have some trouble trying to make I18N works on a new project. I have put this in my settings.yml (Symfony 1.2.3) : all:   .settings:     i18n:

[symfony-users] Re: Overwriting values in through class

2009-02-10 Thread Jonathan Wage
Hmm. This is an issue because we unlink() everything first then relink the selected records. Can you create a ticket and we'll have to fix this in a later version.. Thanks, Jon On Tue, Feb 10, 2009 at 7:58 AM, juro fo...@juro.at wrote: Hi, I am using Doctrine for this project and have a

[symfony-users] Re: [ costumize validator for admin application ]

2009-02-10 Thread Nabil EL GHALI
Hi , im using symfony 1.1 and i'm searching to build two modules ( ex : candidates and employees ) with the same Model please any idea to make that . thank's a lot for help . Nabil --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[symfony-users] Build Two Modules with the same Model

2009-02-10 Thread Nabil EL GHALI
Hi , im using symfony 1.1 and i'm searching to build two modules ( ex : candidates and employees ) with the same Model please any idea to make that . thank's a lot for help . Nabil --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[symfony-users] Re: Build Two Modules with the same Model

2009-02-10 Thread Iltar
A module in an application? On Feb 10, 7:47 pm, Nabil EL GHALI nelgh...@gmail.com wrote: Hi , im using symfony 1.1 and i'm searching to build two modules ( ex : candidates and employees ) with the same Model please any idea to make that . thank's a lot for help . Nabil

[symfony-users] Re: [ costumize validator for admin application ]

2009-02-10 Thread Martino Piccinato
Given your application is named public and the model class you want to use with both modules is Person just issue this two commands from cli symfony propel:generate-crud public employee Person symfony propel:generate-crud public candidates Person Martino On Tue, Feb 10, 2009 at 7:44 PM, Nabil

[symfony-users] Re: hard redirect for index page

2009-02-10 Thread Martino Piccinato
just write in the default action (usually module:default, action: index but you can change it in routing.yml) $this-redirect('site/index'); I don't know if you have a special reason to issue a redirect, using routing.yml you could just map / (the root url) to site/index. On Tue, Feb 10, 2009

[symfony-users] Making sfGuardUsers soft-deletable

2009-02-10 Thread juro
Hi, I am using the sfDoctrineGuardPlugin and would like to make the users soft deletable. What is the best way to do this without loosing the change everytime I do a svn:externals update? juro --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread Tom Boutell
I feel your pain. I support CentOS systems, and one even older RHEL system. PHP 4.x was the installed version on THAT. Obviously, not good enough. As Fabien says, Symfony 1.2 has real dependencies on PHP 5.2.x so that requirement will not be going away. As for what you should do next: Please

[symfony-users] Re: sfLucene update

2009-02-10 Thread krassswr krasssswr
That is great :) can you think about make a version for propel please? On Mon, Feb 9, 2009 at 7:29 PM, Thomas Rabaix thomas.rab...@gmail.comwrote: Hello, I have updated the sfLucene plugin with new tasks : - rebuild-index : index only one index - update-model : index one model for

[symfony-users] some ideas for sfGridPlugin

2009-02-10 Thread Matthias N.
Hi Bernhard, I think it would be a good thing to have support for multi sort with sfGrid. And I have a suggestion how this could work and look like without Javascript: - there should be a link to switch between single and multi sort mode (and/or a config option) - in multi mode the sortable

[symfony-users] Re: some ideas for sfGridPlugin

2009-02-10 Thread Matthias N.
Unfortunately I forgot another feature request: There should be a way to enable a dynamic / automatically built filter form and place each filter widget right below the column head. So that you have form fields at each column to filter records which makes filtering pretty intuitive to use. At

[symfony-users] Re: Override save() of embedded forms

2009-02-10 Thread Paolo Mainardi
On Mon, Feb 9, 2009 at 8:05 PM, Jonathan Wage jonw...@gmail.com wrote: We have a few tickets existing for it. I'll talk with Fabien when I see him online and see what he thinks after I explain it to him. We'll re-open one of the tickets if he agrees. Thanks, Jon Hi Jon, Do you have some

[symfony-users] Re: hard redirect for index page

2009-02-10 Thread Iltar
How can I set a global routing? Because I can only set it per application... In this case game is another app than site, which is logical. basicaly I get this: site.com should redirect (visible to visitor, better for google, prevents double indexing) to site.com/site/index/ index.php loads

[symfony-users] Re: Making sfGuardUsers soft-deletable

2009-02-10 Thread Lee Bolding
copy the schema into config/doctrine and enable soft delete in that. it should override the plugins own schema On 10 Feb 2009, at 19:35, juro wrote: Hi, I am using the sfDoctrineGuardPlugin and would like to make the users soft deletable. What is the best way to do this without loosing the

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread Lee Bolding
On 10 Feb 2009, at 19:35, Tom Boutell wrote: Sysadmins who don't want to compile stuff from source are sysadmins who know how messy things can get when you lose track of all that stuff you compiled from source. Is that not what the sysadmin part of the job title entails? ;) This is what

[symfony-users] Re: some ideas for sfGridPlugin

2009-02-10 Thread Bernhard Schussek
Hi Matthias, First of all, thanks for all the feedback. I really appreciate it. On Tue, Feb 10, 2009 at 8:59 PM, Matthias N. matthias.nothh...@googlemail.com wrote: I think it would be a good thing to have support for multi sort with sfGrid. And I have a suggestion how this could work and

[symfony-users] Re: hard redirect for index page

2009-02-10 Thread Bernhard Schussek
On Tue, Feb 10, 2009 at 9:31 PM, Iltar kja...@gmail.com wrote: How can I set a global routing? Because I can only set it per application... In this case game is another app than site, which is logical. You can specify rewrite rules in .htaccess that tell the webserver which paths do load

[symfony-users] sfFormExtraPlugin

2009-02-10 Thread elliesdad
Hello. I have posted this to the forums but unfortunately I have been unable to resolve the issue despite some helpful people posting. I am unable to get the datepicker widget to display an image which can be clicked on to bring up the calendar. I am trying the following:

[symfony-users] symfony -V failure: command not found

2009-02-10 Thread Stephen at Sacramento
I've just installed symfony successfully on my dev server, following the instructions on p. 39 of the Symfony book (Installing the symfony PEAR Package). When I come to the point of checking the installation using the command symfony -V it get a failure message as follows: $ pear install

[symfony-users] Re: symfony -V failure: command not found

2009-02-10 Thread Bernhard Schussek
Hi Stephen, On Tue, Feb 10, 2009 at 11:02 PM, Stephen at Sacramento sshaf...@microdataware.com wrote: $ symfony -V -bash: symfony: command not found This happens because no symlink to the symfony binary has been placed in the /usr/bin directory. Thus the bash does not know where to find it.

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread Abhinav Keswani
On Wed, Feb 11, 2009 at 9:47 AM, Lee Bolding l...@leesbian.net wrote: On 10 Feb 2009, at 19:35, Tom Boutell wrote: Sysadmins who don't want to compile stuff from source are sysadmins who know how messy things can get when you lose track of all that stuff you compiled from source. Is

[symfony-users] Two different autoload.cache file between clear cache

2009-02-10 Thread dreur
Hi, In test environnement, I'm trying to call sfGuardUser-customMethod() but half of the time the autoload doesn't work as expected and give me the sfGuardUser in the plugin directory and not my lib/model directory. The autoload file in the cache is 25k when it doesn't work and 136k when it

[symfony-users] Re: Override save() of embedded forms

2009-02-10 Thread Jonathan Wage
I haven't been able to talk to him about it yet. I will report back here as soon as I have discussed it with him. Thanks, Jon On Tue, Feb 10, 2009 at 2:10 PM, Paolo Mainardi paolomaina...@gmail.comwrote: On Mon, Feb 9, 2009 at 8:05 PM, Jonathan Wage jonw...@gmail.com wrote: We have a few

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread Eno
On Tue, 10 Feb 2009, bpfar...@gmail.com wrote: 3) My sysadmin is refusing to upgrade to php 5.2.4 because he thinks that there are inherent security flaws in anything that's not in rpm. Is this the case? Generally, Linux distributions based on binary packages are slower to release new

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread Eno
On Tue, 10 Feb 2009, Pablo Godel wrote: It is completely retarded to think that because it comes in a RPM it will be more secure. To be fair, it does mean that developers have built and tested the binary packages. But some distros are very slow to update. I used to run RedHat servers and

[symfony-users] Re: PHP 5.2.4 dependency

2009-02-10 Thread Eno
On Tue, 10 Feb 2009, Tom Boutell wrote: 3. Make it part of your admin's job to follow the PHP new releases blog and immediately rebuild PHP whenever a new 5.2.x release comes out. This is the only responsible way to build PHP from source on a production site. There are RSS feeds here: