hi, guys
i have this Sql with doctrine
on my controller
public function executeIndex(sfWebRequest $request)
{
$this-mr_album_imagen_list =
Doctrine::getTable('MrAlbumImagen')-getImagenesAlbum($this-getUser()-getAttribute('id_usuario'));
ffrey schrieb:
Total madness !
$v = (float) ((0.7 + 0.1) * 10);echo $v; = 8, as expected
$v = (int) ((0.7 + 0.1) * 10);echo $v; = 7, as totally unexpected !!!
Can you explain why ? A php bug ?
Thanks for that thought-provoking post ;-)
Just never cast floats to integers directly, use
Perfect, it's just what I need, and it works :)
Thanks a lot Eno!
On 14 oct, 18:12, Eno symb...@gmail.com wrote:
On Wed, 14 Oct 2009, Greg wrote:
It sounds perfect, but I can't find how to set this key... Is it in my
cache.yml file?
If you are caching a partial, then you can include the
Hi,
when you created the tables this way, what is the best practice to
drop this tables and create Views?
I want to do this in a Symfony Task, but is this the best practice?
And how can I drop tables and views in a Symfony Task?
On Oct 9, 11:14 am, E_lexy alexk...@gmail.com wrote:
@david I
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 and they all are 4
to 10 days old, no clue in there.
On 14 oct, 22:40, Casey casey.cam...@gmail.com wrote:
do you
Maybe a problem with your application security.
Disable all is_secure: true from your security.yml 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:
No, it was due 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
is there a way to make this the default? instead of typing --color
every time
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
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
this morning was to answer to Casey (upper in the discussion) and then
I tried to log in my backend and it miraculously worked.
The
You should send those values via post, instead of get. Try it that way.
On Wed, Oct 14, 2009 at 11:04, enim ogainam enim.ogai...@gmail.com wrote:
Hello! I am Enim and i am new to SYMFONY so please be kind.
i am having trouble with the build query that causes the returned
values to
Hi,
there is http://www.symfony-project.org/jobeet/1_3/Doctrine/en/ which
is the 1.3 version of the tutorial. Changes will be made to that if
required, but at the moment i think it is identical.
Fabian
On Thu, Oct 15, 2009 at 1:30 AM, Nei Rauni Santos nra...@gmail.com wrote:
There is any
Make an alias in your shell
On 15 Oct 2009, at 09:24, Jonathan Franks wrote:
is there a way to make this the default? instead of typing --color
every time
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi,
How can I set the symfony sync for cron? E.g.: specifying the user's
password so that it won't require manually entering password.
Cheers,
Sid
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users
You can use ssh keys to login without a password.
This tutorial uses rsync over ssh to backup, scheduled via cron:
http://troy.jdmz.net/rsync/index.html
On Thu, Oct 15, 2009 at 12:42, Sid Bachtiar sid.bacht...@gmail.com wrote:
Hi,
How can I set the symfony sync for cron? E.g.: specifying the
Thanks, exactly what I was thinking! I followed it and it works really well :)
On Thu, Oct 15, 2009 at 11:48 PM, Gábor Fási maerl...@gmail.com wrote:
You can use ssh keys to login without a password.
This tutorial uses rsync over ssh to backup, scheduled via cron:
make an ass in your bell
On Thu, Oct 15, 2009 at 11:18 AM, Lee Bolding l...@leesbian.net wrote:
Make an alias in your shell
On 15 Oct 2009, at 09:24, Jonathan Franks wrote:
is there a way to make this the default? instead of typing --color
every time
Create a connection in databases.yml per domain with the name of the
connection being the domain itself. In your Propel model classes (not used
Doctrine yet) you can override the doSelect(), retrieveByPk() etc methods to
take the domain into account:
So for a fuller example:
databases.yml:
all:
propel:
class: sfPropelDatabase
param:
dsn: 'mysql://pinpoint:p1np0...@196.37.40.73/pinpoint'
somedomain.org:
class: sfPropelDatabase
param:
dsn: 'mysql://pinpoint:p1np0...@localhost/pinpoint'
somedomain.com:
Does symfony provide any mechanisms for managing page state?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To
So you say it was normal that I had this scheme before rebooting :
- try to access localhost/backend.php (or backend_dev.php)
- get login form
- enter valid username and password, click submit
-get login form
??
On 15 oct, 10:14, Alexandre SALOME alexandre.sal...@gmail.com wrote:
No, it was due
I have a very long, complicated routing.yml and I want to make sure
that when I add a new route, it doesn't conflict with any of the
existing ones.
So, I wanna write a test which does something like this...
$routing = new sfPatternRouting(new sfEventDispatcher());
...
some code to load the
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 ?
http://trac.symfony-project.org/browser/plugins/swOptimizeRoutesPlugin/trunk/test/lib/swOptimizeHelper.php
http://trac.symfony-project.org/browser/plugins/swOptimizeRoutesPlugin/trunk/test/performance/load_data.php
;)
On Thu, Oct 15, 2009 at 5:17 PM, Jonathan Franks jonat...@ifranks.comwrote:
sorry, it was my fault.
recompiling worked as expected and yes, from the command line i got
spl support...
but the error raised again from the browser cause i carelessly forgot
to restart apache! :P
thank you all.
On Oct 2, 11:07 am, Davide Borsatto lloy...@gmail.com wrote:
SPL should can not
Hi,
I just want to customize the labels username, password and password_again
so far i created the module user
php symfony propel:generate-module frontend user sfGuardUser
but how do i proceed to cutomize the label if the lib/form class do not
existe.
Thank you
celso
you don't need to do that ...
in your / plugins/sfGuard/modules/sfGuardAuth/actions/actions.class.php
writhe this:
public function theExtendedMethod($request){
parent::theExtendedMethod($request);
$this-form-setLabels(array(
'username'= 'foo',
'password'= 'moo',
'password_again' = 'boo'
));
}
what do you mean by sstate page ? maybe Static pages? if yes, then it
supports ...
method 1: you write those pages as partials (see the doc) and set a custom
layout
method 2: you instruct your apache modRewrite to serve statc content for
some custom urls
maybe other might come with other
in sf1.2, i could write a route like this...
url: /books-by-:author.html
param: { module: books, action: list }
options:
segment_separators: [/, ., -]
and it would match...
/books-by-jon.html
/books-by-jon-franks.html
but in sf1.3, it only matches...
/books-by-jon.html
Thanks Thomas! that's perfect! ;-)
On 15 Oct 2009, at 17:04, Thomas Rabaix wrote:
http://trac.symfony-project.org/browser/plugins/swOptimizeRoutesPlugin/trunk/test/lib/swOptimizeHelper.php
Hey,
Just wondering if anyone has looked into porting
sfWidgetFormPropelJQueryAutocompleter to Doctrine or if there is a
widget that makes it easy to replace a standard drop down inside the
admin generator with a livesearch while using Doctrine as the ORM.
regards,
Lukas Kahwe Smith
I am working on a site based on the jobeet tutorial but heavily
modified.
I recently started encountering an issue with my backend. I get a
routing error when I submit a form.
the error: The /post/:id/edit.:sf_format route has some missing
mandatory parameters (:id).
the form action url:
31 matches
Mail list logo