I looked at the code and the $ret variable is only declared once at
line 124 in the foreach() statement. You should declare it before the
foreach() statement to be sure that is always declared and returned at
the end of the method.

On 28 juil, 16:25, Fabian Lange <[email protected]>
wrote:
> Hi,
> Looks like a corner case bug for me.
> Can you send me your sfConfig::get('sf_data_dir').'/sql/sqldb.map'
>
> Thanks
> Fabian
>
>
>
> On Tue, Jul 28, 2009 at 10:32 AM, MHK ONLY<[email protected]> wrote:
> > Helloo All,
>
> > when I do symfony propel:build-all
> > on Ubuntu 9 and windows xp both
>
> > how this can be solved?
>
> > m...@mhk-ubuntu:~/public_html/sf_blog$ php symfony propel:build-all
> >>> schema    converting "/home/mhk/public_ht..._blog/config/schema.yml" to
> >>> XML
> >>> schema    putting
> >>> /home/mhk/public_html/s...log/config/generated-schema.xml
> >>> propel    Running "om" phing task
> >>> file-
> >>> /home/mhk/public_html/sf_blog/c...enerated-schema-transformed.xml
> >>> file-     /home/mhk/public_html/sf_blog/config/generated-schema.xml
> >>> autoload  reloading autoloading
>
> >   Phing was run before and used many custom classes that might conflict
> > with
> >   your model classes. In case of errors try running "propel:build-forms"
> > and
> >   "propel:build-filters" alone. This is due to a PHP limitation that cannot
> > be
> >   fixed in
> > symfony.
>
> >>> propel    generating form classes
> >>> tokens    /home/mhk/public_html/sf_blog/lib/form/BaseFormPropel.class.php
> >>> propel    generating filter form classes
> >>> tokens
> >>> /home/mhk/public_html/sf_blog/l.../BaseFormFilterPropel.class.php
> >>> schema    converting "/home/mhk/public_ht..._blog/config/schema.yml" to
> >>> XML
> >>> schema    putting
> >>> /home/mhk/public_html/s...log/config/generated-schema.xml
> >>> propel    Running "sql" phing task
> >>> file-
> >>> /home/mhk/public_html/sf_blog/c...enerated-schema-transformed.xml
> >>> file-     /home/mhk/public_html/sf_blog/config/generated-schema.xml
>
> >   This command will remove all data in your database.
> >   Are you sure you want to proceed? (y/N)
>
> > y
> >>> schema    converting "/home/mhk/public_ht..._blog/config/schema.yml" to
> >>> XML
> >>> schema    putting
> >>> /home/mhk/public_html/s...log/config/generated-schema.xml
> >>> file-     /home/mhk/public_html/sf_blog/config/generated-schema.xml
>
> > Notice: Undefined variable: ret in
> > /home/mhk/public_html/sf_blog/lib/symfony/plugins/sfPropelPlugin/lib/task/s 
> > fPropelInsertSqlTask.class.php
> > on line 130
> > m...@mhk-ubuntu:~/public_html/sf_blog$
--~--~---------~--~----~------------~-------~--~----~
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