Re: [symfony-users] Re: Jobeet tutorial | Day 3 | doctrine:insert-sql

2010-05-12 Thread Kim Rowan
appreciate your help in trying to sort this out! Is there anything else I could check? Kind regards Kim On 11/5/10 17:37, grahamj42 graham...@orange.fr wrote: Did you follow the instructions under the subtitle The Database to create the schema and configure Symfony's config/databases.yml file

[symfony-users] Jobeet tutorial | Day 3 | doctrine:insert-sql

2010-05-11 Thread Kim Rowan
I am new to Symfony and Doctrine and I am trying to work my way through the Jobeet tutorial (using v1.4). I am currently stuck at the following command: php symfony doctrine:insert-sql It gives me the following error in Terminal (I'm using a Mac 10.5.8): SQLSTATE[3D000]: Invalid catalog

[symfony-users] Re: isValid always showing false

2010-04-20 Thread kim
a form based on the validators you create in the forms object. Its not used to see if the form structure itself is valid. On Mon, Apr 19, 2010 at 4:37 PM, kim thechosendra...@gmail.com wrote: hello, To see if a object is correct i put it in a form (but never show it) then i try the isValid

[symfony-users] brackets in doctrine

2010-04-20 Thread kim
hi i have to nest some or / and conditions but i need brackets in my sql statement to do it in the right order but how do you make this is thould be in this form (... OR ...) AND ... thnx greetings -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: brackets in doctrine

2010-04-20 Thread kim
I solved it now by doing this ... AND ... OR ... AND ... this works for now but i'm still wondering how you can do functionality like with the brackets On 20 apr, 15:24, kim thechosendra...@gmail.com wrote: hi i have to nest some or / and conditions but i need brackets in my sql statement

[symfony-users] Re: brackets in doctrine

2010-04-20 Thread kim
this) greetings On 20 apr, 17:42, Daniel Lohse annismcken...@googlemail.com wrote: -where('column1 = ? AND (column2 = ? OR column3 = ?)', array(1, 2, 3)); Just nest them inside one where clause. :) Sent from my iPhone On Apr 20, 2010, at 4:34 PM, kim thechosendra...@gmail.com wrote: I

[symfony-users] Re: sort with paging

2010-04-19 Thread kim
and pagination. It works really well. On Fri, Apr 16, 2010 at 2:40 PM, kim thechosendra...@gmail.com wrote: normaly that would be a good solution but in my case it isn't because you also have a search for this and the parameters are in a post but this is not in the same form

[symfony-users] isValid always showing false

2010-04-19 Thread kim
hello, To see if a object is correct i put it in a form (but never show it) then i try the isValid() function but this always shows false i tried to check global errors, errors but all arrays are empty this is my code: $form = new paperForm($paper);

[symfony-users] call javascript from actionsclass

2010-04-16 Thread kim
hello this should be a simple question but i really don't find the solution on the internet I want to start a javascript function from my actions class. in my templates i can do this like onChange=JavaScript:retrieve(this.options[this.selectedIndex].value); but i want to do the same function in

[symfony-users] sort with paging

2010-04-16 Thread kim
hi, I made a program with a table that you can search on and use pagination but now i want to sort it (like in the admin control but when i look at this code i can't finde the templates to see how it is done in there) and i couldn't use the admin because then i wouldn't have the liberty to change

[symfony-users] Re: sort with paging

2010-04-16 Thread kim
: addSortOrder or, you can use a custom Query to solve the problem. On Fri, Apr 16, 2010 at 12:34 PM, kim thechosendra...@gmail.com wrote: hi, I made a program with a table that you can search on and use pagination but now i want to sort it (like in the admin control but when i look

[symfony-users] Re: sort with paging

2010-04-16 Thread kim
oh yeah maybe i should also say it must be sorted by clicking the headers not just directly sort (cause this is just adding a order by and this is already done but i want them to be able by clicking the header it gets sorted on that table just like the standard admin does) On 16 apr, 11:21, kim

[symfony-users] Re: sort with paging

2010-04-16 Thread kim
mention this before on another question like this. Just create a link on the header to an action that then amends the criteria with an order by for the query each time and rerun the query with that new order by. On Fri, Apr 16, 2010 at 12:26 PM, kim thechosendra...@gmail.com wrote: oh yeah

[symfony-users] Re: call javascript from actionsclass

2010-04-16 Thread kim
as HTML in the first page call? On Fri, Apr 16, 2010 at 5:29 AM, kim thechosendra...@gmail.com wrote: hello this should be a simple question but i really don't find the solution on the internet I want to start a javascript function from my actions class. in my templates i can do

[symfony-users] Re: sort with paging

2010-04-16 Thread kim
. We had to do this on our rather complex data table that has filtering by column values, sorting by column and pagination. It works really well. On Fri, Apr 16, 2010 at 2:40 PM, kim thechosendra...@gmail.com wrote: normaly that would be a good solution but in my case it isn't because you

[symfony-users] error with the file() command

2010-04-12 Thread kim
hi, i'm trying to ewport pictures as a zip file. This works for local pictures but from the moment on i try to use it on pictures from the server (or other sites) it stops working and this is because the file() command doesn't work on url's with me? after a minute my apache crashes When i look

[symfony-users] Re: save xml php

2010-04-08 Thread kim
/1_0/sfWebResponse#method_sethttphe... Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Apr 7, 2010 at 5:37 PM, kim thechosendra...@gmail.com wrote: thnanks this is indeed what i'm searching for but i

[symfony-users] Re: save xml php

2010-04-08 Thread kim
at 10:27 AM, kim thechosendra...@gmail.com wrote: hmmm strange my symfony doesn't recognize the setHeader from getResponse() greetings On 7 apr, 16:45, Stéphane stephane.er...@gmail.com wrote: $this-getReponse()-setHeader('Content-type', $documentMIMEType); in your action

[symfony-users] Re: save xml php

2010-04-08 Thread kim
Environnementale! On Thu, Apr 8, 2010 at 10:27 AM, kim thechosendra...@gmail.com wrote: hmmm strange my symfony doesn't recognize the setHeader from getResponse() greetings On 7 apr, 16:45, Stéphane stephane.er...@gmail.com wrote: $this-getReponse()-setHeader('Content-type

[symfony-users] Re: save xml php

2010-04-08 Thread kim
On 8 apr, 09:31, Stephane stephane.er...@gmail.com wrote: What is your symfony version ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez a Votre Responsabilitee Environnementale! On Thu, Apr 8, 2010 at 10:27 AM, kim thechosendra...@gmail.com

[symfony-users] save xml php

2010-04-07 Thread kim
hello, i have parsed a xml from a string with the simplexml_load_string() function but now i want to show a save file dialog so the user can download the xml file but how do i have to do this? thanks -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Multiselect images for export

2010-03-31 Thread kim
that stores the selected images in a ArrayList? Thanks a lot for future answers :) greetings Kim -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Re: error installing sfDoctrineGuardPlugin

2010-03-19 Thread kim
_ Marius Rugan [image: Google Talk:] mariusrugan [image: Skype:] marius.rugan [image: Linkedin] http://www.linkedin.com/in/mariusrugan[image: del.icio.us] http://delicious.com/mrugan[image: Twitter]http://twitter.com/mariusrugan On Thu, Mar 18, 2010 at 5:13 PM, kim thechosendra

[symfony-users] Re: error installing sfDoctrineGuardPlugin

2010-03-19 Thread kim
, Mar 18, 2010 at 5:13 PM, kim thechosendra...@gmail.com wrote: Hello, When i want to install sfDoctrineGuardPlugin I get following output C:\Users\Kimsymfony plugin:install sfDoctrineGuardPlugin plugin    installing plugin sfDoctrineGuardPlugin PHP Deprecated:  Assigning the return value

[symfony-users] Security: can't log in

2010-03-18 Thread kim
I'm getting this strange fault: I'm using sfDoctrineGuardPlugin (like described in the book) and I follow all steps. When i test it, then indeed my backend page is secured but when i press the Proceed to login link i come to the login page but i don't get to see it because to see that page i

[symfony-users] error installing sfDoctrineGuardPlugin

2010-03-18 Thread kim
1741 sfSymfonyPluginManager Plugin is already installed does anyone know how to solve this probleme? I already fixed e few. thanks Greetings Kim -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because