[symfony-users] introspect a functional test uncaught exception

2010-11-07 Thread Luis Cordova
On jobeet day 11 it says symfony simulates uploading a file on a form: after issuing: ./symfony test:functional frontend jobActions I get: 3.1 - Submit a Job # get /job/new ok 16 - request parameter module is job ok 17 - request parameter action is new # post /job ok 18 - request parameter

[symfony-users] Re: introspect a functional test uncaught exception

2010-11-07 Thread Luis Cordova
with: with('response')-debug()- I am getting this: Response debug # WARNING # An error occurred when processing this request. # The real response content has been replaced with the exception message to ease debugging. HTTP/1.X 500 Content-Type: text/html; charset=utf-8 exception

[symfony-users] Re: Best practice: Sharing data (e.g. i18n files) among symfony applications

2010-11-07 Thread cestcri
Hi Alecs, actually I am pretty happy with the current way symfony handles i18n, so why changing a winning team? Thanks for your feedback though and have a nice day, Christian On Oct 28, 8:38 pm, Alexandru-Emil Lupu gang.al...@gmail.com wrote: Hello! Why don't you move your i18n to your

[symfony-users] sorting with formfilter?

2010-11-07 Thread Stan McFarland
Hi, Symfony newbie here. I needed to add a form filter capability to my frontend app, which I managed to do with the bind(), getQuery() and execute() methods, but my question is: can I add additional SQL-type criteria (such as order by) to the query generated by the formfilter methods, and if

[symfony-users] Re: Best practice: Sharing data (e.g. i18n files) among symfony applications

2010-11-07 Thread cestcri
Hello, I could not find anything, so for now I had to copy the i18n folder from my private plugin to each of my applications. This surely is just temporary, but for now I don't find a better solution to this issue. Why are my private plugin translation files ignored on production? Hope to

[symfony-users] Re: Defining an object [alias]?

2010-11-07 Thread xpanshun
The thing is, I am using a while loop already--the foreach won't fit in for what I am trying to do. But I can't access data from the database through something like: $product-getId() without defining that $products as $product somewhere. That is the problem; I can't access data I need. On Nov 6,

[symfony-users] Re: Best practice: Sharing data (e.g. i18n files) among symfony applications

2010-11-07 Thread cestcri
Alright, the problem is solved. As usual when there is an issue on prod and not on local this was due to missing/old files on the server. Sorry for having bothered you and enjoy your Sunday now even more! Long life symfony's i18n! Christian On Nov 7, 4:38 pm, cestcri cest...@yahoo.fr wrote:

Re: [symfony-users] Re: Defining an object [alias]?

2010-11-07 Thread Jérémie
Could you show us your code? It will be easier to understand what you're trying to do. Jérémie Le dimanche 07 novembre 2010 à 07:53 -0800, xpanshun a écrit : The thing is, I am using a while loop already--the foreach won't fit in for what I am trying to do. But I can't access data from the

[symfony-users] Re: Defining an object [alias]?

2010-11-07 Thread xpanshun
@Jeremie, Thank you for making me review my code again! After your post I was getting ready to reply with my coding and I realized I didn't need that whole $product as $product thing in the first place. What I mean is, nearly all of my loop code was written to access the elements of a DQL

[symfony-users] Password fields

2010-11-07 Thread xpanshun
How can I make the input of a certain field in a generated form (on the frontend) displayed as a password type (i.e. )? Where in the directory can this be altered? Thanks. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

Re: [symfony-users] Password fields

2010-11-07 Thread Michał Piotrowski
2010/11/7 xpanshun srhen...@gmail.com: How can I make the input of a certain field in a generated form (on the frontend) displayed as a password type (i.e. )? Where in the directory can this be altered? First hint - you can find answer for your question in symfony documentation. Second

[symfony-users] Re: Password fields

2010-11-07 Thread xpanshun
I found the answer here: http://oldforum.symfony-project.org/index.php/m/74135/ as well Thanks for directing me to the API Michal, there is a lot of helpful stuff there sometimes I forget it exists lol ;p On Nov 7, 5:15 pm, Michał Piotrowski mkkp...@gmail.com wrote: 2010/11/7 xpanshun

[symfony-users]

2010-11-07 Thread Tommaso D'Argenio
http://protc3.org/andrew.html -- 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 group. To post to this group, send email to

Re: [symfony-users] Re: Password fields

2010-11-07 Thread Alex Pilon
Make sure to read documentation before posting here. This kind of information you should be able to find on your own. On Nov 7, 2010 5:47 PM, xpanshun srhen...@gmail.com wrote: I found the answer here: http://oldforum.symfony-project.org/index.php/m/74135/ as well Thanks for directing me to the

Re: [symfony-users] Re: introspect a functional test uncaught exception

2010-11-07 Thread Alex Pilon
You said when manually entering a job it works.. does this mean when you create a job through the website on a web server it works? Could it be you are running the unit test as a different user? It seems like the problem you are having is related to directory permissions. Check the permissions of

Re: [symfony-users] Re: introspect a functional test uncaught exception

2010-11-07 Thread Luis Cordova
I moved the already existent file sensio-labs.gif to sensio-labs1.gif then I rerun the functional test and test passed It seems that it simulates the uploading of a file but the file needs not to be present? I also had tried before to even set everything to 777 and that is not it, so it must have

Re: [symfony-users] Password fields

2010-11-07 Thread Gareth McCumskey
erm ... input type=password .. HTML 101 On Mon, Nov 8, 2010 at 12:09 AM, xpanshun srhen...@gmail.com wrote: How can I make the input of a certain field in a generated form (on the frontend) displayed as a password type (i.e. )? Where in the directory can this be altered?

Re: [symfony-users] Defining an object [alias]?

2010-11-07 Thread Gareth McCumskey
This is not symfony. This is basic PHP you should know before even considering using symfony. Seriously, go study some PHP mate. a foreach loop is autoamtically loops through an array. If you have the following code: $array_var = array (1,2,3); foreach ($array_var as $var) { echo $var; } you

[symfony-users] Re: RESTFul etag

2010-11-07 Thread Shihab KB
Thank you for your answer. I am trying to implement ETag in my restful apis. I have a problem here. Please check this and could you please give me a solution? Hi, I am trying to implement etag feature in my RESTFul web services. I heard that etag is a mechanism that HTTP provides for cache

[symfony-users] Re: RESTFul etag

2010-11-07 Thread pghoratiu
You have to check the browser HTTP headers that are sent (Request/ Response) via Firebug or HttpFox Firefox extensions. Do you have enabled caching for your page? There are more things to consider when you try to cache a page, not just the Etag. gabriel On Nov 8, 7:28 am, Shihab KB

Re: [symfony-users] sorting with formfilter?

2010-11-07 Thread Sebastien Armand [Pink]
$query-addSort('mysort_columnt asc'); On Sun, Nov 7, 2010 at 11:05 PM, Stan McFarland sfmc...@gmail.com wrote: Hi, Symfony newbie here. I needed to add a form filter capability to my frontend app, which I managed to do with the bind(), getQuery() and execute() methods, but my question is: