/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
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
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 }
> >
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
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
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
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
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
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 = ?
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
t; isParameter('module', 'myModule')->
> isParameter('action', 'myAction')->
> end();
>
> Regards,
> Christopher.
>
>
>
> > -Ursprüngliche Nachricht-
> > Von: symfony-users@googlegroups.com [mailto:symfony
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
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
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
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.*')
> -
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
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
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
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
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
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
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
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
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
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
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
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
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
28 matches
Mail list logo