[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

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 abdel.kha...@gmail.com wrote: yes never use the context in your model. if you have on your action $object =

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

2010-12-12 Thread seifolah Ghaderi
seifolah Ghaderi sepel...@gmail.com 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

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,

[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
; ? (included my previous 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 sepel...@gmail.com wrote: No !! It doesn't work. On Tue, Jan

Re: [symfony-users] Re: Subdomain dynamicly

2010-01-26 Thread seifolah Ghaderi
/VirtualHost Now I can access my host with 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 sepel...@gmail.com wrote: Thanks .I try it. On Tue, Jan 19, 2010 at 6:14 PM, wissl andreas.wi

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 to...@tomor.cz 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, seifolah Ghaderi sepel...@gmail.com wrote

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

2009-12-05 Thread seifolah Ghaderi
(if you see nothing in a text editor, it means you have the utf8 BOM there, use a different text editor :) ), also: clean your cache, and it should work in prod as well. On Sat, Dec 5, 2009 at 08:10, seifolah Ghaderi sepel...@gmail.com wrote: Oh! It's works !! I cleaned the cash and it works

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 annismcken...@googlemail.comwrote: Look here to customize symfony for your directory structure:

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

2009-12-04 Thread seifolah Ghaderi
/sfWebResponse.class.php * on line *349 Whats problem? * On Sat, Dec 5, 2009 at 10:18 AM, seifolah Ghaderi sepel...@gmail.comwrote: 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 annismcken

[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

Re: [symfony-users] Secure some module action

2009-11-29 Thread seifolah Ghaderi
-Layer#chapter_06_sub_access_restriction On Sun, Nov 29, 2009 at 10:36, seifolah Ghaderi sepel...@gmail.com wrote: 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

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

2009-08-26 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-31 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 symb...@gmail.com wrote: On Thu, 30 Jul 2009, seifolah Ghaderi

[symfony-users] Re: Generated Form Is Empty

2009-07-30 Thread seifolah Ghaderi
in *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 symb...@gmail.com wrote: On Thu, 30 Jul 2009, seifolah ghaderi wrote: After I generate my module in admin side

[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

[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: ~

[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] 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 maerl...@gmail.com 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 Ghaderisepel...@gmail.com wrote: Thanks Fabian.

[symfony-users] Unknown method Error fro all module

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). For example it is my Error and My configure scema and .. *Error: Unknown method GameNews::getDsc at () in

[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

[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 maerl...@gmail.com 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:08,

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

2009-07-18 Thread seifolah Ghaderi
In my previous symfony project It already worked correctly. ٌI think i forgot to set some configuration to disable propel. But i disable propel. It's my ProjectConfiguration.class.php: public function setup() { // for compatibility / remove and enable only the plugins you want //

[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 sepel...@gmail.comwrote: In my previous symfony project It already worked correctly. ٌI think i forgot to set some configuration

[symfony-users] Use Plagin from Different ORM

2009-07-14 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

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

2009-07-14 Thread seifolah Ghaderi
the functionality or find a similar plugin for Doctrine. Which plugins would you like to use? James On Jul 14, 8:29 am, seifolah Ghaderi sepel...@gmail.com wrote: 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

[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 symb...@gmail.com wrote: On Tue, 14 Jul 2009, seifolah Ghaderi wrote: Many of plugins(sfsimpleBlog,sfSimpleForum) address some other

[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 gang.al...@gmail.comwrote: 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

[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

[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

[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] Jobeet tutorial Don't display style in Job App

2009-06-18 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