[symfony-users] Re: Cache misteriously deleted

2007-08-31 Thread Haris Zukanović
Could this be relate to cache expiration somehow ? Haris Zukanović wrote: > Hi, > > I am having trouble with cache.. > Sometimes, the cache misteriously is deleted, but only the files under > cache/backend/dev/modules/ > The directory structure under cache/backend/dev/modules/ remains intact > (o

[symfony-users] Re: Zend Guard and Symfony can't work together?

2007-08-31 Thread Cipher Chien
Haha... I found some topic about this and tried out the solution by my self. The steps are below: 1. In Zend Guard setting subpage, "Obfuscation", the Obfuscation Level can't be "Strong". 2. Find or create autoload.yml in apps level config directory. (exp: project/apps/frontend/config/). and add

[symfony-users] Re: Routing Problem

2007-08-31 Thread Yeray Rodriguez
the problem is that this routing rule is only a simplified example of my routing rules, which are more complex. If i don't find a solution it means a lot of routing rules (very slow) :S Thanks. On 8/31/07, David Brewer <[EMAIL PROTECTED]> wrote: > > > Oh, I see. I don't know if the routing rules

[symfony-users] Re: Routing Problem

2007-08-31 Thread David Brewer
Oh, I see. I don't know if the routing rules work that way or not, I always thought that anything you defined specifically under param would override anything that came from the url. When I've wanted to do things like this in the pass, I would use two or more different rules: url: /:mode param

[symfony-users] Nice tattooooooooooooooooooos..............

2007-08-31 Thread Juicy Hilton
*A tattoo, or dermal pigmentation, is a mark made by inserting pigment into the skin for decorative or other reasons. Tattoos on humans are a type of decorative body modification, while tattoos on animals are most commonly used for identification or branding.Tattooing has been practiced worldwide.

[symfony-users] Re: Routing Problem

2007-08-31 Thread Yeray Rodriguez
Hi David, thanks for your answer. I defined category1 under param to give it a default value to avoid another routing rule when there isn't category1 on the url. On 8/31/07, David Brewer <[EMAIL PROTECTED]> wrote: > > > Try this variation on your routing rule: > > url: /:mode/:category1 > param:

[symfony-users] Re: Routing Problem

2007-08-31 Thread David Brewer
Try this variation on your routing rule: url: /:mode/:category1 param: { module: categories, action: show } requirements: { mode: ^(basic|premium), category1: \d+ } You don't need to define settings for the category1 or mode parameters under 'param' as since they are part of the URL, they will

[symfony-users] Zend Guard and Symfony can't work together?

2007-08-31 Thread Cipher Chien
Hi, For security issue, I tried use my Zend Guard v4 to encode my php file in Symfony. But so wired, the files don't work after encode by Zend Guard. These actions can't be executed... Does any one has the same situation like me? Please share your solution here. It will helpful for me. Or..Sym

[symfony-users] Re: advanced caching

2007-08-31 Thread Myke Hines
Oriol, No you will have to upgrade your entire symfony version to the 1.1 trunk. Many many things have been refactored in the trunk so you can't just take a few classes. It wouldn't be hard for you to hack together your own version of sfFunctionCache that accepts a lifetime parameter. myke

[symfony-users] Re: advanced caching

2007-08-31 Thread Oriol Mercadé
That was exacly what i was expecting to hear! :) does that change have a lot of dependencies or i can try tu update the class and cross my fingers until 1.1 is released? thank you very much! On 8/31/07, Francois Zaninotto <[EMAIL PROTECTED]> wrote: > > The sfFunctionCache has been refactored in t

[symfony-users] Re: advanced caching

2007-08-31 Thread Francois Zaninotto
The sfFunctionCache has been refactored in the trunk version, and it now allows not only to set a lifetime, but also to use various storage strategies (in memory, in a cache, in a database). So if you want this feature, I suggest you either wait for the 1.1 orelease or become one of the early beta

[symfony-users] Re: advanced caching

2007-08-31 Thread Oriol Mercadé
it seems that it doesn't look at the cache.yml of the app nor the module, remember that it is cache using php code... thank you anyway... On 8/31/07, Eno <[EMAIL PROTECTED]> wrote: > > > > On Aug 31, 7:22 am, "Oriol Mercadé" <[EMAIL PROTECTED]> wrote: > > > now the question: > > it would be very n

[symfony-users] Re: advanced caching

2007-08-31 Thread Eno
On Aug 31, 7:22 am, "Oriol Mercadé" <[EMAIL PROTECTED]> wrote: > now the question: > it would be very nice to set a lifetime of the cached results so we don't > have to bother cleaning cache manually or via cron... > We took a look into sfFunctionCache class and it's parents, but we don't > find

[symfony-users] Routing Problem

2007-08-31 Thread Yeray Rodriguez
Hi, I'm using Symfony 1.0.6 and i have a problem con routing if i define this rule: example: url: /:mode/:category1 param: { module: categories, action: show, mode: basic, category1: 1 } requirements: { mode: ^(basic|premium), category1: \d+ } with this url: /premium/2 i get next: $thi

[symfony-users] Re: Project wheel in the Linux more tá not twirling in the Windows [ Decided ]

2007-08-31 Thread Altamiro Rodrigues
Decided problem was cache, cleaned cache and ready. Abs, Altamiro Rodrigues On 31 ago, 08:44, "g0d br" <[EMAIL PROTECTED]> wrote: > oi altamiro > vc ja tentou acessar a parte de developer no projeto para ver a mensagem de > erro do symfony > por exemplo frontend_dev.php > > flw > > 2007/8/30,

[symfony-users] Re: Project wheel in the Linux more tá not twirling in the Windows

2007-08-31 Thread g0d br
oi altamiro vc ja tentou acessar a parte de developer no projeto para ver a mensagem de erro do symfony por exemplo frontend_dev.php flw 2007/8/30, Altamiro Rodrigues <[EMAIL PROTECTED]>: > > > It only sees I lowered the archive of the Symfony (sf_sandbox.tgz), I > created all > structure in the

[symfony-users] change in sfZendFrameworkBridge

2007-08-31 Thread Amit Rana
Hi, I was working with sfZendFrameworkBridge, Zend Framework 1.0.1 and there is one change. Zend.php is not there anymore so it has to be replaced by Loader.php require_once(sfConfig::get('sf_zend_lib_dir').'/Loader.php'); Regards, Amit. --~--~-~--~~~---~--~~

[symfony-users] advanced caching

2007-08-31 Thread Oriol Mercadé
Hello list, how are you? We have a doubt here, lets see if some of the list's gurus can answer it... We have a function cached using sfFunctionCache you know... chapter 18 of symfony's book " $function_cache_dir = sfConfig::get('sf_cache_dir').'/function'; $fc = new sfFunctionCache($function_cac

[symfony-users] sfUJS

2007-08-31 Thread Adriaan van N.
Symfony users, I downloaded the sfUJS plugin and everything works except showing the result to the user. Here is my example: link_to(, array('id' => 'child_'.$child->id); UJS_ajaxify_link('#child_'.$child->id, array( 'update' => 'child_'.$child->id.'_d', 'url' => 'user/itemEdi

[symfony-users] URL rewriting problem

2007-08-31 Thread Olivier Revollat
Hi ! I have a site powered by symfony (1.0.6) (wich was previously develop with .NET technology) I have a flash file (swf) in my site, and their is an http link in the flash file .. but the problem is that I can't recompile the flash with the symfony URL inside (I forgot the source of the flash) .

[symfony-users] Cache misteriously deleted

2007-08-31 Thread Haris Zukanović
Hi, I am having trouble with cache.. Sometimes, the cache misteriously is deleted, but only the files under cache/backend/dev/modules/ The directory structure under cache/backend/dev/modules/ remains intact (only the files are missing) and also the whole cache/backend/config remains (files) also.

[symfony-users] Re: Customize error 500 page for several applications

2007-08-31 Thread Grégoire Hubert
A symlink to a centralized error500 page should also work. On 8/30/07, David Brewer <[EMAIL PROTECTED]> wrote: > > This is a good question; I just ran into exactly the same issue. > > Here are the details of how this appears to work currently. You can > customize the error500.php page for your p