[symfony-users] Doctrine:migrate give error "table exists"

2011-01-04 Thread seifolah Ghaderi
Hi any body. I added some column to my exist table in schema and add new table too. Now for migrate databse i did the following: 1- then run doctrine:generate-migrations-diff 2-then I run doctrine:migrate but it give me the error that table or column exists: - SQLSTATE[42S01]: Base table or view

Re: Re : [symfony-users] Where Modify action before saving

2010-12-13 Thread seifolah Ghaderi
thanks. because I'm new in symfony I don't understand your mean completely. Can you describe where to do that? On Mon, Dec 13, 2010 at 2:21 AM, khalid wrote: > yes never use the context in your model. > > if you have on your action > $object = $this->from->getObject()->setUserId($this->getUser()

Re: Re : [symfony-users] Where Modify action before saving

2010-12-12 Thread seifolah Ghaderi
the guard_user_id it'sz$ différente of user_id ?? > > > 2010/12/11 seifolah Ghaderi > > Here is schema: >> post: >> actAs: { Timestampable: ~ } >> columns: >> user_id: { type: integer, notnull: true } >> title: { type: string(2

Re: Re : [symfony-users] Where Modify action before saving

2010-12-11 Thread seifolah Ghaderi
Here is schema: post: actAs: { Timestampable: ~ } columns: user_id: { type: integer, notnull: true } title: { type: string(255) } location: { type: string(255), notnull: true } description: { type: string(4000), notnull: true } is_activated: { type: boolean, notn

[symfony-users] Where set untested value

2010-12-05 Thread seifolah Ghaderi
Hi all. In my website I have a module named Post.Each Post created by a user. I use SfDocringGuard plugin.Now in new action of Post module I untested user_id that displayed via a combo box. I modified Post.class.php as bellow /lib/model/Post.class.php Code:public function save(Doctrine_Connection $

Re: [symfony-users] Re: Subdomain dynamicly

2010-01-28 Thread seifolah Ghaderi
evious > recomendation) and nothing is showed. Problem is in the virtualhost > settings (apache... php...) > > If you see "hello" text. Problem should be in your symfony > application. > > > On 26 led, 16:26, seifolah Ghaderi wrote: >> No !! It doesn't wor

Re: [symfony-users] Re: Subdomain dynamicly

2010-01-26 Thread seifolah Ghaderi
No !! It doesn't work. On Tue, Jan 26, 2010 at 6:45 PM, Tom Ptacnik wrote: > What if you add a "127.0.0.1 test.my.com" to the hosts file and > "ServerAlias test.my.com" to the virtualhost config. Does this > subdomain works? > > On 26 led, 09:17, seif

Re: [symfony-users] Re: Subdomain dynamicly

2010-01-26 Thread seifolah Ghaderi
ith www.my.com But I can't access subdomains.For example example1.my.com,It show "page not found error". Any idea? On Wed, Jan 20, 2010 at 11:00 AM, seifolah Ghaderi wrote: > Thanks .I try it. > > On Tue, Jan 19, 2010 at 6:14 PM, wissl wrote: >> There is the exce

Re: [symfony-users] confige sandbox project on shared host

2009-12-05 Thread seifolah Ghaderi
ean your cache, and > it should work in prod as well. > > On Sat, Dec 5, 2009 at 08:10, seifolah Ghaderi wrote: > > Oh! It's works !! > > I cleaned the cash and it works. > > But in *_dev.php it give some warning: > > Warning: session_start() [function.session-s

Re: [symfony-users] confige sandbox project on shared host

2009-12-04 Thread seifolah Ghaderi
ib/response/sfWebResponse.class.php * on line *349 Whats problem? * On Sat, Dec 5, 2009 at 10:18 AM, seifolah Ghaderi wrote: > Hey Thanks it works. > But in fr *_dev.php only !!. > It display a blank page in index.php and /backend/ > > Any idea? > > On Thu, Dec 3, 2009 at 11:43

Re: [symfony-users] confige sandbox project on shared host

2009-12-04 Thread seifolah Ghaderi
Hey Thanks it works. But in fr *_dev.php only !!. It display a blank page in index.php and /backend/ Any idea? On Thu, Dec 3, 2009 at 11:43 AM, Daniel Lohse wrote: > Look here to customize symfony for your directory structure: > > > http://www.symfony-project.org/book/1_2/19-Mastering-Symfony-s-

Re: [symfony-users] Secure some module action

2009-11-29 Thread seifolah Ghaderi
, but it provides the >> forms for you, so it's pretty easy to implement. >> >> [1] >> http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Layer#chapter_06_sub_access_restriction >> >> On Sun, Nov 29, 2009 at 10:36, seifolah Ghaderi >> wrot

[symfony-users] Secure some module action

2009-11-29 Thread seifolah Ghaderi
Hi any body. I'm developing a special forum with symfony. I want to secure insert topic page. I have a Topic module.and I can use New action of it. But How Can I secure it?(to allow users that signed in). I have another question.Have sfGuard have any registeration page or we should implement it?or

[symfony-users] What's the bestRichTextEditor plugin for symfony

2009-08-25 Thread seifolah Ghaderi
Hi All. What's the best plugin that contains RichTextEditor to use in symfony? --~--~-~--~~~---~--~~ 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

[symfony-users] Re: Generated Form Is Empty

2009-07-30 Thread seifolah Ghaderi
Thanks.I solved it. I rename my matchForm to MatchSheet,and it work's! I think itmay be a bug.When We have a module named A and another named AForm ,When we call A/new url it rais this error. On Thu, Jul 30, 2009 at 7:53 PM, Eno wrote: > > On Thu, 30 Jul 2009, seifolah Ghaderi wrote

[symfony-users] Re: Generated Form Is Empty

2009-07-30 Thread seifolah Ghaderi
*match/new* module and FarzaneMatchForm is another module. I have to module(match and matchForm) and I think this error relate to my module name! On Thu, Jul 30, 2009 at 3:50 PM, Eno wrote: > > On Thu, 30 Jul 2009, seifolah ghaderi wrote: > > > After I generate my module in admin

[symfony-users] Generated Form Is Empty

2009-07-30 Thread seifolah ghaderi
Hi. After I generate my module in admin side,One of My generated form is empty. It's name Is SampleMatch.when i go to /match/new ,it don't show any thing!!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony u

[symfony-users] Help For Nested Form

2009-07-29 Thread seifolah Ghaderi
Hi All. It's my project plan. I have *league* table. Each *league* table has many *Week* and also has many *Team* . *Week* has many *Game* , And each *Game* has two* Team* . In *Game* table i set two foreign key to *Team* table,But In my *Game* form It doesn't show two Combo box for my two forei

[symfony-users] Re: Doctrine Complete Reference

2009-07-28 Thread seifolah Ghaderi
Thanks.I try it. On Tue, Jul 28, 2009 at 11:07 PM, Gábor Fási wrote: > > Most of the stuff is the same, like the rich text editor you mentioned > has nothing to do with propel or doctrine. > > On Tue, Jul 28, 2009 at 17:08, seifolah Ghaderi wrote: > > Thanks Fabian.

[symfony-users] Re: Doctrine Complete Reference

2009-07-28 Thread seifolah Ghaderi
Thanks Fabian. I look some thing similar to it for Doctrine.(It's in Propel); On Tue, Jul 28, 2009 at 5:48 PM, Fabian Lange < fabian.la...@symfony-project.com> wrote: > > It looks like you are looking for this link: > http://www.symfony-project.org/book/1_2/14-Generators > > > > --~--~-

[symfony-users] Doctrine Complete Reference

2009-07-28 Thread seifolah Ghaderi
Hi. I want to use some configuration in my generator.yml -- generator: class: sfDoctrineGenerator param: model_class: FarzaneNews theme: admin non_verbose_templates: true with_show: false singular: ~ plural:

[symfony-users] Re: Unknown method Error for all module (modified)

2009-07-18 Thread seifolah Ghaderi
It works !! I start another project and no problem accrued. I think there were some problem in my schema.yml. On Sat, Jul 18, 2009 at 3:10 PM, seifolah Ghaderi wrote: > In my previous symfony project It already worked correctly. > ٌI think i forgot to set some configuration to disable

[symfony-users] Re: Unknown method Error for all module (modified)

2009-07-18 Thread seifolah Ghaderi
the others are propel accessors. In > doctrine, you can access that fileld like $game_news->Dsc or > $game_news["Dsc"], try one of these instead. > > On Sat, Jul 18, 2009 at 13:07, seifolah Ghaderi wrote: > > I used Doctrine:build-all to genereate module and forms. >

[symfony-users] Re: Unknown method Error for all module (modified)

2009-07-18 Thread seifolah Ghaderi
I used Doctrine:build-all to genereate module and forms. On Sat, Jul 18, 2009 at 1:58 PM, Gábor Fási wrote: > > You used Doctrine, but you wrote your templates Propel-style. Instead > of $game_news->getDsc() and the others use $game_news->Dsc > > On Sat, Jul 18, 2009 at 09

[symfony-users] Unknown method Error for all module (modified)

2009-07-18 Thread seifolah Ghaderi
Hi any body. I start new project in symfony.But i receive an error for all my module when i want to see list of them(executeIndex template). For example it is my Error and My configure scema and .. *Error: Unknown method GameNews::getDsc at () in SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfDoctr

[symfony-users] Unknown method Error fro all module

2009-07-17 Thread seifolah Ghaderi
Hi any body. I start new project in symfony.But i receive an error for all my module when i want to see list of them(executeIndex). For example it is my Error and My configure scema and .. *Error: Unknown method GameNews::getDsc at () in SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfDoctrinePlugin

[symfony-users] Re: Use Plagin from Different ORM

2009-07-14 Thread seifolah Ghaderi
I've taken the same decision for plugins that aren't available in Doctrine . Seifolah On Wed, Jul 15, 2009 at 12:11 AM, Alexandru-Emil Lupu wrote: > I'm trying to get up a version of sfSimpleBlog as a doctrine plugin ... i > hope i would manage to make it available asap > Alecs > > On Tue, Jul 14

[symfony-users] Re: Use Plagin from Different ORM

2009-07-14 Thread seifolah Ghaderi
So thanks . These are so helpfully and clear some ambiguous things for me. I will continue on Doctrine. On Tue, Jul 14, 2009 at 7:20 PM, Eno wrote: > > On Tue, 14 Jul 2009, seifolah Ghaderi wrote: > > > Many of plugins(sfsimpleBlog,sfSimpleForum) address some other for > >

[symfony-users] Re: Use Plagin from Different ORM

2009-07-14 Thread seifolah Ghaderi
he functionality or find a similar plugin > for Doctrine. > > Which plugins would you like to use? > > > James > > On Jul 14, 8:29 am, seifolah Ghaderi wrote: > > Hi Anybody. > > I'm new in symfony and I have some question for starting my project. >

[symfony-users] Use Plagin from Different ORM

2009-07-13 Thread seifolah Ghaderi
Hi Anybody. I'm new in symfony and I have some question for starting my project. 1-I use Doctrine,and now I want to install some plugins that are on Propel.How Can I use them And What configuration need(I delete some file and change some configuration when I started by doctrine )? 2-A common questi

[symfony-users] Re: Work with both Doctrine and Propel

2009-07-06 Thread seifolah Ghaderi
You mean we cane use sfGuard(with 'user' class name) and sfDoctineGuar(with 'member' class)? On Sun, Jul 5, 2009 at 2:37 PM, Sid Ferreira wrote: > If you use different class names to the very same tables, probably it may > work > > Sidney G B Ferreira > Desenvolvedor Web > > > > > On Sun, Jul 5,

[symfony-users] Work with both Doctrine and Propel

2009-07-04 Thread seifolah Ghaderi
Hi. I'm a little dizzy and I do not know can I use both doctrine and propel plugins both in an application, For example , I use doctrine in my app,But some of plugins that I need work with propel. Best Regards. --~--~-~--~~~---~--~~ You received this message because

[symfony-users] Re: Install Plugin manualy

2009-07-01 Thread seifolah Ghaderi
Hi all. Thanks for your Replay. I discover it . It's one file (.tar.gz) ,and after extract alsoo it contain one file. I note when I Didn't login in symfony-project.com the downloaded pakage contains single file,But after Signed in It contains All folder and file neede!! Thanks again. --~--~--

[symfony-users] Re: Jobeet tutorial Don't display style in Job App

2009-06-30 Thread seifolah Ghaderi
Thanks for replay. It is view.yml - default: http_metas: content-type: text/html metas: #title:symfony project #description: symfony project #keywords: symfony, project #language: en

[symfony-users] Install Plugin manualy

2009-06-30 Thread seifolah Ghaderi
Hi . I Want to add plugin manually ,I see some plugin contains some folder and module. I Download some symfony plugin and extract it.But it contains only one file. What's problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[symfony-users] Jobeet tutorial Don't display style in Job App

2009-06-17 Thread seifolah Ghaderi
Hi Anyone. I'm new in symfony .I 'm reading jobeet tutorial. But now It don't display css and symfony tools menu on job app,Although it work in home page. What's problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group