Re: [symfony-users] Re: symfony 1.4 install

2010-04-19 Thread Peter Petrik
On Ne, 2010-04-18 at 21:42 -0700, Angel Robert Marquez wrote: Starting httpd: Warning: DocumentRoot [/home/sfprojects/jobeet/web] does not exist heh, obviously apache dont think so:) 1.) try: --- chmod 777 home chmod 777 sfprojects chmod 777 jobeet chmod 777 web if it not works try

[symfony-users] Re: help_foreign key

2010-04-19 Thread Tom Ptacnik
Where is the question? On 15 dub, 14:04, safa boubekri boubekri.s...@gmail.com wrote: hello   i need your help thank you very much in my schema  i have field    as    foreign  key  but in the forms i must  to write  this field but normaly it  will be  written automatically  because it is  

[symfony-users] Re: changed fields

2010-04-19 Thread Tom Ptacnik
Where do you need to check this? If you are using doctrine, than you can do use in model $this- getModified(true/false) method On 18 dub, 12:58, Tamas Amon sajta...@gmail.com wrote: Hello, Something s misunderstood? On 15 April 2010 15:02, Tamas Amon sajta...@gmail.com wrote: Hello,

[symfony-users] Re: configuration problem!?

2010-04-19 Thread Tom Ptacnik
What about symfony check_configuration.php script? On 15 dub, 14:38, Andris andris.ve...@gmail.com wrote: When issuing command: symfony propel:data-load it fails with notice -- Unable to find adapter for datasource [i2]. I use symfony 1.4.5-DEV with latest sfPropel15Plugin. (XAMPP 1.7.4 on

[symfony-users] Re: sort with paging

2010-04-19 Thread kim
alright this works thanks a lot but now i'm having another problem i want to also sort on a variable that is first calculated in the object and then returned (so this is not present in the database) is there a way to sort the result from the pager? greetings On 16 apr, 13:43, Gareth McCumskey

[symfony-users] Re: doctrine routing and slash problem - %2F

2010-04-19 Thread Tom Ptacnik
http://www.devcomments.com/Escape-2f-in-URL-solution-at105103.htm On 17 dub, 11:40, alexmm misiekaleksan...@gmail.com wrote: I database in column 'link' I have for example: documents/proposals documents/contracts And when I write ($link is an object which represents row in above table):

Re: [symfony-users] Form decorator

2010-04-19 Thread Daniel Lohse
Thanks for the awesome write-up! :) Really helpful, cheers, Daniel On 19.04.2010, at 07:24, Gareth McCumskey wrote: So As I said before, I was going to do a blog post on this to sum up the entire thing. I have now finally done it if anyone is interested:

[symfony-users] Re: Colum alias in an aggregate query / Doctrine

2010-04-19 Thread Tom Ptacnik
This works for me. $q = $this-createQuery('p') -select('MAX(p.teid) as maxid'); return $q-fetchOne()-maxid; On 17 dub, 17:32, NOOVEO - Christophe Brun c.b...@nooveo.fr wrote: Hi Andrei, most unfortunately, it doesn't work either. My alias is still v__0 :o(

[symfony-users] help_sfPhpExcelPlugi

2010-04-19 Thread safa boubekri
hi, i have installed sfPhpexcel Plugin and set the default properties in config/phpexcel.yml, i got an error like this when i executed the command *$php plugins/sfPhpExcelPlugin/examples_1_2/01simple.php * after Create new PHPExcel object Fatal error: Class 'sfConfig' not found in

Re: [symfony-users] help_sfPhpExcelPlugi

2010-04-19 Thread Gábor Fási
You're supposed to use it via symfony, not standalone. On Mon, Apr 19, 2010 at 13:42, safa boubekri boubekri.s...@gmail.com wrote: hi, i have installed sfPhpexcel Plugin and set the default properties in config/phpexcel.yml, i got an error like this when i executed the command $php

[symfony-users] :-( please help. ajax problem - noob to ajax -probably simple

2010-04-19 Thread Tofuwarrior
Hi, If anyone can help me I would be very grateful, I'm over my head but I think it is probably a simple thing i'm missing. I've got this far using the jobeet tutorial and various jQuery and symfony resources but I'm stuck. I'm trying to get an ajax jQuery treeMenu to work in symfony and I think

[symfony-users] Re: :-( please help. ajax problem - noob to ajax -probably simple

2010-04-19 Thread Massimiliano Arione
On 19 Apr, 14:43, Tofuwarrior psbur...@googlemail.com wrote: I don't want a template, I just want to get the raw output of this action into this javascript function and I figure this is the problem. So, you replied yourself: just skip the view in your action. You can do it with return

Re: [symfony-users] :-( please help. ajax problem - noob to ajax -probably simple

2010-04-19 Thread Gareth McCumskey
All symfony actions will attempt to return the output of a template based on teh action name unless otherwise told. So if an action has the name tree (executeTree) it will attempt to render the template treeSuccess.php by default. If, however, you want to return your own content and not the

Re: [symfony-users] :-( please help. ajax problem - noob to ajax -probably simple

2010-04-19 Thread Gareth McCumskey
In addition there are other things you can do too like tell it to use a different template to the one that it will automatically look for (great for re-using a template you've created before) by doing: $this-setTemplate('templatefilename'); //Note no return word in fron and no Success.php at the

[symfony-users] Check object relations

2010-04-19 Thread HAUSa
Is it possible to check for an object if there are any foreign key restrictions in effect? So deletion of that object is not possible? -- 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

Re: [symfony-users] help_sfPhpExcelPlugi

2010-04-19 Thread safa boubekri
yes because i developped projet with symfony1.3.3 i think thak i have problèmwith php_zip.dlland php_xml.dll it is not full i have this messag php statup: unable to load dynamic library C:\wamp\bin\php\php5.3.0\ext\ php_zip because theRequirements to use this plugin is that

[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] Re: :-( please help. ajax problem - noob to ajax -probably simple

2010-04-19 Thread Tofuwarrior
Thanks all, I knew about changing the template but not about the render text. I'm just off to try these things out now. Much appreciated. As a general principle is my approach ( ie pull the data from an action into the jQuery) correct. Thanks, Paul On 19 Apr, 14:17, Gareth McCumskey

[symfony-users] sfGuardUserProfile fixtures file population - possible?

2010-04-19 Thread Tofuwarrior
Hi all, Perhaps I'm being dumb but shouldn't it be possible to do this? sfGuardUser: sfGuardUser_1: username: clearintent password: Muaddib is_super_admin: true sfGuardUserProfile: first_name: Clear last_name: Intent email: m...@mail.com

[symfony-users] Re: :-( please help. ajax problem - noob to ajax -probably simple

2010-04-19 Thread Tofuwarrior
Hi all, So, some progress but still, not working and 2 seperate issues I think. 1) When I return renderText the output still been decorated by the debug toolbar. This is when i access /folder/tree/id/1 directly. - Is this because I am not calling this with jq_remote_function ?(I read somethign

[symfony-users] performance problem with sfDoctrinePage on symfony 1.2

2010-04-19 Thread mehdi hadef
Hi all, I have a performance problem on a page using sfDoctrinePager. It takes more than 5 seconds to display the page on local server. Let's see the code in my actions.class about the pager : $this-product = $this-getRoute()-getObject(); $this-pager = new sfDoctrinePager(

Re: [symfony-users] sfGuardUserProfile fixtures file population - possible?

2010-04-19 Thread Alexandru-Emil Lupu
It is possible, but from what i am seeing, your schema is malformed. sfGuardUser: sfGuardUser_1: username: clearintent password: Muaddib is_super_admin: true sfGuardUserProfile: # here you had several spaces more than it was needed first_name: Clear # here you

[symfony-users] Re: sfGuardUserProfile fixtures file population - possible?

2010-04-19 Thread Tofuwarrior
Thanks, that sorted that problem, great. now it says Call to undefined method: setSfGuardUserProfile Not quite sure what I should change it too, any idea? TW On 19 Apr, 16:22, Alexandru-Emil Lupu gang.al...@gmail.com wrote: It is possible, but from what i am seeing, your schema is

[symfony-users] Re: :-( please help. ajax problem - noob to ajax -probably simple

2010-04-19 Thread Tofuwarrior
OK, I think I'm nearly there. If i use the bundled php connector for the treeMenu script it works fine so I know it works. $('#fileTreeDemo_1').fileTree({ root: '/', script: '/js/jqueryFileTree/ connectors/jqueryFileTree.php?id=.$CmsFolder-getId().' }, function(file) { BUT when I substitute my

[symfony-users] Question regarding HTTP-only cookie feature

2010-04-19 Thread Yuchen Zhou
Hi all, I am a security researcher at University of Virginia, I am currently doing research on HTTP-only cookie deployment. May I ask do symfony support HTTP-only cookies, if yes, what is the default configuration for symfony? In other words, do the HTTP servers need to set HTTP-only manually or

[symfony-users] Troubleshooting view loading extremely slowly.

2010-04-19 Thread ErisDS
Hi, I posted this thread on the forum, and was wondering if anyone here could perhaps help with the problem? http://forum.symfony-project.org/index.php/t/26796/ Several of my views are loading in an unreasonably slow time on the production controller. I was wondering if anyone has seen this

[symfony-users] installation problem with php_posix extension

2010-04-19 Thread i...@ticktockit.net
During my configuration check I get the following: -- php.ini used by PHP: C:\Program Files\PHP\php.ini ** Mandatory requirements ** OKPHP version is at least 5.2.4 (5.2.5) ** Optional checks

[symfony-users] Re: isValid always showing false

2010-04-19 Thread smileua
Form validates only during sfForm::bind and only values given to sfForm::bind, ie try $form = new paperForm(); $form-bind( array( 'paper' = $paper )); if ( $form-isValid() ){ } But are you sure to use form for purposes? sfForm is designed for user input, not for another things On Apr 19, 5:37 pm,

[symfony-users] Oracle Clob return Resource id #3

2010-04-19 Thread CrisThor
Hi, my name is Cristian, At the moment, I am working with Symfony Framework and I´ve a problem with the fields type Clob (Oracle). This type Clob return me Resource id#3. I would like that you can help me with this problem. schema: DocumentTplSection: actAs: { Timestampable: ~

Re: [symfony-users] help_sfPhpExcelPlugi

2010-04-19 Thread DEEPAK BHATIA
Hi, Use the same example in an action of a module. It will work perfectly. But prior to that do php symfony cc to autoload the sfPhpExcel Plugin. Regards Deepak Bhatia On Mon, Apr 19, 2010 at 5:12 PM, safa boubekri boubekri.s...@gmail.comwrote: hi, i have installed sfPhpexcel Plugin and

[symfony-users] Re: Troubleshooting view loading extremely slowly.

2010-04-19 Thread pghoratiu
Hello! My suspicion is that you have some I/O timeout when the cache is created first, due to insufficient access rights. Check if the permissions for the cache folder are set up correctly. Second you should do some tests with that disk, copying files around to check the speed of the HDD. Try

[symfony-users] ayuda con __string()

2010-04-19 Thread neoslink
ya eh hecho lo que dice la guia de jobeet para cambiar la salida de la clave Externa de mi aplicacion, pero al querer que mi usuario salga con nombres y apellido siempre me muestra el id, no se que estoy haciendo mal, el perfile me lo muestra bien porque tiene como nombre de campo title y el lo

[symfony-users] Taille d'un Array dans doctrine

2010-04-19 Thread kassak
Bonjour, Je voudrais connaître le taille (nombre d'élément maximal) pour un champ de type Array dans doctrine. Car j'ai beau mettre : words: { type: array(1000) } le champ reste toujours mediumtext. Peut être que je m'y prend mal... Merci d'avance ! Cordialement, -- If you want to report

[symfony-users] Jquery and AJAX symfony 1.4

2010-04-19 Thread trankh
Hello, I want to call a simple action without passing any argument inside a jquery function. No argument because a random function is called inside the action. The routing (in input and output) is this: plantyourtree: url: /tree/plantyourtree param: { module: tree, action: new } the js

Re: [symfony-users] isValid always showing false

2010-04-19 Thread Daniel Lohse
You need to bind values to it or a form cannot say if it's valid or not. ;-) What are you validating with it? I mean, what code should be executed when you validating the object? Daniel Sent from my iPhone On Apr 19, 2010, at 4:37 PM, kim thechosendra...@gmail.com wrote: hello, To see

Re: [symfony-users] Jquery and AJAX symfony 1.4

2010-04-19 Thread Welington Veiga
Well, it's very easy, use ajax like a single php file. View: Use a the helper ?php echo url_for('YOUR_MODULE/index'); ? to decide for what URL to send, inside your script tag, assign to a javascript variable Controller (action) $this-getResponse()-setHttpHeader('Content-type','text/json');

[symfony-users] google analytics trackPageview and ajax helpers

2010-04-19 Thread ashton
I was wondering if there was anyone who had built the google analytics pageview tracking call into the jquery ajax helpers (or done something else to track ajax through google analytics). google analytics allows you to manually trigger a pageview that you can use to track ajax page loads:

Re: [symfony-users] help_sfPhpExcelPlugi

2010-04-19 Thread safa boubekri
i do it symfony cc but the same msg -- 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] Re: Jquery and AJAX symfony 1.4

2010-04-19 Thread trankh
I'm sorry but i prefer you write the code because i don't get it. Why do you use json? Thanks On 19 avr, 20:40, Welington Veiga welington.ve...@gmail.com wrote: Well, it's very easy, use ajax like a single php file. View: Use a the helper ?php echo url_for('YOUR_MODULE/index'); ? to decide

[symfony-users] Re: help_sfPhpExcelPlugi

2010-04-19 Thread Guilherme Veras
Hello maybe you can settle with something simpler. My tip is http://snippets.symfony-project.org/snippet/364 On 19 abr, 17:04, safa boubekri boubekri.s...@gmail.com wrote: i do  it symfony cc but the same msg -- If you want to report a vulnerability issue on symfony, please send it to

Re: [symfony-users] help_sfPhpExcelPlugi

2010-04-19 Thread DEEPAK BHATIA
Hi, I am saying use the code in the action of a module. Please let me know if you understand action of a module. public function executeFiledownload($request) { // Create new PHPExcel object $objPHPExcel = new sfPhpExcel(); // Set active sheet index to the first sheet, so Excel

Re: [symfony-users] Security user problem[New to Symfony] sfBasicSecurityUser

2010-04-19 Thread Alexandru-Emil Lupu
Read the doc, and wont be bad to have a look in the auth plugins. The rest is up to symfony internals. sent via htc magic On Apr 20, 2010 2:50 AM, Andro Fumero fugitive...@yahoo.com wrote: hello users-helpers, Im already done with setting up security: all: is_secure: true credentials:

Re: [symfony-users] Taille d'un Array dans doctrine

2010-04-19 Thread Alexandru-Emil Lupu
Please use english on this list, or look for french list. Thanks. sent via htc magic On Apr 19, 2010 8:46 PM, kassak albin.kes...@gmail.com wrote: Bonjour, Je voudrais connaître le taille (nombre d'élément maximal) pour un champ de type Array dans doctrine. Car j'ai beau mettre : words: {