[symfony-users] Re: Another local/distant difference : sfDoctrineGuard popup

2009-10-23 Thread aymeric
1.1 401 Unauthorized" Oct 23 14:34:39 symfony [info] {sfWebResponse} Send header "Content- Type: text/html; charset=iso-8859-1" Oct 23 14:34:39 symfony [info] {sfWebDebugLogger} Configuration 5097.21 ms (13) Oct 23 14:34:39 symfony [info] {sfWebDebugLogger} Action "sfGuardAuth/ si

[symfony-users] Re: User culture is not the same locally

2009-10-23 Thread aymeric
It worked, I will hang a CTFC poster near my RTFM one ^^ On 23 oct, 13:31, Alexandre SALOME wrote: > clear-cache on production ? > > 2009/10/23 aymeric > > > > > In settings.yml I have set the default laguage to fr and $sf_user- > > >getCulture() returns

[symfony-users] Another local/distant difference : sfDoctrineGuard popup

2009-10-23 Thread aymeric
An other strange thing happened : when I open my backend app from the localhost I get a login form (and that's normal), but if I open this same app from my webhost I get a popup that loops on itself if I try to use it. If I cancel the popup on its first appearance I'm redirected on the desired log

[symfony-users] User culture is not the same locally

2009-10-23 Thread aymeric
In settings.yml I have set the default laguage to fr and $sf_user- >getCulture() returns 'fr' when called on my localhost. If I upload my project on my webhost $sf_user->getCulture() returns 'en'. The only difference between the 2 folders is in database.yml where I changed the username and passwor

[symfony-users] Re: where do I insert my hit counter?

2009-10-23 Thread aymeric
> The thing you should change is your boss ;) I'm seriously considering this solution ^^ > I'm kidding :P There are several ways for making a counter and depending of > required stats, each solution has his advantages. > > In your case, create an integer field on your model and increment it each

[symfony-users] Re: where do I insert my hit counter?

2009-10-21 Thread aymeric
My boss is happy with the stats he gets from the current hit function (even if it is totally overestimated since the sales division use this site at least 10 times/person/day). I just need somthing simple (GAnalytics will come someday but not from me). thanks for the advices On Oct 20, 8:13 pm,

[symfony-users] where do I insert my hit counter?

2009-10-20 Thread aymeric
I would like to know how many time my domain is accessed each day and store this info in my DB For the previous non-symfony version of my website I wrote a script in the index.php that did the trick. But now that I use symfony and that I try to follow the OO and MVC spirit I'm not sure of the righ

[symfony-users] Re: : sfDoctrineGuard : backend login ILOD

2009-10-15 Thread aymeric
And do you know why the online version of my backend open a popup "Authentication required -- The server server.com:80 require a username and a password" that is useless (it loops on itself) and give me the login form only if I cancel the popup ? Is there some kind of "authentication type" setting

[symfony-users] Re: [Solved by computer magic]: sfDoctrineGuard : backend login ILOD

2009-10-15 Thread aymeric
ard redirect you to your referer after > logging. > > Alexandre > > 2009/10/15 aymeric > > > > > > > > > There is only one "is_secure: true" for the entire backend (in / > > backend/config/security.yml). > > > The problem has solved

[symfony-users] [Solved by computer magic]: sfDoctrineGuard : backend login ILOD

2009-10-15 Thread aymeric
and re-enable them one by > one to understand. > > Alexandre > > 2009/10/15 aymeric > > > > > > > > > Yes, it is the first route in /backend/config/routing.yml  : > > homepage: > >  url:   / > >  param: { module: article, action: inde

[symfony-users] Re: sfDoctrineGuard : backend login ILOD

2009-10-15 Thread aymeric
ute? > > On Oct 14, 8:32 am, aymeric wrote: > > > > > ILOD : infinite loop of death > > > I'm at day 13 in Jobeet for Doctrine and I try to secure my backend. > > I couldn't get PEAR working so I installed sfDoctrineGuard by hand > > (manual downlo

[symfony-users] sfDoctrineGuard : backend login ILOD

2009-10-14 Thread aymeric
ILOD : infinite loop of death I'm at day 13 in Jobeet for Doctrine and I try to secure my backend. I couldn't get PEAR working so I installed sfDoctrineGuard by hand (manual download, manual unpacking in /plugins). I followed the tutorial and when I try to log in has "username: admin , password:

[symfony-users] Re: input escaping (non-ASCII to entities) in symfony 1.2 backend generator

2009-09-28 Thread aymeric
I used htmlentities() on "Title" and "Name" in Articles.class.php and Categories.class.php, in the save() method. It works well. (I should have thought about it immediately T_T) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[symfony-users] input escaping (non-ASCII to entities) in symfony 1.2 backend generator

2009-09-28 Thread aymeric
Hi, I'm working on a project where I have to deal with a database in iso-8859-1. I'm adding a simple blog-style (articles and categories) module (admin generator-ed for the backend part). I added 2 tables in the database : "Articles" and "Categories". "Articles" has 2 columns : "Title" and "Conte