Yeah...I'm not sure. I couldn't understand why I'd be running out of memory either, but after changing the setting it worked, but my app is still behaving oddly. For example, it only works on the dev environment, and it's just very slow in general. When I try to build my form classes, I'm also getting this:
Fatal error: Declaration of BaseUserProfile::delete() must be compatible with that of Persistent::delete() in /root/prod/ nationalchange/lib/model/om/BaseUserProfile.php on line 4 Have you upgraded to 1.2, and if so, have you had any issues with compatibility? -Brendan On Dec 27, 3:46 pm, Ant Cunningham <[email protected]> wrote: > Hmm i wonder if there isnt something else going on here. You shouldnt be > running out of memory on a build... maybe on an data-load but not a build. > > Do you have a pear install of symfony < 1.2 on that server? Perhaps > thats interfering somewhow... > > To change memory allocation edit your php.ini usually in > $PHP/lib/php.ini by default where $PHP is the path to your php > installation. It may be elsewhere though if it was compiled differntly > or otherwise changed. You can do php --ini on the Cli to determine the > location. > > > > [email protected] wrote: > > 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 > > -- > Ant Cunningham > Graphic Designer | Web Developer > Vector Based Design > [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
