[symfony-users] Re: trying to make a relation with sfGuardUser and got error

2010-08-17 Thread RusAlex
/2010 12:50 PM, RusAlex wrote: > > > > > > > No im sorry i have mistake in pasting. I have a correct relations > > RankDomain: > >    columns: > >      name: { type: string(255), notnull: true, unique: true } > >      user_id: { type: integer, notnull:true

[symfony-users] Re: trying to make a relation with sfGuardUser and got error

2010-08-17 Thread RusAlex
t; i.e > RankDomain: >   columns: >     name: { type: string(255), notnull: true, unique: true } >     user_id: { type: integer(4), notnull:true } >   relations: >     sfGuardUser: { local: user_id, foreign: id } > > On Aug 17, 2:12 pm, Javier Garcia wrote: > > &g

[symfony-users] Re: trying to make a relation with sfGuardUser and got error

2010-08-17 Thread RusAlex
rdUser: { local: user_id, foreign: id } > > On Aug 17, 7:33 am, RusAlex wrote: > > > > > schema.yml > > RankDomain: > >   columns: > >     name: { type: string(255), notnull: true, unique: true } > >     user_id: { type: integer, notnull:true } > >

[symfony-users] Re: How i can implement this with sfGuard plugin

2010-08-17 Thread RusAlex
r would be to store the id of the user not the username. > > But the principle is right. > > > And this code of creating the query move to the JobTable class .. > > create a method with userId parametter. > > > On 12 srp, 21:16, RusAlex wrote: > > > I have

[symfony-users] IS there any manual to correct unit test system for integrating with sfGuard auth symfony?

2010-08-17 Thread RusAlex
I've installed sfGuard plugin and now most of old tests didn't work well. They need to be authenticated to the frontend system. Is there any official decision ? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

[symfony-users] I don't know but after some rebuilds of doctrine site didn't work now

2010-08-16 Thread RusAlex
And i see only login page of sfGuardPlugin. But when i type login and password, i see an error 500 | Internal Server Error | Doctrine_Table_Exception Unknown method SfGuardUserTable::retrieveByUsername What's wrong? Where i've maked a mistake ? -- If you want to report a vulnerability issue on s

[symfony-users] trying to make a relation with sfGuardUser and got error

2010-08-16 Thread RusAlex
schema.yml RankDomain: columns: name: { type: string(255), notnull: true, unique: true } user_id: { type: integer, notnull:true } sfGuardUser: { local: user_id, foreign: id } $php symfony doctrine:build --all --and-load and see red Error: SQLSTATE[23000]: Integrity constraint v

[symfony-users] what difference between Doctrine_core and Doctrine objects ?

2010-08-16 Thread RusAlex
When we need to use Doctrine_core::getTable() and when we can use only Doctrine::getTable() methods? -- 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 us

[symfony-users] Re: How i can implement this with sfGuard plugin

2010-08-12 Thread RusAlex
I have my own opinion: I need to add new field "user" into job table, and use edited actions to show: class jobActions extends sfActions { public function executeIndex(sfWebRequest $request) { $this->jobs = Doctrine::getTable('JobeetJob') ->createQuery('a') ->where('a.user = ?

[symfony-users] How i can implement this with sfGuard plugin

2010-08-12 Thread RusAlex
Im only new member there and only studying symfony. I have simple frontend like from manual ex. with Job module, What i want to implement? users can login and view/add/edit only their jobs. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.c

[symfony-users] Re: how can i make a functional Test with is Redirected To ?

2010-08-12 Thread RusAlex
t;     isParameter('module', 'myModule')-> >     isParameter('action', 'myAction')-> > end(); > > Regards, > Christopher. > > > > > -Ursprüngliche Nachricht- > > Von: symfony-users@googlegroups.com [mailto:symfony

[symfony-users] how can i make a functional Test with is Redirected To ?

2010-08-12 Thread RusAlex
I want to make a functional test, which similar to this: Click edit button and then redirected to my page, and i want to check redirected url. $browser->info('3 - Click Submit on edit keyword')-> get('/keyword/edit/id/'.$wiki_keyword->getId())-> info('Click Submit')-> click('Save')-> with('r

[symfony-users] Tutorial Error

2010-08-11 Thread RusAlex
Found a tutorial error: http://www.symfony-project.org/jobeet/1_4/Doctrine/en/10 near --- First, change the "Post a Job" link in the layout to be able to check changes directly in your browser: --- You will find a code: --- Post a Job --- url_for must have argument job/new for being worked -- I

[symfony-users] Re: which differences between Doctrine::getTable and Doctrine_Query::create

2010-08-11 Thread RusAlex
rs in the > future? > > Many thanks, > Chris > > On Aug 11, 10:29 am, RusAlex wrote: > > > > > SOLVED > > > On Aug 11, 12:46 pm, RusAlex wrote: > > > > 1.    $this->rank_domain = Doctrine::getTable('RankDomain')- > > > &g

[symfony-users] Re: which differences between Doctrine::getTable and Doctrine_Query::create

2010-08-11 Thread RusAlex
SOLVED On Aug 11, 12:46 pm, RusAlex wrote: > 1.    $this->rank_domain = Doctrine::getTable('RankDomain')- > > >find(array($request->getParameter('id'))); > > 2.    $q = Doctrine_Query::create() >       ->select('d.*') >       -

[symfony-users] Re: how can i return a base indexSuccess.php from Tutorial without changing any other files ?

2010-08-11 Thread RusAlex
SOLVED On Aug 11, 8:58 am, RusAlex wrote: > I've edited indexSuccess.php in Jobeet Tutorial project and now > nothing work. How can i set indexSuccess.php to a base version ? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-proje

[symfony-users] which differences between Doctrine::getTable and Doctrine_Query::create

2010-08-11 Thread RusAlex
1.$this->rank_domain = Doctrine::getTable('RankDomain')- >find(array($request->getParameter('id'))); 2.$q = Doctrine_Query::create() ->select('d.*') ->where('d.id = ?', $request->getParameter('id')) ->from('RankDomain d'); $this->rank_domain = $q->execute(); A fi

[symfony-users] how can i return a base indexSuccess.php from Tutorial without changing any other files ?

2010-08-11 Thread RusAlex
I've edited indexSuccess.php in Jobeet Tutorial project and now nothing work. How can i set indexSuccess.php to a base version ? -- 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 t

[symfony-users] Re: Im playing with Tutorial, how can i debug blank (white) page ?

2010-08-11 Thread RusAlex
om> wrote: > > The debug best code is : > > > die('ok'); > > > Move it toward until it disappear. Some good start points are : > > >    - First line of index.php > >    - First line of your executeXXX method > >    - First line of your te

[symfony-users] Need tips in my project

2010-08-10 Thread RusAlex
I m a newb in symfony today. But im very interested in this framework. Now i have simple website with only 2 modules: domain/ keyword/ keywords has domain_id field. module keyword can show/edit/delete keywords as usually. What i need to do with my system now if i want to make next feature: Want

[symfony-users] Im playing with Tutorial, how can i debug blank (white) page ?

2010-08-10 Thread RusAlex
There is no any trace of errors in developer frontend, and i see blank page when im trying to make some examples from tutorial. In apache logs also no errors. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message b

[symfony-users] manual error

2010-08-10 Thread RusAlex
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/04 Have "The Job Page Template" header. And there is template file. IF you will use this file with version 1.4.6 you will have error Notice: Undefined variable: job in /var/www/Projects/jobeet/apps/ frontend/modules/job/templates/showSuccess.ph

[symfony-users] Re: Tutorial Error

2010-08-10 Thread RusAlex
Thanks for a good support. There were my apache configurations in VirtualHosts errors. And therefore symfony readed configs from other directories than default installation. On Aug 10, 1:43 pm, RusAlex wrote: > Oh...i see hope i found a bug. will try to fix it . There is other > folder

[symfony-users] Re: Tutorial Error

2010-08-10 Thread RusAlex
es/job/actions/actions.class.php. > > Test to see if it's reaching the class or method, try to trace where > it's stopping. > > The generated code and default route work correctly. I have it running > on that tutorial directly. > > Chris > > On Aug 10, 10:14 am, Rus

[symfony-users] Re: Tutorial Error

2010-08-10 Thread RusAlex
etc. > default_index: >   url:   /:module >   param: { action: index } > > default: >   url:   /:module/:action/* > > Also check the code has been created in apps/frontend/modules/job/ > actions/actions.class.php > > Chris > > On Aug 10, 9:57 am, RusAlex wrote

[symfony-users] Re: Tutorial Error

2010-08-10 Thread RusAlex
this is my /jobeet/apps/frontend/config/routing.yml # You can find more information about this file on the symfony website: # http://www.symfony-project.org/reference/1_4/en/10-Routing # default rules homepage: url: / param: { module: default, action: index } # generic rules # please, remo

[symfony-users] Re: Tutorial Error

2010-08-10 Thread RusAlex
i see folder jobeet/apps/frontend/modules/job/ but there is no any routing.yml . only folders templates/ and actions/ -- 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 G

[symfony-users] Tutorial Error

2010-08-10 Thread RusAlex
On this tutorial http://www.symfony-project.org/jobeet/1_4/Doctrine/en/03 when i've tryed to install module $php symfony doctrine:generate-module --with-show --non-verbose- templates frontend job JobeetJob When i type in my browser: http://jobeet.localhost/frontend_dev.php/job i see error: wish s