[symfony-users] Add Foreign Key to mysql table

2009-03-31 Thread DeepakBhatia
Hi I am trying below = TO ADD A FOREIGN KEY TO AN EXISTING TABLE (I couldn't see a good example) you can do this: alter table users add foreign key(favGenre) references products_genre (gid); Where favgenre is the column of the

[symfony-users] Re: Mysql Restore Issue

2009-03-31 Thread DEEPAK BHATIA
Hi, How can I add a column to the mysql table which refers a foreign table ? I have added a column project_type in project_table but this refers to projecttype_table. Regards Deepak Bhatia On Thu, Mar 26, 2009 at 6:11 PM, Dheeraj Kumar Aggarwal < dheerajcom...@gmail.com> wrote: > Hi Deepak, >

[symfony-users] Re: Unable to open PDO connection

2009-03-31 Thread Gareth McCumskey
That was my first thought as well. Log onto the command line of the server your application is sitting on, and try to connect via the mysql command line client to the remote server. That cannot connect error is synonomous with either incorrect connection details or lack of priviledges on the remote

[symfony-users] Re: 1.2.5 chokes trying to unlink a nonexistant cache file

2009-03-31 Thread Josh Steiner
Ok, this is actually caused by sfErrorHandlerPlugin, if i move it out of my plugins folder, the page loads fine now. Looks like it may be sfErrorHandlerPlugin being a bit over zealous in reporting errors if its catching @ suppressed errors... -J On Tue, Mar 31, 2009 at 7:44 AM, Fabian Lange wr

[symfony-users] Re: Unable to open PDO connection

2009-03-31 Thread Pablo Godel
did you check the mysql connection using mysql command line? It is possible that mysql server is not set to allow remote connections or that the user has not privileges. Pablo On Tue, Mar 31, 2009 at 6:45 PM, Joshua wrote: > > I'm trying to move my project to the production server and its havin

[symfony-users] Unable to open PDO connection

2009-03-31 Thread Joshua
I'm trying to move my project to the production server and its having trouble connecting to the remote database. The development server used localhost. [Tue Mar 31 18:40:34 2009] [error] [client xx.xx.xx.xx] Unable to open PDO connection [wrapped: SQLSTATE[HY000] [2003] Can't connect to MySQL ser

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Yevgeniy A. Viktorov
How about $last_line = system('dir c:\\', $retval); or maybe $last_line = system('dir c:\', $retval); Tomasz Ignatiuk wrote: > for > $last_line = system('php.exe -v', $retval); > $last_line = system('dir c:\\php5', $retval); > $last_line = system('dir c:\\php\\php5', $retval); > there is > > -

[symfony-users] Re: can't install symfony via pear

2009-03-31 Thread Joshua
I deleted /usr/share/PEAR and reinstalled pear that fixed it --~--~-~--~~~---~--~~ 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 fr

[symfony-users] Re: can't install symfony via pear

2009-03-31 Thread Daniel González
2009/4/1 Daniel González > 2009/3/31 Joshua > >> >> [root@ ]# /usr/share/bin/pear install symfony/symfony-1.2.2 >> this gave me a PHP fatal error memory exhausted. i updated php.ini >> memory_limit to 32MB then restarted >> >> [root@ ]# /usr/share/bin/pear install symfony/symfony-1.2.2 >> Ignori

[symfony-users] Re: can't install symfony via pear

2009-03-31 Thread Daniel González
2009/3/31 Joshua > > [root@ ]# /usr/share/bin/pear install symfony/symfony-1.2.2 > this gave me a PHP fatal error memory exhausted. i updated php.ini > memory_limit to 32MB then restarted > > [root@ ]# /usr/share/bin/pear install symfony/symfony-1.2.2 > Ignoring installed package symfony/symfony

[symfony-users] Re: can't install symfony via pear

2009-03-31 Thread Joshua
also [root@ ]# /usr/share/bin/pear uninstall symfony/symfony-1.2.2 No package to uninstall given --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us

[symfony-users] can't install symfony via pear

2009-03-31 Thread Joshua
[root@ ]# /usr/share/bin/pear install symfony/symfony-1.2.2 this gave me a PHP fatal error memory exhausted. i updated php.ini memory_limit to 32MB then restarted [root@ ]# /usr/share/bin/pear install symfony/symfony-1.2.2 Ignoring installed package symfony/symfony Nothing to install [root@ ]# /

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Tomasz Ignatiuk
for $last_line = system('php.exe -v', $retval); $last_line = system('dir c:\\php5', $retval); $last_line = system('dir c:\\php\\php5', $retval); there is -- Last line of the output: -- Return value: 127 -- Last li

[symfony-users] Re: Jobeet: Doctrine: Day 3

2009-03-31 Thread Emily Berk
Ahhh! Thank you!!! The URL should be: http://localhost:8080/frontend_dev.php/job/edit/id/1 YEAH! I'm on to Day 4. -- Emily At 01:35 PM 3/31/2009, Fà SI Gábor wrote: >You linked screenshots for two different screens: one for the job >list, one for an edit job page. >Just checked jobeet day

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Yevgeniy A. Viktorov
Cool, it works Still to find php.exe ;) Try this: '; $last_line = system('php.exe -v', $retval); echo ' Last line of the output: ' . $last_line . ' Return value: ' . $retval; Can you verify anyhow if this is correct path? "c:\\php5\\php.exe" Or, try also this: '; $last_line = system('dir c:\

[symfony-users] Re: Jobeet: Doctrine: Day 3

2009-03-31 Thread FÁSI Gábor
You linked screenshots for two different screens: one for the job list, one for an edit job page. Just checked jobeet day 03, seems like the url is incorrect, it should be like /job/edit/1 or something like that. On Tue, Mar 31, 2009 at 22:27, Emily Berk wrote: > > I've gone through Day 3 of the

[symfony-users] Re: Jobeet: Doctrine: Day 3

2009-03-31 Thread Emily Berk
I've gone through Day 3 of the tutorial. When I call up the thing at the end of the day, I see something that looks like this: http://www.flickr.com/photos/armadillosoft/3402686504/ Is this correct? But it's SUPPOSED to look like this: http://www.symfony-project.org/images/jobeet/1_2/03/job.

[symfony-users] Re: Problem loading fixtures for NestedSets using Doctrine

2009-03-31 Thread Andrei Dziahel
Hello, Jon. Thank you for response. But it looks like it is false alarm. At present time while importing fixtures, Doctrine could count my fixture as NestedSet in 2 cases: 1) It looks similar to this: > ProfileStat: > NestedSet: yes > Notice indentation level - it is same as regular err... Pro

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Tomasz Ignatiuk
FusionCharts frontend.php js sfProtoculousPlugin backend.php frontend_dev.php robots.txt sf_cc_webscript.php backend_dev.php imagessfFormExtraPlugin uploads css index.php sfPropelPlugin -- Last

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Yevgeniy A. Viktorov
Something not good... Let's try with system commands, erm... maybe "dir"? '; $last_line = system('dir', $retval); echo ' Last line of the output: ' . $last_line . ' Return value: ' . $retval; Tomasz Ignatiuk wrote: > It returned > -

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Tomasz Ignatiuk
It returned -- Last line of the output: -- Return value: 127 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send e

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Yevgeniy A. Viktorov
Ok, try this: '; $last_line = system('c:\\php5\\php.exe -v', $retval); echo ' Last line of the output: ' . $last_line . ' Return value: ' . $retval; Tomasz Ignatiuk wrote: > I used \, then \\ and each time it is stripped out > > *Fatal error*: Uncaught exception 'sfException' with message 'P

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Tomasz Ignatiuk
I used \, then \\ and each time it is stripped out *Fatal error*: Uncaught exception 'sfException' with message 'Problem executing command sh: line 1: c:php5php.exe: command not found ' in /home/users/iwitch/public_html/pd/lib/symfony/task/sfFilesystem.class.php:291 Stack trace: #0 /home/users/iwi

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Yevgeniy A. Viktorov
"c:/php5/php.exe" will not work for windows: But "c:\\php5\\php.exe" a must. Let's simplify, for example: sh('c:\\php5\\php.exe -v'); echo $res; Let me know if above works for you. Thanks. Tomasz Ignatiuk wrote: > I thought it should be a path to project, hehe. > > So now there is > > c:/php

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Tomasz Ignatiuk
I thought it should be a path to project, hehe. So now there is c:/php5/php.exe -c c:/windows/php-isapi.ini "/home/users/iwitch/public_html/pd/lib/symfony/command/cli.php" cc *Fatal error*: Uncaught exception 'sfException' with message 'Problem executing command sh: line 1: c:/php5/php.exe: No su

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Yevgeniy A. Viktorov
Yes, now I see windows :) And now it's another error: Fatal error: Uncaught exception 'sfException' with message 'Problem executing command sh: line 1: c:php5php.exe: command not found ' See "line 1: c:php5php.exe: command not found"? This is actual error. It lost "\" from $command var. Try to

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Tomasz Ignatiuk
Command: c:\php5\php.exe -c -n c:\windows\php-isapi.ini "/home/users/iwitch/ public_html/pd" cc My project is in "/home/users/iwitch/public_html/pd" I use '/' because this is how symfony shows errors This is for PHP5 on my server. Asmin gave me this path: c: \php5\php.exe -c -n c:\windows\php-is

[symfony-users] Re: Problem loading fixtures for NestedSets using Doctrine

2009-03-31 Thread Jonathan Wage
Hmm. This looks like another similar bug. Can you create a ticket and we'll troubleshoot the scenario to see what is going on. Thanks, Jon On Tue, Mar 31, 2009 at 6:20 AM, Andrei Dziahel wrote: > Hi, all. > > I have an model class that acts as NestedSet and I18n simultaneously. When > I'm trying

[symfony-users] Re: Admin gen: How to "group" an i18n field in the edit view

2009-03-31 Thread Jonathan Wage
It is currently not possible. You can create a ticket but I think one might already exist for this similar issue. - Jon On Tue, Mar 31, 2009 at 4:09 AM, Loïc Vernet wrote: > I am embedding an i18n form of a table "a la Jobeet", this works great. But > i'd like to be able to group this form / fi

[symfony-users] Re: forum for 1.2 and doctrine (sfSympalForumPlugin?)

2009-03-31 Thread Jonathan Wage
sfSympalForumPlugin has not been created yet. - Jon On Tue, Mar 31, 2009 at 8:29 AM, jmaicher wrote: > > Hey! > > I've been spending hours looking for a forum dedicated to 1.2 and > doctrine. > I read about a sub plugin for sfSympal called sfSympalForumPlugin but > unfortunately it's not integra

[symfony-users] Re: CSRF attack in batch actions

2009-03-31 Thread HAUSa
Today I read something about a with_wildcards_route option. Is this in effect for the batch actions to work properly? I don't get a 404 error (which is normal when you have a route problem), but the CSRF attach error as noted above. That's why I think the with_wildcards_route option doesn't cause

[symfony-users] Re: how to use generator.yml

2009-03-31 Thread Eno
On Tue, 31 Mar 2009, sachin jain wrote: > how to use generator.yml in frontend Remember, the symfony command-line tool has built-in help: $ symfony help propel:generate-admin Usage: symfony propel:generate-admin [--module="..."] [--theme="..."] [--singular="..."] [--plural="..."] [--env="

[symfony-users] Re: Upload file name

2009-03-31 Thread HAUSa
Campezzi, thanks a lot! This indeed works! I did the Jobeet tutorial, but oviously I read over it. public function generateFileFilename(){ return 'testnow.pdf'; } My file has a neat testnow.pdf file name on upload. On 31 mrt, 15:05, Campezzi wrote: > I didn'

[symfony-users] Re: 1.2.5 chokes trying to unlink a nonexistant cache file

2009-03-31 Thread Fabian Lange
Hi, could be error reporting. The four digit file exists, because it is the new file that shall replace the old one. Due to the way it is implemented in PHP we need to remove the file .yml before we move the . to its place. However the unlinking fails which sucks... I am open for ideas and will

[symfony-users] Re: How to install sfMediaLibraryPlugin and sfThumbnailPlugin in Symfony 1.2 project?

2009-03-31 Thread Thomas Rabaix
you can use check out the swDoctrineAssetsLibraryPlugin, works with doctrine and sf1.2 http://trac.symfony-project.org/browser/plugins/swDoctrineAssetsLibraryPlugin/branches/sf1.2 On Tue, Mar 31, 2009 at 11:10 AM, mathiasv wrote: > > Hi, > Look at his : http://raw.trac.symfony-project.org/tick

[symfony-users] Re: batch script+send email+request parameter

2009-03-31 Thread Kris
You can do it by doing something like this: sfContext::getInstance()->getController()->dispatch('myModule', 'myAction', array('param'=>'test')); The parameters you want to pass are an array. This way you still keep all your code in actions, and you can use templates you've created for your emai

[symfony-users] Re: Forum Plugin for Doctrine and 1.2

2009-03-31 Thread jmaicher
Sorry for multiple posts .. See: http://groups.google.com/group/symfony-users/browse_thread/thread/bb2ad23ac986fff9 On 31 Mrz., 11:30, Julian Maicher wrote: > Hey! > > Does anybody know a forum plugin which works with doctrine and 1.2? > > Thanks for your ideas, > > Julian --~--~-~--~--

[symfony-users] serveur CAS et plugin sfGuard

2009-03-31 Thread blh1021
hello, i speak a little english. I have to manage users (group and permission) for multiple application SSO with CAS server. I found the plugin sfGuard (management of users, group, permission) and I have a library phpCAS. My only problem is that authentication is not http or LDAP auth, but by

[symfony-users] Re: Form validation in symfony1.2

2009-03-31 Thread jmaicher
It's pretty simple .. you created a class which extends sfForm?! If so you just have to implement the configure()-function where you can create widgets (I hope you did that so far). With $this->setValidators you can specify validators for each widget or you can add a post validator. little exampl

[symfony-users] forum for 1.2 and doctrine (sfSympalForumPlugin?)

2009-03-31 Thread jmaicher
Hey! I've been spending hours looking for a forum dedicated to 1.2 and doctrine. I read about a sub plugin for sfSympal called sfSympalForumPlugin but unfortunately it's not integrated in the latest release of sfSympalPlugin. Does anybody know if there is really a sfSympalForumPlugin? Or any oth

[symfony-users] Re: How to install sfMediaLibraryPlugin and sfThumbnailPlugin in Symfony 1.2 project?

2009-03-31 Thread mathiasv
Hi, Look at his : http://raw.trac.symfony-project.org/ticket/5608 M. On 9 mar, 18:58, Big Al wrote: > I've been searching for an answer to this all day with no luck. > > Can anyone help shed some light onto whether or not there is soon > going to be Symfony 1.2 compatible versions of sfMediaLib

[symfony-users] Forum Plugin for Doctrine and 1.2

2009-03-31 Thread Julian Maicher
Hey! Does anybody know a forum plugin which works with doctrine and 1.2? Thanks for your ideas, Julian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to sy

[symfony-users] Re: 1.2.5 chokes trying to unlink a nonexistant cache file

2009-03-31 Thread Ian
Hi, I get this exact same problem - an sfLegacyException because it tries to unlink a cached view.yml file. What is odd is that the view.yml file in question does kind of exist, except that it ends with xxx_view.yml. (with the final four digits being a four digit number). This only happens in

[symfony-users] edit i18n-models in backend

2009-03-31 Thread lowshoe
hi, i'm using symfony 1.2.5 and have problems with internationalized models in the backend. i tried to reproduce te internationalization-paret of the jobeet- tutorial at http://www.symfony-project.org/jobeet/1_2/Propel/en/19 i have the following schema: # config/schema.yml category: _attri

[symfony-users] Re: Symfony CMS Plugins

2009-03-31 Thread Joan Teixidó
hi, it seems a very good job! thks for sharing! 2009/3/31 Tom Boutell > > > John Wage: won't be porting sympal to Propel himself... > > Yeah, the same goes for pkContextCMS. There are reasons why Doctrine > is so compelling to us CMS-codin' types. > > Over time I think programmers will vote with

[symfony-users] Re: How do you manage your emails? I want to keep using sendEmail()

2009-03-31 Thread Bernhard Schussek
I wonder what happend about Nicolas' sfEmailPlugin... It was supposed to be in sf1.2. Does anyone have any news about it? Bernhard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to t

[symfony-users] Re: batch script+send email+request parameter

2009-03-31 Thread Frank He
I asked this question before, 1. if you are using syfmony 1.2, no more sendEmail() function is good, just write it dierectly into your task 2. as running in cli, no request_uri is good, just hard code the url This is my experience On Tue, Mar 31, 2009 at 9:21 AM, kusum wrote: > > > Hi , > ho

[symfony-users] Re: batch script+send email+request parameter

2009-03-31 Thread kusum
Hi , how i can send email in batch script using sendEmail and set request parameter for email. Thanks, Kusum On Mar 31, 5:18 pm, kusum wrote: > Hi , >     how i can send email in batch script using sendEmail and set > request parameter for email. > > Thanks, > Kusum > > On Mar 28, 7:

[symfony-users] Re: How do you manage your emails? I want to keep using sendEmail()

2009-03-31 Thread Frank He
yes that is what I have to do now, no longer to seperate email into a seperate action. Only that if many place need to send one similiar email? It is no longer as convenient as that in symfony 1.0, but hopefully, this kind of occurance is not high. On Tue, Mar 31, 2009 at 9:14 AM, Tom Boutell wro

[symfony-users] Re: How do you manage your emails? I want to keep using sendEmail()

2009-03-31 Thread Tom Boutell
I really like the way SwiftMailer integrates with Symfony. My sfDoctrineApplyPlugin uses it for confirmation emails. My own feeling is that separate actions for emails are a pain because in the action that wants to send the email in the first place you usually have all of the necessary data ready

[symfony-users] Re: Upload file name

2009-03-31 Thread Campezzi
I didn't test this, but I remember seeing something like that in the Jobeet tutorial: "If a generateLogoFilename() method exists in the model, it will be called by the validator and the result will override the default generated logo filename. The method is given the sfValidatedFile object as an

[symfony-users] Re: Unchecked check boxes (Apologies for the double post.)

2009-03-31 Thread Campezzi
>From what I could gather, the problem is that this is a dynamic form, where the user can add new fields on the fly. When the form is submitted, the script doesn't know exactly how many checkboxes exist (because the user could have created 2, 3, 10, or 50 of them). That's why Mark can't use $reque

[symfony-users] Re: Bypass template?

2009-03-31 Thread Mark Smith
Thanks to everyone, your responses where invaluble! This is what I ended up using: public function execute($request) { $manager=new ReportManager(); $response=$this->getResponse(); $response->setContentType("text/csv"); $response->setHttpHeader('Content-Disposition', 'attachm

[symfony-users] Re: Symfony CMS Plugins

2009-03-31 Thread Tom Boutell
> John Wage: won't be porting sympal to Propel himself... Yeah, the same goes for pkContextCMS. There are reasons why Doctrine is so compelling to us CMS-codin' types. Over time I think programmers will vote with their feet and Doctrine will tend to replace Propel, but we shall see. -- Tom Bou

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Yevgeniy A. Viktorov
"Fatal error: Uncaught exception 'sfException' with message 'Problem executing command sh: line 1: */etc/php5/apache2: is a directory*" Make sure you have correct command, for example first parameters must be full path to php binary, NOT directory. Let me know how your $command var finally looks

[symfony-users] Re: Bypass template?

2009-03-31 Thread Bernhard Schussek
Hi Mark, You can use the method sfAction::renderText() to render a given string bypassing the normal view layer. As others pointed out above, use the methods in sfResponse to change the content type. public function execute($request) { $manager=new ReportManager(); $this->getResponse()->

[symfony-users] Re: batch script+send email+request parameter

2009-03-31 Thread kusum
Hi , how i can send email in batch script using sendEmail and set request parameter for email. Thanks, Kusum On Mar 28, 7:43 pm, Kris wrote: > Kasum, > > Which version of Symfony are you using? > > In your batch script, do you have: > > define('SF_ENVIRONMENT', 'cli'); > > This setting will

[symfony-users] Re: Bypass template?

2009-03-31 Thread Thomas Rabaix
$response = $this->getResponse(); $manager=new ReportManager(); $response->setContent($manager->getReport()); $response->sendHttpHeaders(); $response->sendContent(); throw new sfStopException(); On Tue, Mar 31, 2009 at 1:58 PM, Dheeraj Kumar Aggarwal < dheerajcom...@gmail.com>

[symfony-users] Re: Bypass template?

2009-03-31 Thread Dheeraj Kumar Aggarwal
Hi Smith, u can set your content type by $response->setContentType('text/csv'); //$response->setContentType('text/x-csv'); //$response->setContentType('application/csv'); $response->setHttpHeader('Content-Disposition', 'attachment; filename=' . $file_name); On Tue, Mar 31, 2009 at 5:16 PM, cokke

[symfony-users] Re: Bypass template?

2009-03-31 Thread cokker
try to return SfView::NONE or disable layout in module/view.yml greets Sven Mark Smith schrieb: > Hi, > > I am trying to add an action that just returns a report as raw CSV > data. > > Is it possible to bypass the template layer and just set my own > content? > > My code looks like this so f

[symfony-users] Problem loading fixtures for NestedSets using Doctrine

2009-03-31 Thread Andrei Dziahel
Hi, all. I have an model class that acts as NestedSet and I18n simultaneously. When I'm trying to import following fixture.yml via symfony doctrine:data-load, it throws "Unknown method ProfileStat::setChildren" error message. symfony 1.2.4, Doctrine 1.0.*8* (I've updated Doctrine to latest 1.0 af

[symfony-users] Bypass template?

2009-03-31 Thread Mark Smith
Hi, I am trying to add an action that just returns a report as raw CSV data. Is it possible to bypass the template layer and just set my own content? My code looks like this so far: public function execute($request) { $response = $this->getResponse(); $manager=new ReportManager();

[symfony-users] Re: Form validation in symfony1.2

2009-03-31 Thread Prashanth
Thank you Very much For your Reply. And iam in little confusion where i have to write that code. Please Can you give the Example. On Mar 23, 8:26 pm, Fási Gábor wrote: > You can use the validators described in the Forms book, appendix > Bhttp://www.symfony-project.org/book/forms/1_2/en/B-Valid

[symfony-users] Re: how to use generator.yml

2009-03-31 Thread Alan Bem
supply "frontend" as argument in generator CLI On Tue, Mar 31, 2009 at 11:37 AM, sachin jain wrote: > how to use generator.yml in frontend > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" gr

[symfony-users] Re: how to use generator.yml

2009-03-31 Thread Steve Browett
The generator.yml file allows on-the-fly configuration of the generated admin only. You cannot use it to automatically render a frontend website which I think is what you might be expecting. Please elaborate on your query and someone might be able to help you. Steve 2009/3/31 Paolo Mainardi > >

[symfony-users] Re: how to use generator.yml

2009-03-31 Thread Paolo Mainardi
On Tue, Mar 31, 2009 at 11:43 AM, sachin jain wrote: > Its in french I need to know how to use generatoir.yml in frontend not to > backend > What you mean ? > > > On Tue, Mar 31, 2009 at 3:10 PM, Paolo Mainardi > wrote: > >> >> >> On Tue, Mar 31, 2009 at 11:37 AM, sachin jain wrote: >> >>> how

[symfony-users] Re: how to use generator.yml

2009-03-31 Thread sachin jain
Its in french I need to know how to use generatoir.yml in frontend not to backend On Tue, Mar 31, 2009 at 3:10 PM, Paolo Mainardi wrote: > > > On Tue, Mar 31, 2009 at 11:37 AM, sachin jain wrote: > >> how to use generator.yml in frontend > > > :) > > > > > -- > Paolo Mainardi > > CTO Twinbit >

[symfony-users] Re: how to use generator.yml

2009-03-31 Thread Paolo Mainardi
On Tue, Mar 31, 2009 at 11:37 AM, sachin jain wrote: > how to use generator.yml in frontend :) -- Paolo Mainardi CTO Twinbit Blog: http://www.paolomainardi.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] how to use generator.yml

2009-03-31 Thread sachin jain
how to use generator.yml in frontend --~--~-~--~~~---~--~~ 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 em

[symfony-users] Admin gen: How to "group" an i18n field in the edit view

2009-03-31 Thread Loïc Vernet
I am embedding an i18n form of a table "a la Jobeet", this works great. But i'd like to be able to group this form / fields like the standarts one, i tried several things but it does not work, i'd like somethink like that: form: display: "Id": [=id] "Infos":

[symfony-users] Re: Sf. 1.2 Clear cache by executing file

2009-03-31 Thread Tomasz Ignatiuk
This looks nice, but not working. Maybe because this is Windows server and it has something to do with shell commands? Fatal error: Uncaught exception 'sfException' with message 'Problem executing command sh: line 1: /etc/php5/apache2: is a directory ' in / home/users/.../public_html/pd/lib/symfo

[symfony-users] Re: Problem using eaccelerator caching

2009-03-31 Thread Gareth McCumskey
I guess you can all disregard my previous post. I bit the bullet and got the admin to switch to APC cache which now doesn't cause the segmentation fault but for some reason the data is not being stored correctly. Using the following code: public static function doSelect(Criteria $criteria, $con =

[symfony-users] Re: mysql extension not loaded

2009-03-31 Thread michael.pie...@googlemail.com
Sometimes there are two different *.ini locations for php: one for CLI and one for the webserver. You should check that out. Michael On 31 Mrz., 08:53, sachin jain wrote: > [PropelException] > [wrapped: mysql extension not loaded [User Info: Array]] > > in linux I am am getting what could be

[symfony-users] Re: Problem using eaccelerator caching

2009-03-31 Thread Gareth McCumskey
Hi again all, Well it seems I was able to find the problem myself. It seems the eAccelerator suffers intermittent segmentation fault issues with Apache 2 and that the symfony cache classes invoke this response on attemtoing to retrieve cached values, possibly due to the size of the data stored in

[symfony-users] Problem using eaccelerator caching

2009-03-31 Thread Gareth McCumskey
Hi all, A while back I posted about an idea to improve performance using the memory caching classes of eaccelerator. We now have eaccelerator installed on the server, and its running fine so today I decided to persue my plan and begin overwriting the doSelect and save methods of a few select model