Alright, I was able to fix that by moving the propel/builder directory, but I'm running into a new issue, when I try to run the same command, it gives me another error:
propel > om-template: [propel-om] Processing: generated-schema.xml [propel-om] Processing Datamodel : JoinedDataModel [propel-om] - processing database : propel [propel-om] + user [propel-om] -> BaseUserPeer [builder: SfPeerBuilder] [propel-om] -> BaseUser [builder: SfObjectBuilder] Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2 bytes) in /root/prod/nationalchange/lib/vendor/symfony/lib/ util/sfToolkit.class.php on line 191 I'm running an ubuntu box, with 256 mb of ram, can't figure out what the issue is, does anyone know where I can change the allocated memory? -Brendan On Dec 27, 3:16 pm, "[email protected]" <[email protected]> wrote: > I recently upgraded to symfony 1.2, and I'm trying to deploy my > application to my production server. > When I try to execute: > > $ php symfony propel:build-model > > [phingcall] Error importing plugins/sfPropelPlugin/lib/propel/builder/ > SfPeerBuilder.php > Execution of target "om" failed for the following reason: /root/prod/ > nationalchange/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/ > vendor/propel-generator/build-propel.xml:465:22: Execution of the > target buildfile failed. Aborting. > [phing] /root/prod/nationalchange/lib/vendor/symfony/lib/plugins/ > sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:465:22: > Execution of the target buildfile failed. Aborting. > > I scped my model already, so everything is there, but when I try to > run my application I get: > > Fatal error: Declaration of BaseUser::delete() must be compatible with > that of Persistent::delete() in /root/prod/nationalchange/lib/model/om/ > BaseUser.php on line 4 > > So I'm assuming that that's due to the later version of propel that > symfony uses in 1.2. I'm not sure if the problem is in my schema (it > builds fine on my computer), or some config variable that's incorrect. > > Any help for a symfony newbie would be appreciated. > > Thanks, > > Brendan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
