[symfony-users] Doctrin one to one relation problem
hi, i have two table define as below: Node: actAs: { Timestampable: ~ } columns: id: {type: integer(8), primary: true, autoincrement: true} relations: Category: class: Category local: category_id foreign: id type: one foreignType: many foreignAlias: Nodes Reminder: columns: id: { type: integer(8), primary: true, autoincrement: true} . node_id: { type: integer, notnull: true } relations: Node: class: Node local: node_id foreign: id type: one foreignType: one foreignAlias: Reminder Node and Reminder tables with one to one relation but when blew command executed: $reminders = Doctrine_Query::create() -from('Reminder r') -fetchOne(); and i want to access node associated to reminder object by below code: $reminder-getNode()-getId(); below error occured: PHP Fatal error: Call to a member function getId() on a non-object and when i want to join node to reminder by this code: $reminders = Doctrine_Query::create() -from('Reminder r') -leftJoin('r.Node n') -fetchOne(); this error occured : PHP Fatal error: Call to a member function getLast() on a non-object in \lib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine\Hydrator \RecordDriver.php on line 129 please help me what happends thanks --~--~-~--~~~---~--~~ 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: Session Timeout
i don`t think so Lee symfony can change session time at run time by this PHP function ini_set() this can has priority over php.ini --~--~-~--~~~---~--~~ 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: Disable routing rules when in specific module
instead disabling routing may be its better to add new rule to the routing.yml to handle your external url. but if you want bypass it completely,i think you must write filter and put it in right place in filters.yml file. --~--~-~--~~~---~--~~ 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: Environments not available in [PROJECT_DIR]/config/app.yml (gloabl app.yml)
may be its useful check configuration file which is generated in cache whether your setting changes influence it or not. --~--~-~--~~~---~--~~ 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: Forms over multiple pages, save at the end?
i think the best solution is told by Richtermeister the use of session seemed to be only solution for this but if you want use symfony power you can use flash mechanism by setting second argument of it to 3 this mean flash data must be expired after three successively request but be cautious the user must not page back. --~--~-~--~~~---~--~~ 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: Need help with Apache Rewrite rule...
if its useful please share your mistake --~--~-~--~~~---~--~~ 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: can anyone help to tell me how to change session time?
thanks for your remindar Nexor --~--~-~--~~~---~--~~ 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: Easy way to POST data
you can do it very easy: $this-redirect(http://www.example.com;); just use Absolute URL. On Feb 17, 12:56 am, bpfar...@gmail.com bpfar...@gmail.com wrote: I'm probably just missing something, but is there an easy way to formulate a POST request to a non-symfony script through Symfony? I'm POSTing login data to a symfony action, and I need to redirect it to another page that isn't a symfony action. Thanks, -Brendan --~--~-~--~~~---~--~~ 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: can anyone help to tell me how to change session time?
read http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Layer it will tell you completelly about session changing. On Feb 16, 11:21 am, Lupu Alexandru-Emil gang.al...@gmail.com wrote: ini_set() also check your settings.yml s into your apps/appname/config/ directories On Mon, Feb 16, 2009 at 6:08 AM, xhe hexuf...@gmail.com wrote: Without using php.ini session time out, how can we change this value through symfony? How can we set the session timeout value longer? Are there any restriction for this configuration? I think no matter how long we set it, it will alwasy be shorter than that required in php.ini, is that right? --~--~-~--~~~---~--~~ 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: Managing symfony with no shell support
I think one of symfony Plugins do it for you.search it On Feb 14, 2:33 pm, Harinath Mallepally harinathre...@gmail.com wrote: Hi, I am wondering, if it is possible to manage the symfony commands using web based UI, like create project, app etc. Please do let me know if it is possible or if we can tweak and create such a facility. Thanks harinath --~--~-~--~~~---~--~~ 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: Adding libraries to lib/vendor slows down symfony command line tasks dramatically
Hi mark i think its because of autoloading mechanism that each framework use. Zend framework has plenty of libraries and because of each framework use its separate autoloading mechanism it takes plenty of time. On Feb 15, 1:15 am, kazaam mstra...@gmail.com wrote: Hi, I'm relatively new to Symfony so this may be a newbie misunderstanding of how the framework works - please bear with me. I'm building a site using Symfony 1.2.4 on Ubuntu 8.10. My Lenovo T61 has Dual Core CPU and 4 GB Ram. Starting two days ago, I noticed that running the symfony command line tasks were taking a lot longer on my project than they did a few days ago. After some troubleshooting I realized that the culprit was adding libraries to the lib/vendor folder. I had sym- linked the ezComponents and Zend libraries into my project's lib/ vendor folder because I needed to use several components from each framework. They are not being loaded automatically in ProjectConfiguration.class.php though, so I'm not sure why they are affecting the execution time of commands. Before adding them to lib/vendor, the symfony cache:clear command took under 0.5 seconds to run: $ time symfony cache:clear real 0m0.426s user 0m0.360s sys 0m0.044s If I add Zend to lib/vendor, it jumps to 4.5 seconds: $ time symfony cache:clear real 0m4.430s user 0m4.328s sys 0m0.096s When I add ezcomponents, it goes to 26 seconds: $ time symfony cache:clear real 0m26.687s user 0m26.218s sys 0m0.460s If I remove the symlinks, the command runs in 0.5 seconds again. It's not just cache:clear - all other tasks take much longer than they used to also. Should adding libraries to the lib/vendor folder affect the performance of these commands this dramatically? Is there a different, recommended way to use 3rd party libraries that will not affect the performance of command line tasks? Thank you Mark --~--~-~--~~~---~--~~ 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: sfDoctrineManagerPlugin
some of sf plugins has not good guidelines. the best way to learn them is exploring their contents. On Feb 15, 3:47 am, Mateus Nogueira mat...@imageweb.com.br wrote: Hello everyone. I 'd like to know how to use this new plugin, sfDoctrineManagerPlugin. I already try to search in the web and there isn't any tutorial or artlcle witch teache how to use. Any help will be very usefull. Thanks --~--~-~--~~~---~--~~ 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: Making sfGuardUsers soft-deletable
you must add this at the begining of plugins/sfDoctrineCuardPlugin/../ schema.yml actAs: SoftDelete On Feb 10, 10:35 pm, juro fo...@juro.at 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 change everytime I do a svn:externals update? juro --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---