php - admin generator doesn't generate a class

192

Hi I'm using symfony 1.2.7 with Doctrine.
Tryng to port a plugin originally written with Propel, but running into problems. In one of the plugins modules the generator.yml starts like:

generator:
  class:          sfDoctrineGenerator
  param:
    model_class:  Page
    theme:        admin

I always get "Fatal error: Class 'cmsPageGeneratorConfiguration' not found in .../cache/backend/dev/modules/autoCmsPage/actions/actions.class.php on line 18" I googled on it, but unlike my case anybody else seems like to missing the Base*GeneratorConfiguration class which is in it's place for me. If i write something else to the theme directive the error goes away but the config is ignored, and the default forms and lists are shown, can't set even a title...
Why isn't the missing class auto-generated as it's supposed? I'm really stuck here, thanks in advance for any help.

278

Answer

Solution:

I'm not familiar with this SF version, but did you try to clear the cache?

php symfony cc

This worked for me with similar error messages.

People are also looking for solutions to the problem: String manipulation in Mixed HTML and PHP code

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.