so does that mean that you don't ever upgrade project with a lot of database
i/o? ie that you always need to do a lot of work by upgrading symfony and then
creating a new project to port the old project to and then modifying all db i/o?
- Original Message -
From: Alexandru-Emil Lupu
You can do that by setting your email address in the cc field in Trac when
you're logged-in and viewing that ticket. :)
Daniel
On 03.02.2010, at 01:11, Brandon Turner wrote:
> Ah, I didn't realize the ticket had been closed. I wish there was a way
> to monitor a ticket so I get emails when som
existing project is pretty hard to change ... you would need to get into
existing actions and check if they are using criteria ... custom propel
classes and some other things :)
On Wed, Feb 3, 2010 at 1:18 AM, Rebecca Bielecki wrote:
> Have found where to use orm parameter. Will try to genera
Ah, I didn't realize the ticket had been closed. I wish there was a way
to monitor a ticket so I get emails when something happens to it.
On 02/02/2010 06:00 PM, Tony Piper wrote:
>
> On Jan 31, 5:43 pm, Brandon Turner wrote:
>
>> Hello all,
>>
>> I've been using data fixtures more and more i
Glad to hear it worked!
I posted to symfony-devs earlier today:
http://groups.google.com/group/symfony-devs/browse_thread/thread/e840366691f85fc8
We'll see if anything comes of it. Still not sure if it's a "dev"
question, but I just don't think setting up a separate env for tasks is
intended (eve
On Jan 31, 5:43 pm, Brandon Turner wrote:
> Hello all,
>
> I've been using data fixtures more and more in my Symfony 1.4.1 project
> and have run up against an out-of-memory error when loading data via the
> doctrine:data-load task. My PHP CLI memory_limit is currently set at
> 32MB. I've got
Brandon, you're a star! Creating a new environment and disabling the
profiler solved the problem.
Do you think the profiler gets used by a non-existant web debug pane
(to log queries that have been executed?).
I'm struggling to think why the ApplicationConfiguration would get
created with 'debug=
Have found where to use orm parameter. Will try to generate new project and
then port my existing project to the new project.
Thanks for your help.
- Original Message -
From: "PachinSV"
To: "symfony users"
Sent: Tuesday, February 02, 2010 9:27 PM
Subject: [symfony-users] Re: No Pro
Thank you very much!
It worked flawlessly!
On Feb 2, 10:03 am, Florian wrote:
> Hi DC,
>
> When I want to do that, i need to disable the csrf check by
> configuring thefilterform like this:
>
> // in the configure() method of your *FormFilter
>
> $this->disableLocalCSRFProtection();
>
> Then
Some discussion about this here:
http://forum.symfony-project.org/index.php/m/56343/#msg_56343
On Feb 2, 8:11 pm, DoRiaN wrote:
> Up please :)
>
> On 1 fév, 17:44, DoRiaN wrote:
>
>
>
> > Hello (i'm french, excuse me for my english),
>
> > How to set trim default option on all widgets in a Form
Hello,
I have a form definition
$this->setWidgets(array(
'razonsocial' => new sfWidgetFormInputText(),
'nombre'=> new sfWidgetFormInputText(),
'direccion' => new sfWidgetFormInputText(),
'provincia_id' => new sfWidgetFormDoctrineChoice(array('model'
=> 'Prov
Tony,
I tried enabling an application configuration on my long running Symfony
1.4.1 Doctrine task and got the same behavior you did.
As far as I can tell the memory "leaks" appear due to
Doctrine_Connection_Profiler being enabled. The
Doctrine_Connection_Profiler (if I understand it correctly)
Had to regenerate the app.
On Feb 2, 10:51 am, Darren884 wrote:
> Apparently this is now only happening for modules that have relations.
>
> On Feb 2, 10:46 am, Darren884 wrote:
>
> > Some generated modules are done correctly, but with certain ones the
> > routes aren't simply there when generat
I decide to remove any reference to any foreign: "{table}_id", and
leave only "id" as the foreign key for each relation (insteado of
tableName_id), looks like that way everything run smoth and sql/db
are created OK, thanks Tom, this is the scheme:
User:
columns:
email: { type: string(255),
Up please :)
On 1 fév, 17:44, DoRiaN wrote:
> Hello (i'm french, excuse me for my english),
>
> How to set trim default option on all widgets in a Form ?
>
> Thanks,
> Dorian
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this gro
Apparently this is now only happening for modules that have relations.
On Feb 2, 10:46 am, Darren884 wrote:
> Some generated modules are done correctly, but with certain ones the
> routes aren't simply there when generated. I am getting errors like:
> The route "employee_employee_collection" does
Some generated modules are done correctly, but with certain ones the
routes aren't simply there when generated. I am getting errors like:
The route "employee_employee_collection" does not exist.
Has anyone had this issue? This is the weirdest thing, because why are
some being generated correctly a
For JSON exchange I doing special module 'json' named.
Addition I create "config" folder for "json" module and create
"view.yml" whithout template.
My actions sample:
public function executeNewChart(sfWebRequest $request) {
$retData = array();
/*
only ajax request
*/
if ($reque
Hello Tom,
$empresas had a array with values and descriptions to put on the
select.
But right now my major problem is the 2nd. Any idea?
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googl
Thanks Tom, but I have now more doubts..., None of my other columns
with relations have a definided "*_id" column but those id columns
are auto-generated when the sql schema is created, I will test adding
the book_id column to Book table, but do you have any idea of such
behaivor (not automatic ge
Hi,
On 01/21/2010 06:01 PM, Eno wrote:
Look at your web server error logs.
Do you mean there are hosting providers that have error logs for FPT
uploading?
Javi
--
You received this message because you are subscribed to the Google Groups "symfony
users" group.
To post to this group, send e
Hello. I've spent a good few hours trying to fix a memory leak in a
Symfony Task which uses Doctrine to access a table.
I'm finding that if I specify an application name (so that the Task
runs with an sfApplicationConfiguration instance) there is a memory
leak each time I run the simplest of Doctr
Here is the source code clarified quick ref for format_date patterns
http://trac.symfony-project.org/wiki/formatDateHowTo
referencing the internal tokens as well.
* Really userfull.
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to th
Here is the source code clarified quick ref for format_date
http://trac.symfony-project.org/wiki/formatDateHowTo
referencing the internal tokens as well.
* Really userfull.
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group,
I had the same question some time ago.
Here is the clues about supported formats:
http://trac.symfony-project.org/wiki/formatDateHowTo
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegro
Try
unset($this->validatorSchema['yourfild']);
On 2 ún, 10:52, l3ia-etu wrote:
> yes, that's good !
>
> so, i will set the widget readonly:
>
>
> $this->widgetSchema['somme']->setAttribute('readonly','readonly');
>
> and just another question, how to remove the validator
Thank you all for your responses,
I will create my own bussiness classes and put them into the
appropriate /lib folder. Maybe into the /lib/app or /lib/buss
subfolder for better tidiness ;)
I have only one "problem" with this... I my previous system the layers
can communicate only with closest l
Hello everyone,
I get a question and I need your advices.
In the admin app, I want to only display list form, so in other words, I
need to disable new and edit action.
So doing this, I tried to update the backend routing, like below:
test:
class: sfPropelRouteCollection
options:
model: Test
mod
Thank you for your reply,
the point is that if you have more complex bussines logic - which work
with more than one model. Into which class will you put it? And where
to put this class... For this i create my own bussines/application
classes and I wanted to know where to put them when working with
Hi,
I can't take part in the Symfony Live 2010 event in Paris, but I
already have bought a ticket. First one who contacts me gets it for
150$ instead of 200$.
Good luck!
Florian
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this
What do you have in the $empresas variable?
how your action code?
On 1 ún, 18:53, wueb wrote:
> Hi.
>
> I'm having 2 problems and i though someone here could help me.
>
> 1st PROBLEM:
>
> I have a widget called "id_empresa" which is a sfWidgetFormChoice with
> multiple choices, like this:
>
> $th
Look on Client: relations - you have Book relation here with foreign
id set to book_id, but you haven't book_id columnt in your Book
table... ;)
On 1 ún, 06:51, AnTiLo0p wrote:
> I'm trying to make the following scheme work, but I just can't do
> it... I'm getting mess with all the doctrine "one
Try to compare var_dump($_FILES) with and without prefix..
On 1 ún, 14:44, DoRiaN wrote:
> Yes i have >> undefined index in $_FILES. It's logical.
>
> On 1 fév, 14:03, Tom Ptacnik wrote:
>
>
>
> > Have you tried something like
>
> > $oFormFile->bind(array(), array('file' => $_FILES
> > ['myPref
Hey Hal,
Good feedback. You'll find us in agreement with a lot of it. We've
been slowly (too slowly!) improving the online strategy for Apostrophe
as the project itself has become more ready for the public.
Recently we set up a Trac (http://trac.apostrophenow.org) and moved to
a new Google Group
!!
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this
Thank you for that - one question, what about existing projects - how do I
change it over to Doctrine? Where do I specify the orm parameter?
Sorry if that is too general a question.
- Original Message -
From: "PachinSV"
To: "symfony users"
Sent: Tuesday, February 02, 2010 9:27 PM
Creo que el problema es que symfony 1.3 y 1.4 usa Doctrine como
default, Ej.: Cuando creas un nuevo proyecto tienes que usar el
parametro --orm=Propel (si quieres ocupar Propel, de otra manera el
proyecto usará Doctrine), espero sea de tu ayuda, saludos!
---
Thank Andro, but not work me. The solutions that i use's following:
In the class sfAction
$value = $sf_request->getRequestParameter('namefield');
in the condition if ($value!='')that's have value.
Thanks.
On 29 ene, 13:06, Andro wrote:
> $values = $request->getParameter($this->form->
Hi everyone, (cross-posted from Diem Users group)
This is an urgent message seeking an experienced Symfony and Diem
developer to assist with a new web application.
The first task is general setup and configuration of the site, mainly
setting up and extending the dmUser plugin for a bunch of cust
It should not be... if you are a beginner, then try Doctrine. It will be the
default in sf2
sent via htc magic
On Feb 2, 2010 9:33 AM, "Rebecca Bielecki" wrote:
I am thinking that my best option at this stage is to start from scratch -
ie install wamp and symfony from scratch and go straight t
yes, that's good !
so, i will set the widget readonly:
$this->widgetSchema['somme']->setAttribute('readonly','readonly');
and just another question, how to remove the validator ?
(to protect against hackers)
(cf http://forum.symfony-project.org/index.php/m/85114/)
On
did you set validator for this field?
On Mon, Feb 1, 2010 at 6:32 PM, DoRiaN wrote:
> I'm sorry, bind it's ok with $oForm->getEmbeddedForm(..)->bind(...)
>
> Is there an alternative?
>
>
> On 1 fév, 17:23, DoRiaN wrote:
>> Finally, I can't bind with $this->embedForm(), it's not OK.
>>
>> On 1 fé
Feel free to create your own classes as and when you need them. If
they need to be globally accessible classes from any application
create them in /lib. If they are only needed for one application (like
the frontend) store them in /apps/app_name/lib. Whenever you use them
in your code anywhere else
Thanks for your help, it works :)
For those who are interested, here it is : http://gist.github.com/292543
Cheers !
Le 1 févr. 2010 à 16:57, Bernhard Schussek a écrit :
> You could, for instance, write a recursive render helper:
>
> function render_nested_set(Doctrine_Collection $collection)
>
Hi all,
I'm using nested set doctrine behavior, and as I my previous issue I'm using a
helper to render my tree, so here is how I use it :
getLabel() ?>
getNode()->hasChildren()) : ?>
getNode()->getChildren()),
sfOutputEscaper::unescape($path)
) ?>
But today, I had a ver
The main advantage of the definitive guide is that all information about
symfony are available in one place. The right side tag cloud also help a lot
to go to the correct part of the documentation.
I still look at it to get references about cache, slot and other stuffs.
Some information are only a
Anyone please? :(
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com.
For more options,
hi
According to your terminology,
i think you have used Spring framework with hibernate in java or another
framework
In symfony, you first define your model layer schema in schema.yml
then you can use propel or doctrine as a ORM to generate your model layer
i have used Propel
so in propel, it
The book is now available in the SVN repository, ready for anyone to
contribute.
More information are available on the symfony docs mailing-list:
http://groups.google.com/group/symfony-docs/browse_thread/thread/66c6eb6c91ee6726
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
se
Hi DC,
When I want to do that, i need to disable the csrf check by
configuring the filter form like this:
// in the configure() method of your *FormFilter
$this->disableLocalCSRFProtection();
Then, I use link_to:
$nb_commandes), $nb_commandes), 'commande_collection', array('action'
=> 'fi
50 matches
Mail list logo