[symfony-users] Re: Error with include_once()

2010-08-03 Thread Javier Garcia
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/17#chapter_17_installing_and_configuring_the_zend_framework On Aug 2, 7:47 pm, Javier Garcia tirengar...@gmail.com wrote: Hi, after installing sfDoctrineApplyPlugin-1.1.1, extracting Zend at lib/vendor/Zend, executing sfApply/apply and

[symfony-users] test stops at redirect without error :-(

2010-08-03 Thread mlu...@gmail.com
Hi! I am writting tests for all my forms. Yesterday in the evening everything went fine and today it doesn't. This is the start of my test file: ... ?php include(dirname(__FILE__).'/../../bootstrap/functional.php'); $browser = new sfTestFunctional(new sfBrowser()); $browser-

Re: [symfony-users] Re: Real purpose of admin generator

2010-08-03 Thread Stéphane
That is right, having a declaration style is always good, at any point. Because it makes code reusable, at least. Admin-gen is not made to handle all the needs, even if it can. The idea is really good, the implementation has its own limits. Limits that you can extend by extending the admin-gen

[symfony-users] [Symfony 1.4 - Admin Generator] Problem with filters

2010-08-03 Thread florian périn
Hello, I wanted to change the type of my filters auto-generate with admin- generator, but when I did it, the filters didn't work anymore. For exemple, I change : //lib/filter/doctrine/BackendGammeFormFilter.class.php [...] 'nom' = new sfWidgetFormDoctrineChoice(array(

[symfony-users] Re: Problem with filters

2010-08-03 Thread Tom Ptacnik
What means doesn't work? How it looks before ... show BaseFormFilter class, or the schema of the object at least. Which version of Symfony? On 3 srp, 11:01, florian périn poulet.va...@gmail.com wrote: Hello, I wanted to change the type of my filters auto-generate with admin- generator, but

[symfony-users] Re: Problem with filters

2010-08-03 Thread florian périn
I use symfony 1.4.5. //lib/filter/doctrine/BackendgammeFormFilter.class.php 1 ?php 2 3 /** 4 * Gamme filter form backend class. 5 * 6 * @packagerefactor_metaux 7 * @subpackage filter 8 * @author Florian PÉRIN 9 * @versionSVN: $Id:

[symfony-users] suffix to links on page

2010-08-03 Thread RaV
Hi again, is there any possibility to add const suffix to all of links on my page? For example i have link like this: http://myapp/1,computers?q=search_text , where 1 means the first page and.. while i'm using link_to in template to build links for change sort order or order column or something

[symfony-users] How to validate values from $GLOBALS[HTTP_RAW_POST_DATA]

2010-08-03 Thread Grzegorz Śliwiński
Hello, I have to accept image sent through flash/flex app by post. Since flash/flex can't send different data types through post request, flash/ flex developer ask if I can accept image through $GLOBALS[HTTP_RAW_POST_DATA]. So, my question is if I can retrieve from $GLOBALS[HTTP_RAW_POST_DATA]

Re: [symfony-users] How to validate values from $GLOBALS[HTTP_RAW_POST_DATA]

2010-08-03 Thread Gareth McCumskey
Simple answer .. don't. You should be able to accept requests through symfony's post handlers that can also transmit files just as if someone had uploaded a file through a form. 2010/8/3 Grzegorz Śliwiński fi...@fizyk.net.pl Hello, I have to accept image sent through flash/flex app by post.

[symfony-users] Re: Problem with filters

2010-08-03 Thread Tom Ptacnik
What do you want to this filter to do? And what is does instead? ... look on the generated SQL query which is creaded by the filter. This is the way to go to find your mistake. On 3 srp, 13:16, florian périn poulet.va...@gmail.com wrote: I use symfony 1.4.5.

Re: [symfony-users] Re: [SYMFONY 1.4] How to deploy on a subdirectory?

2010-08-03 Thread Anibal Sólon
You can paste (http://pastebin.com/) the .htaccess and projectConfiguration.class.php file? Dont think that is the .htaccess On Tue, 2010-08-03 at 00:24 -0300, Gustavo Adrian wrote: Finally I did it from with a cron, but it didn't work. Is there a way to configure the .htaccess file to make

Re: [symfony-users] Re: [SYMFONY 1.4] How to deploy on a subdirectory?

2010-08-03 Thread Gustavo Adrian
Hi, Here is ProjectConfiguration.class.php: http://pastebin.com/fEhCWbf8 http://pastebin.com/fEhCWbf8And here the .htaccess: http://pastebin.com/cFQHfKwJ I created a symlink to public_html. Everything works like before, and I have the same problem. With Firebug I notice that the browser, for

[symfony-users] Semgentation fault +Infinite loop... huh ?

2010-08-03 Thread Tristan
Hello, i've just tested a function (doctrine // symfony 1.4) : i'm on the backend, and i have a field, is_activated, i wanted when i click on it, that a mail is sending to the offer's owner (plus activating the filed of course :D) : http://pastebin.com/LuQb4nc6 Doing so = infinite loop = 100

[symfony-users] Re: Error in symfony2 on Win7

2010-08-03 Thread BStep
I am also getting the same error message with the newest sandbox release (sandbox_2_0_PR2). I verified that the changes mentioned by Fabien are in my sandbox version. I am using IIS7 on Windows Server 2008 and I do not have spaces in my directory structure - the path to index_dev.php is

Re: [symfony-users] load to include_partial without using action

2010-08-03 Thread Joshua Estes
Look into components. I've done something similar on a few of my web sites. - Joshua Estes -= Contact Me =- Google Voice: 567-482-0034 or JOSHUA-0034 Cell:               423-432-7562 -= Web Sites =- http://www.ScenicCityLabs.com - Making the internet pretty! -= Twitter =- @JoshuaEstes

[symfony-users] Re: Semgentation fault +Infinite loop... huh ?

2010-08-03 Thread Tristan
Here is what apache is saying for the 2nd solution : [Tue Aug 03 17:45:32 2010] [notice] child pid 821 exit signal Segmentation fault (11) [Tue Aug 03 17:45:33 2010] [notice] child pid 824 exit signal Segmentation fault (11) [Tue Aug 03 17:45:33 2010] [notice] child pid 803 exit signal

Re: [symfony-users] Symfony 1.4 and PayPal

2010-08-03 Thread Joshua Estes
You would need to create a custom module/action for your project, (suggest that you do this all as plugin for reuse with other projects you do) and then point the form action to the module/action, i.e.: url_for('module/action') - Joshua Estes -= Contact Me =- Google Voice: 567-482-0034 or

[symfony-users] Re: Error in symfony2 on Win7

2010-08-03 Thread BStep
Just found this: http://raw.trac.symfony-project.org/ticket/8810 The suggested fix seems to do the trick, although I received an error message saying could not write to the logs folder in E: \prtldev2\hello/logs instead of \logs. Not sure if this could produce a problem elsewhere. On Aug 3,

Re: [symfony-users] suffix to links on page

2010-08-03 Thread Joshua Estes
Check out the routes documentation. If I understand your correctly, you would need to add a route like computers: url: /computes/:page/* the use link_to('Page 8','@computers?page=8q=blah') That should give you the link you need. Haven't looked up the info, but that should point you in the

Re: [symfony-users] Re: Semgentation fault +Infinite loop... huh ?

2010-08-03 Thread Gustavo Adrian
Try to separate the logic of sending mails from the model. You should put it on the pertinent action. Something like: public function executeSetIsActivatedAndSendMail( $request ) { $this-myObject = $this-getRoute()-getObject(); $value= $request-getParameter( 'myValue' );

Re: [symfony-users] Re: [SYMFONY 1.4] How to deploy on a subdirectory?

2010-08-03 Thread Luciano A. Andrade
you can try to set sfConfig::set('sf_web_css_dir_name', demo/myDemoApp/css); which may not work if the stylesheet is set with the full path (check the stylesheet_path helper function) if you try to change the .htacces, you shuld change the RewriteBase and probably a simple Alias shuld work out.

Re: [symfony-users] Re: [SYMFONY 1.4] How to deploy on a subdirectory?

2010-08-03 Thread Gustavo Adrian
Thanks for your reply Luciano! Sadly, it doesn't work in either way. The problem seems to be the relative path I used on every asset: for example, instead of css/style.css I used /css/style.css.. so it looks on the root folder for the asset. I tried removing the first slash on one css file to try

Re: [symfony-users] Re: [SYMFONY 1.4] How to deploy on a subdirectory?

2010-08-03 Thread Luciano A. Andrade
The redirect Redirect /css /demo/myDemoApp/css on the htaccess shuld work if the configuration allow redirects on httacess. Also the relative form is with out the first /, if it begins with / is absolute (to the server) 2010/8/3 Gustavo Adrian comfortablynum...@gmail.com: Thanks for your reply

Re: [symfony-users] Re: [SYMFONY 1.4] How to deploy on a subdirectory?

2010-08-03 Thread Gustavo Adrian
I'll check if my hosting allows the Redirect directive on .htaccess . And I had to use / on my relative paths because they didn't work without it (I don't know why). Maybe it's time to check that little issue too. Thank you so much for your replies! On Tue, Aug 3, 2010 at 4:26 PM, Luciano A.

[symfony-users] multiples INSERT

2010-08-03 Thread B.O.G
Hi!! I have a ComboBox like this, witch is a embeddedForm into a MainForm= 'Comunicacion': select name=comunicacion[destinatario][user_profile_id][] multiple=multiple id=comunicacion_destinatario_user_profile_id optgroup label=presidencia option value=1Maria/option /optgroup optgroup

Re: [symfony-users] multiples INSERT

2010-08-03 Thread Gustavo Adrian
Could you paste your model schema and your form class? On Tue, Aug 3, 2010 at 5:05 PM, B.O.G germanaolivei...@gmail.com wrote: Hi!! I have a ComboBox like this, witch is a embeddedForm into a MainForm= 'Comunicacion': select name=comunicacion[destinatario][user_profile_id][]

Re: [symfony-users] Re: Error in symfony2 on Win7

2010-08-03 Thread Fabien Potencier
This fix has been applied some days ago. So it will be included in PR3. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 8/3/10 5:55 PM, BStep wrote: Just found this:

[symfony-users] Re: Error running the first Jobeet page

2010-08-03 Thread Marcio Pozzato
Thank you. Now, I need run the new Jobeet aplication through web browser, but I can't because it returns the error message: *Parse error*: syntax error, unexpected '=' in * D:\dev\sfprojects\jobeet\config\ProjectConfiguration.class.php* on line *14* Marcio. 2010/7/20 Marcio Pozzato

Re: [symfony-users] Re: Error running the first Jobeet page

2010-08-03 Thread Daniel Lohse
Post the contents of this file (ProjectConfiguration.class.php) here or on pastebin.com. Did you have a look at line 14 in this file? Cheers, Daniel On 04.08.2010, at 00:31, Marcio Pozzato wrote: Thank you. Now, I need run the new Jobeet aplication through web browser, but I can't because

Re: [symfony-users] Re: Error running the first Jobeet page

2010-08-03 Thread Ardison Nicolas
Hi, i'm new in symfony, but i think that your problem is php malformed syntax, in the file * D:\dev\sfprojects\jobeet\config\ProjectConfiguration.class.php* in the line 14, send us the content of the file here to help you. Nicolas. On 3 August 2010 19:31, Marcio Pozzato mspozz...@gmail.com

[symfony-users] a good IDE for Symfony

2010-08-03 Thread Julian Reyes Escrigas
Hi I need help for find a new editor for PHP, I'm using Netbeans 6.9 but I don't know for what is slow, always start very well but when the project grows it's turns unstable I need only 3 characteristics 1. Faster and lightweight 2. With autocomplete for all classes in a

Re: [symfony-users] a good IDE for Symfony

2010-08-03 Thread Gustavo Adrian
The only IDE's I know are Eclipse, NetBeans and PHPEdit. I think PHPEdit has a personal license option but I don't know what does it include. Take a look at: http://www.phpedit.com/en/register/personal-licences On Tue, Aug 3, 2010 at 8:58 PM, Julian Reyes Escrigas

[symfony-users] Re: Semgentation fault +Infinite loop... huh ?

2010-08-03 Thread Tristan
If i remove the parent:: it still not work : public function setIsActivated($value) { if ($value == false) { $context = sfContext::getInstance();

Re: [symfony-users] a good IDE for Symfony

2010-08-03 Thread Eno
On Tue, 3 Aug 2010, Julian Reyes Escrigas wrote: I need help for find a new editor for PHP, I'm using Netbeans 6.9 but I don't know for what is slow, always start very well but when the project grows it's turns unstable You dont really need an IDE to write PHP code. -- -- If you want

Re: [symfony-users] Re: Semgentation fault +Infinite loop... huh ?

2010-08-03 Thread Daniel Lohse
Try: $this-_set('is_activated', true); Cheers, Daniel On 04.08.2010, at 02:25, Tristan wrote: If i remove the parent:: it still not work : public function setIsActivated($value) { if ($value == false) {

RE: [symfony-users] a good IDE for Symfony

2010-08-03 Thread Julian Reyes Escrigas
I know, but help to write less , when netbens trouble me i use Gedit but i dont have a Linux well stup now i dont have time for that -Mensaje original- De: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] En nombre de Eno Enviado el: martes, 03 de agosto de 2010

[symfony-users] Re: Semgentation fault +Infinite loop... huh ?

2010-08-03 Thread Tristan
(daniel Lohse, we tryed $this-set('is_activated', true); is the synthax wrong ?) Ok, it took 3 men (2 symfony experts, and me (but i'm a beginner) to bypass that) We tested every possible solution with that function before giving up and writing - a batch custom action - plus a function like

Re: [symfony-users] Re: Semgentation fault +Infinite loop... huh ?

2010-08-03 Thread Daniel Lohse
I hope you read what I wrote: $this-_set(...)! Don't forget the underscore before the set! ;-) Or did I miss something? Cheers, Daniel Sent from my iPhone On Aug 4, 2010, at 4:03 AM, Tristan tristan.bessou...@gmail.com wrote: (daniel Lohse, we tryed $this-set('is_activated', true); is the

Re: [symfony-users] a good IDE for Symfony

2010-08-03 Thread Stéphane
Download the ScanOnDemand plugin, its a well know problem in NetBeans as it is always scanning files whatever you do. It might not be the solution, but give it a try. Eclipse is a good one too. You can try VIM too (really). Cheers Before Printing, Think about Your Environmental Responsibility!

[symfony-users] Re: a good IDE for Symfony

2010-08-03 Thread pghoratiu
Check out Komodo edit http://www.activestate.com/komodo-edit some of my colleagues use it. I think that with your configuration any java based editor should work fine, make sure you configure properly the java runtime settings (-mx, -mss) and allow more memory than the default. gabriel On