looks like the getJobeetCategoryAffiliates method in BaseJobeetCategory
doesnt exist.. try running php symfony doctrine:build --all if its defined
in your schema.yml

good luck!


On Thu, Jan 20, 2011 at 4:42 PM, hm423 <[email protected]> wrote:

> I am so grateful for Symfony!  I'm on Day 12 of the Practical Symfony
> Jobeet Tutorial, but now I've run into a problem.  I can access the
> "job" part of the backend just fine, and edit jobs; and I can get to
> the category page, but when I try to edit a category, I get the
> following error message.  Could someone tell me what I've done wrong,
> and how to fix it?  Thank you!
>
> 500 | Internal Server Error | sfException
> Call to undefined method
> BaseJobeetCategory::getJobeetCategoryAffiliates
>
> stack trace
> at ()
> in SF_ROOT_DIR\lib\model\om\BaseJobeetCategory.php line 767 ...
>    {
>
>      if (!$callable = sfMixer::getCallable('BaseJobeetCategory:'.
> $method))
>
>      {
>
>        throw new sfException(sprintf('Call to undefined method
> BaseJobeetCategory::%s', $method));
>
>      }
>
>
>
>      array_unshift($arguments, $this);
> at BaseJobeetCategory->__call('getJobeetCategoryAffiliates', array())
> in n/a line n/a ...
> at JobeetCategory->getJobeetCategoryAffiliates()
> in SF_ROOT_DIR\lib\form\base\BaseJobeetCategoryForm.class.php line
> 54 ...
> at BaseJobeetCategoryForm->updateDefaultsFromObject()
> in SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\form
> \sfFormPropel.class.php line 52 ...
> at sfFormPropel->__construct(object('JobeetCategory'), array())
> in SF_ROOT_DIR\lib\vendor\symfony\lib\generator
> \sfModelGeneratorConfiguration.class.php line 484 ...
> at sfModelGeneratorConfiguration->getForm(object('JobeetCategory'))
> in SF_ROOT_DIR\cache\backend\dev\modules\autoCategory\actions
> \actions.class.php line 93 ...
> at autoCategoryActions->executeEdit(object('sfWebRequest'))
> in SF_ROOT_DIR\lib\vendor\symfony\lib\action\sfActions.class.php line
> 60 ...
> at sfActions->execute(object('sfWebRequest'))
> in SF_ROOT_DIR\lib\vendor\symfony\lib\filter
> \sfExecutionFilter.class.php line 92 ...
> at sfExecutionFilter->executeAction(object('categoryActions'))
> in SF_ROOT_DIR\lib\vendor\symfony\lib\filter
> \sfExecutionFilter.class.php line 78 ...
> at sfExecutionFilter->handleAction(object('sfFilterChain'),
> object('categoryActions'))
> in SF_ROOT_DIR\lib\vendor\symfony\lib\filter
> \sfExecutionFilter.class.php line 42 ...
> at sfExecutionFilter->execute(object('sfFilterChain'))
> in SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfFilterChain.class.php
> line 53 ...
> at sfFilterChain->execute()
> in SF_ROOT_DIR\lib\vendor\symfony\lib\filter
> \sfRenderingFilter.class.php line 33 ...
> at sfRenderingFilter->execute(object('sfFilterChain'))
> in SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfFilterChain.class.php
> line 53 ...
> at sfFilterChain->execute()
> in SF_ROOT_DIR\lib\vendor\symfony\lib\controller
> \sfController.class.php line 238 ...
> at sfController->forward('category', 'edit')
> in SF_ROOT_DIR\lib\vendor\symfony\lib\controller
> \sfFrontWebController.class.php line 48 ...
> at sfFrontWebController->dispatch()
> in SF_ROOT_DIR\lib\vendor\symfony\lib\util\sfContext.class.php line
> 170 ...
> at sfContext->dispatch()
> in SF_ROOT_DIR\web\backend_dev.php line 13 ...
>
> --
> 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 users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
-----------------------------------------------------------------
http://www.linkedin.com/in/justendoherty - LinkedIn
http://www.twitter.com/phpchap - Twitter
http://www.anotherwebdeveloper.com - Portfolio

-- 
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 users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to