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
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 password
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
It worked, I will hang a CTFC poster near my RTFM one ^^
On 23 oct, 13:31, Alexandre SALOME alexandre.sal...@gmail.com wrote:
clear-cache on production ?
2009/10/23 aymeric elag...@gmail.com
In settings.yml I have set the default laguage to fr and $sf_user-
getCulture() returns 'fr
:
With logs, you will be able to understand what's happening in this loop. See
log/frontend_prod.log
Alexandre
2009/10/23 aymeric elag...@gmail.com
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
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,
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
have an @homepage route?
On Oct 14, 8:32 am, aymeric elag...@gmail.com 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 download, manual unpacking
and re-enable them one by
one to understand.
Alexandre
2009/10/15 aymeric elag...@gmail.com
Yes, it is the first route in /backend/config/routing.yml :
homepage:
url: /
param: { module: article, action: index }
I am really lost here, I checked all my error logs
to fact that sfGuard redirect you to your referer after
logging.
Alexandre
2009/10/15 aymeric elag...@gmail.com
There is only one is_secure: true for the entire backend (in /
backend/config/security.yml).
The problem has solved itself during the night. The first thing I did
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 ?
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:
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 Content.
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 Google
14 matches
Mail list logo