Let me introduce a new category of “quick&dirty” tricks to apply when “quick&dirty” things happen in symfony (yes, they happen).

After a new pear upgrade, a new “bug” may appear concerning sfPropelADministrator.

something similar to this may show up:

Notice: Undefined offset: 1 in /usr/share/php/symfony/config/sfGeneratorConfigHandler.class.php on line 69

and …

[sfParseException]

You must specify a “moduleName”

This is related to that the file /usr/share/php/data/symfony/config/generator.yml should be removed with the new versions of symfony (at least from 1.0.16 on) and the pear ugrade process doesn’t do it so you just need to:

remove the file /usr/share/php/data/symfony/config/generator.yml

and everything will go back to normal.

more info at:

http://trac.symfony-project.com/ticket/1561


No Comments on “Quick & Dirty: sfPropelAdministration doesn’t find moduleName”

You can track this conversation through its atom feed.

No one has commented on this entry yet.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>