[symfony-users] Re: .htaccess - redirect example.com/index.php to example.com
Hi, Thanks for the tips about the debugging log for the htaccess. Here that I have in the logs when i access to http://www.example.com [example.com/sid#e05840][rid#5a1eb40/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/ - [example.com/sid#e05840][rid#5a1eb40/initial] (3) [perdir /var/www/] applying pattern '^index.php$' to uri '' [example.com/sid#e05840][rid#5a1eb40/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/ - [example.com/sid#e05840][rid#5a1eb40/initial] (3) [perdir /var/www/] applying pattern '^(.*)$' to uri '' (1) [example.com/sid#e05840][rid#5a1eb40/initial] (2) [perdir /var/www/] rewrite '' - 'index.php' [example.com/sid#e05840][rid#5a1eb40/initial] (3) [perdir /var/www/] add per-dir prefix: index.php - /var/www/index.php [example.com/sid#e05840][rid#5a1eb40/initial] (2) [perdir /var/www/] strip document_root prefix: /var/www/index.php - /index.php [example.com/sid#e05840][rid#5a1eb40/initial] (1) [perdir /var/www/] internal redirect with /index.php [INTERNAL REDIRECT] [example.com/sid#e05840][rid#5a16120/initial/redir#1] (3) [perdir / var/www/] strip per-dir prefix: /var/www/index.php - index.php [example.com/sid#e05840][rid#5a16120/initial/redir#1] (3) [perdir / var/www/] applying pattern '^index.php$' to uri 'index.php' (2) [example.com/sid#e05840][rid#5a16120/initial/redir#1] (2) [perdir / var/www/] rewrite 'index.php' - 'http://example.com/' [example.com/sid#e05840][rid#5a16120/initial/redir#1] (2) [perdir / var/www/] explicitly forcing redirect with http://example.com/ [example.com/sid#e05840][rid#5a16120/initial/redir#1] (1) [perdir / var/www/] escaping http://example.com/ for redirect [example.com/sid#e05840][rid#5a16120/initial/redir#1] (1) [perdir / var/www/] redirect to http://example.com/ [REDIRECT/301] [example.com/sid#e05840][rid#5a48c28/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/ - [example.com/sid#e05840][rid#5a48c28/initial] (3) [perdir /var/www/] applying pattern '^index.php$' to uri '' (3) [example.com/sid#e05840][rid#5a48c28/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/ - [example.com/sid#e05840][rid#5a48c28/initial] (3) [perdir /var/www/] applying pattern '^(.*)$' to uri '' [example.com/sid#e05840][rid#5a48c28/initial] (2) [perdir /var/www/] rewrite '' - 'index.php' [example.com/sid#e05840][rid#5a48c28/initial] (3) [perdir /var/www/] add per-dir prefix: index.php - /var/www/index.php [example.com/sid#e05840][rid#5a48c28/initial] (2) [perdir /var/www/] strip document_root prefix: /var/www/index.php - /index.php [example.com/sid#e05840][rid#5a48c28/initial] (1) [perdir /var/www/] internal redirect with /index.php [INTERNAL REDIRECT] I deduced that: (1) The rule RewriteRule ^(.*)$ index.php [L,QSA] is applied the first time. (2) The new url is parsed again by the htaccess. I dont really understand why. (3) We have an infinite loop. I find another quick solution which is to do the redirect in the index.php with the following code: if ($_SERVER['REQUEST_URI'] == /index.php) { header(HTTP/1.1 301 Moved Permanently); header(Location: http://.$_SERVER['HTTP_HOST']./); exit; } If i access to http://www.example.com, $_SERVER['REQUEST_URI'] will be empty (even with RewriteRule ^(.*)$ index.php [QSA,L]). I dont really like this solution because i would like to keep centralized all the rewrite rules in the htaccess. Mickael -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Comment ajouter des attributs pour chaque checkbox d'un sfWidgetFormChoice ?
Up. On Jul 2, 3:29 pm, François franc...@robichet.com wrote: Bonjour à tous, Imaginons que dans mon cas j'ai un tableaux d'objets $check, tous les objets ont une méthode getValeur() qui me rend leurs valeur, valeur qui est soit true, soit false. Je veux donc mettre en place des checkbox, et bien sur, si la valeur est à true, la case sera coché. Vu que je n'ai rien trouvé, j'ai essayé pas mal de choses, dont ça : $this-setWidget('test', new sfWidgetFormChoice( array( 'multiple' = true, 'expanded' = true, 'choices' = array( 'test', 'test2') ), array( 'checked' = $check[0]-getValeur(), 'checked' = $check[1]-getValeur() ) )); Comme vous vous en doutez, ça ne marche pas (seul la dernière valeur sera prise en compte et sera appliqué à tous les checkbox :/). Bref, je cherche donc comment faire en sorte que mes checkboxes soient cochés lorsque leur valeur est true. Merci -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: check cookies enabled?
Just set a cookie and try to read it... http://snippets.symfony-project.org/snippet/179 On 4 čnc, 11:45, comb sa...@gmx.net wrote: Hi! =) What's the proper way to check if a user has cookies enabled with symfony 1.4? Best greets comb -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Use database in app.yml
Why not modify app.yml from your code, instead of using a database? On Jul 4, 10:08 pm, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: I want to use this because I have some system setting which should really belong in that app.yml file. But the admins which I am developing it for want to change those settings in an admin panel. Think for example the lifetime of a post, how many credits for a quick respons / answer, etc. All settings I want to access by using sfConfig::get() The use op PHP in app.yml is possible I've seen, the only thing missing is the database connection. No connection information in your runtime configuration file for datasource [propel] How can I get that connection there? On 2 jul, 12:29, Daniel Lohse annismcken...@googlemail.com wrote: I'd probably go with a plugin that handles dynamic and configurable settings that live in a database, like csSettingsPlugin. :) Cheers, Daniel On 02.07.2010, at 11:41, Tom Ptacnik wrote: I'm not sure it's possible to do it this way. Why do you want to insert some configuration into the app.yml from database? For what do you need this configuration setting? On 1 čnc, 14:51, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: I want to use some configuration settings from the database in my app.yml configuration file. This is my code now: all: ?php foreach(SettingPeer::getIndex() as $oSetting): ? ?php echo $oSetting-getSlug() . ': ' . $oSetting-getValue() ? ?php endforeach; ? But the error I receive says No connection information in your runtime configuration file for datasource [propel] What should I do to make this happen? Thanks! -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Symfony 2 - anything like grails?
Symfony doesn't operate with a DBMS directly. Perhaps you mean Doctrine? You can do that(specify certain settings for the database columns individually) easily there, too. On Jul 2, 7:00 am, Bill P. maxar...@yahoo.com wrote: Hello, I have been using grails for a recent project as well as learning the original symfony structure. Is Symfony 2 going to be a bit more like grails in the structure? I enjoy the flexibility that symfony offers in the way I can specify certain settings for the database columns individually, but grails seems to offer a much easier setup in the way classes are constructed. Is there any sort of User manual or intro tutorial for Symfony 2 yet? Thanks. -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Re: Rich text editor with upload image plugin
thanks for your answer! could you send me some example? regards On Sun, Jul 4, 2010 at 9:55 PM, rekarnar rekar...@gmail.com wrote: I use KFM with TinyMCE. Although its a little tricky at times to setup. On Jul 5, 6:40 am, Massimiliano Arione garak...@gmail.com wrote: On 1 Lug, 22:10, Mariano Sola mariano.s...@gmail.com wrote: Has anyone worked with any rich text editor with the upload image option activated in Symfony 1.4? I did some tests with TinyMCE and iBrowser but I wasn't be able to make it works. sfAssetsLibraryPlugin -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Rich text editor with upload image plugin
Try sfMediaBrowserPlugin, it has documentation on how to use it as uploader with TinyMCE. On Jul 1, 11:10 pm, Mariano Sola mariano.s...@gmail.com wrote: Has anyone worked with any rich text editor with the upload image option activated in Symfony 1.4? I did some tests with TinyMCE and iBrowser but I wasn't be able to make it works. thanks a lot! *mariano ::* -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Rich text editor with upload image plugin
On 5 Lug, 14:11, Mariano Sola mariano.s...@gmail.com wrote: thanks for your answer! could you send me some example? Just install the latest version of sfAssetsLibraryPlugin from http://svn.symfony-project.com/plugins/sfAssetsLibraryPlugin/branches/1.3/ and use it in any textarea. cheers Massimiliano -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Cache and analytics parameters
You have 2 options: 1. Change in mod_rewrite to filter out the extra query elements that pollute the query string 2. Set up explicitly the sf_cache_key when including a partial - in your case tthe sf_cache_key would be the id. gabriel On Jul 5, 4:26 pm, illarra illa...@gmail.com wrote: Hi Is there a way of having an unique cache regardless of the extra parameters added to a route (like Google Analytics)? Let's say I have a route @view?id=13 that results in the URLhttp://example.com/post/13 When I go to the URLhttp://example.com/post/13?utm_campaign=xutm_medium=y the cached route by symfony is: @view? id=13utm_campaign=xutm_medium=y And that creates different entries in the cache for the very same page, because this parameters are just used via javascript. I would like only one cache per view: @view?id=13. Can I change this behavior? Thanks a lot. -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] i18n doesn't save
I got two classes, user and user_i18n. In my UserForm.class.php, I embed two UserI18nForm.class.php. When I print my form, it looks all okay. But something strange happens when I try to save the form ($form-save()). If the records in the user_i18n database table don't exist yet, saving goes well. If the records already exist, and so it is an update, the new form data is not saved. Somebody who knows how this is possible? I'm using Propel with sf1.4 -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Cache and analytics parameters
Maybe I'm missing something, but: 1) Cleans the URL and then shows the page, but then I lose all the analytics data: suppose I want to track a marketing campaign. 2) I'm using a template cache, so I can't specify a cache key. Is there any other solution? On Jul 5, 4:10 pm, pghoratiu pghora...@gmail.com wrote: You have 2 options: 1. Change in mod_rewrite to filter out the extra query elements that pollute the query string 2. Set up explicitly the sf_cache_key when including a partial - in your case tthe sf_cache_key would be the id. gabriel On Jul 5, 4:26 pm, illarra illa...@gmail.com wrote: Hi Is there a way of having an unique cache regardless of the extra parameters added to a route (like Google Analytics)? Let's say I have a route @view?id=13 that results in the URLhttp://example.com/post/13 When I go to the URLhttp://example.com/post/13?utm_campaign=xutm_medium=y the cached route by symfony is: @view? id=13utm_campaign=xutm_medium=y And that creates different entries in the cache for the very same page, because this parameters are just used via javascript. I would like only one cache per view: @view?id=13. Can I change this behavior? Thanks a lot. -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Cache and analytics parameters
1. no because the URL is cleaned up only internally (without doing a redirect) In the browser bar the URL will look like this: http://example.com/post/13?utm_campaign=xutm_medium=y but what reaches the controller at the last line in the .htaccess file should be http://example.com/post/13 So your Javascript code will pick up the right URL and the PHP code the filtered URL. 2. I don't understand what you mean by that. gabriel On Jul 5, 5:53 pm, illarra illa...@gmail.com wrote: Maybe I'm missing something, but: 1) Cleans the URL and then shows the page, but then I lose all the analytics data: suppose I want to track a marketing campaign. 2) I'm using a template cache, so I can't specify a cache key. Is there any other solution? On Jul 5, 4:10 pm, pghoratiu pghora...@gmail.com wrote: You have 2 options: 1. Change in mod_rewrite to filter out the extra query elements that pollute the query string 2. Set up explicitly the sf_cache_key when including a partial - in your case tthe sf_cache_key would be the id. gabriel On Jul 5, 4:26 pm, illarra illa...@gmail.com wrote: Hi Is there a way of having an unique cache regardless of the extra parameters added to a route (like Google Analytics)? Let's say I have a route @view?id=13 that results in the URLhttp://example.com/post/13 When I go to the URLhttp://example.com/post/13?utm_campaign=xutm_medium=y the cached route by symfony is: @view? id=13utm_campaign=xutm_medium=y And that creates different entries in the cache for the very same page, because this parameters are just used via javascript. I would like only one cache per view: @view?id=13. Can I change this behavior? Thanks a lot. -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Cache and analytics parameters
Sorry Gabriel, I thought I was missing something and definitely I am. Lets see if I understant the process then. But first, I will give you more background on the problem. I'm dealing with a double cache for the pages, in the way explained here: http://www.symfony-project.org/gentle-introduction/1_4/en/12-Caching (Listing 12-6) So... - I'm caching the full response, with template, for non authenticated users. - For the rest of user I use a Function cache, because the view is adapted to every logged user. Non authenticated users, reach this filter, and as far as I know, the cache is shown directly. Your solution is to tell apache to ignore the utm parameters before the request even goes to PHP, making a REWRITE (not a redirect as I understood before). This will probably work... so I will try it. Thanks! On Jul 5, 5:34 pm, pghoratiu pghora...@gmail.com wrote: 1. no because the URL is cleaned up only internally (without doing a redirect) In the browser bar the URL will look like this:http://example.com/post/13?utm_campaign=xutm_medium=y but what reaches the controller at the last line in the .htaccess file should behttp://example.com/post/13 So your Javascript code will pick up the right URL and the PHP code the filtered URL. 2. I don't understand what you mean by that. gabriel On Jul 5, 5:53 pm, illarra illa...@gmail.com wrote: Maybe I'm missing something, but: 1) Cleans the URL and then shows the page, but then I lose all the analytics data: suppose I want to track a marketing campaign. 2) I'm using a template cache, so I can't specify a cache key. Is there any other solution? On Jul 5, 4:10 pm, pghoratiu pghora...@gmail.com wrote: You have 2 options: 1. Change in mod_rewrite to filter out the extra query elements that pollute the query string 2. Set up explicitly the sf_cache_key when including a partial - in your case tthe sf_cache_key would be the id. gabriel On Jul 5, 4:26 pm, illarra illa...@gmail.com wrote: Hi Is there a way of having an unique cache regardless of the extra parameters added to a route (like Google Analytics)? Let's say I have a route @view?id=13 that results in the URLhttp://example.com/post/13 When I go to the URLhttp://example.com/post/13?utm_campaign=xutm_medium=y the cached route by symfony is: @view? id=13utm_campaign=xutm_medium=y And that creates different entries in the cache for the very same page, because this parameters are just used via javascript. I would like only one cache per view: @view?id=13. Can I change this behavior? Thanks a lot. -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] GET parameters in a POST
Hello, I'm discovering Symfony (version 1.4) and I've just encoured a problem : It seems that GET parameters are not available in a POST. I've got a url with some parameters and the page has a form with POST methode. When POSTing, in the action I can get POST parameters ($request-getPostParameters()) but no GET parameter available ($request-getGetParameters()). Could you confirm this is a normal Symfony 's behavior ? Thanks a lot. -- ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¸¸,ø¤º°`°º¤ø¸ chaleur dans ton coeur et fantaisie dans tes conduits ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¸¸,ø¤º°`°º¤ø¸ -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Admin generator, Symfony 2
Hi, It has not been started yet. - Jon On Sat, Jul 3, 2010 at 10:40 AM, Juan Alberto V. acctoujo...@gmail.comwrote: Hi!, does anyone know about the status of admin generator in Symfony 2 ? Thanks, Juan V. -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Jonathan H. Wage http://www.twitter.com/jwage -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Cache and analytics parameters
On Mon, 5 Jul 2010, illarra wrote: Is there a way of having an unique cache regardless of the extra parameters added to a route (like Google Analytics)? Let's say I have a route @view?id=13 that results in the URL http://example.com/post/13 When I go to the URL http://example.com/post/13?utm_campaign=xutm_medium=y the cached route by symfony is: @view? id=13utm_campaign=xutm_medium=y And that creates different entries in the cache for the very same page, because this parameters are just used via javascript. I would like only one cache per view: @view?id=13. Can I change this behavior? You need to explicitly set the cache key. -- -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Question about set/get methods of model classes
I'm not aware of an advantage, and from what I know Doctrine2 does away with that. Daniel On Jul 4, 9:37 am, Javier Garcia tirengar...@gmail.com wrote: On 07/04/2010 11:44 AM, G bor F si wrote: The question is doctrine-related, not propel. Doctrine indeed uses magic methods instead of generating them. On Sat, Jul 3, 2010 at 14:58, rumianommaciej.rumianow...@gmail.com wrote: What do you mean on the air? Set/get methods are generated in base model classes and you can override them in your model class ( OOP ). When you build-model, base model is generated once more time but your model classes remain untouched. From my knowledge of Propel. On 2 Lip, 17:51, Javier Garciatirengar...@gmail.com wrote: Hi, why the get and set methods of the model classes are created on the air, instead of generating them when the model class is created? is there any advantage? -- Javi Ubuntu 8.04 - Symfony 1.3 -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en But my question is about the advantage? -- Javi Ubuntu 8.04 - Symfony 1.3 -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Re: Having multiple queries with Lucene in nameTable.Class.php
Hello Gabriel So it is something like this?: ? adminsActions::getFunction(); ? ? -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Having multiple queries with Lucene in nameTable.Class.php
Hi! Sorry but this does not make too much sense to me. You need to get an instance of the Zend Lucene class, assuming you did everything as explained in the Jobeet tutorial: http://www.symfony-project.org/jobeet/1_4/Propel/en/17 $index = JobeetJobPeer::getLuceneIndex(); and then you do separate searches to get the highes and lowest ranking element: $index-find($query, 'ranking', SORT_NUMERIC, SORT_DESC); $index-find($query, 'ranking', SORT_NUMERIC, SORT_ASC); And the best would be to do these operations in an action not in the view. gabriel -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Cache and analytics parameters
Your solution is to tell apache to ignore the utm parameters before the request even goes to PHP, making a REWRITE (not a redirect as I understood before). Yes, this is it. You may have problems with rewriting query parameters as this is not so straight-forward. gabriel -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] forward does not work
Hi, I try to use forward in my action class after an validation back to my action in special cases. This has works in an other part of my application. $this-forward('mymodul', 'actionx'); But when I execute this Action I only receive an blank page, in the symfony log is an forward message to my action the last entry. No error also not in my apache logs. The only thing witch is different to other actions where the same coe runs is that an action with the same name but in an other modul exists. Has anyone an suggestion? Thank you for reading this. Johannes -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Binding user created content with a user with a foreign user_id key
I'm working on a system that enables users to contribute bits of content (varchar 255) into a pool that gets moved into a different system later. I've got Symfony 1.4 up and running with the sgGuardAuth plugin in place and working properly. Also, my MVC layers are all in order, displaying forms and behaving expectably. What I'm not seeing is a clear mechanism for inserting an authenticated user's ID into the form after the user submits their content but before saving the user's submission so that I know what user has submitted what information. My model includes an sf_guard_user_id field that I want to populate with the ID of the authenticated user, but there doesn't seem to be a clean way to do this. I attempted overwriting the request with the field I want in the executeCreate method but I got an unexpected field error, which makes sense. So, I tried setting the field in the model for the specific object, but the problem is that the object is not user context aware. So, the only place that seems to make sense is the processForm method after the form validity check, but the form object doesn't seem to have a straightforward mechanism for setting specific field values. Am I missing something? Any help would be much appreciated, Jackson -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Re: Having multiple queries with Lucene in nameTable.Class.php
Thanks Gabriel! I finally understood your point. Thanks for your help! -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Jobeet Day 3 data-load problem
I'm trying to load data from fixtures jobs.yaml and categories.yaml with this command: $ php symfony doctrine:data-load But the tables are empty. I have got the columns and tables created, but no data loaded. Any ideas? -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en