Hi Friends,

I am executing this simple code -

    $city=$this->getRequestParameter('city');

    $function_cache_dir = sfConfig::get('sf_cache_dir').'/function';

    $fc = new sfFunctionCache($function_cache_dir);

    // set life time for city cache is define in app.yml file
    $fc->setLifeTime(sfConfig::get
('app_zamanzarsettings_function_time_out'));

    //get areaslist for a city from valuation table
    $area = $fc->call('ValuationPeer::getAllAreas',$city);

    return $this->renderText($area);

But this code is causing segmentation fault -
   child pid 12229 exit signal Segmentation fault (11)

The code works fine in my DEV environment. Probably related to some
difference in PHP version.

sfFunctionCache is working fine for similar code in other places...

Anyone has any idea?

Thanks... :)
--~--~---------~--~----~------------~-------~--~----~
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