That's not how it works.
Define a getJavascripts() function in your form class that return an
array of the neccessary js files. See the links:
http://trac.symfony-project.org/browser/branches/1.4/lib/helper/AssetHelper.php#L621
I need to know what ws the most stable version of Symphony Between
January and June of 2009. If there were multiple versions stable
during this time, what date (month) did they become stable? Please
help! If you can tell me where I can find this information in
writing, I would appreciate that
I need to know what ws the most stable version of Symphony Between
January and June of 2009. If there were multiple versions stable
during this time, what date (month) did they become stable? Please
help! If you can tell me where I can find this information in
writing, I would appreciate that
If you mean Symphony, the CMS, check their site: http://symphony-cms.com/
If you mean symfony, the PHP framework, there were three stable major versions:
- 1.0 (support ended in January 2010)
- 1.1 (support ended in June 2009)
- 1.2 (released in December 2008, support ended in November 2009)
Dennis... create a simple loop of approx 10,000 iterations
and create a criteria inside the loop... and echo the php's memory usage...
I this the issue is quite obvious...
On Mon, Apr 12, 2010 at 4:33 PM, Richard U richard@gmail.com wrote:
I am uploading a csv file..
i require looping
So, how big are these CSV files? How many lines are you processing and
can you tell us how many entries you're inserting to your DB using
Propel?
It would be best if you could show us the code that implements what
you described in your last mail. Investing maybe 30 minutes to write
an email that
Except from the fact that I haven't read your code, what you describe is a
problem with PHP versions prior to 5.3 The problem is in the GC of the engine
I'm not blaming it on PHP, but you could try that. If you can't upgrade to the
new PHP, then I'm sorry, but what you try to do may not work at
I thought that was the issue... , the thing is how can i work around it?
On Mon, Apr 12, 2010 at 5:38 PM, Alvaro Videla harryjek...@gmail.com wrote:
Except from the fact that I haven't read your code, what you describe is a
problem with PHP versions prior to 5.3 The problem is in the GC of
Dennis thats the function if you want to have a look at it...
public function executeIndex(sfWebRequest $request) {
ini_set('memory_limit','512M');
set_time_limit(60*5);
sfConfig::set('sf_logging_enabled', false);
Thanks Gábor. Makes sense. I can't implicitly associate a js file with a
form, but rather have to specify the association.
I think that
http://www.symfony-project.org/more-with-symfony/1_4/en/05-Custom-Widgets-and-Validatorswill
also be
helpful documentation.
- Michael
On Sun, Apr 11, 2010
Hi,
I have created a form using the below widget and validator. I am not able to
validate the maximum length of the input text type. The example shows to
bind the form first and then do validation. Please me in resolving the same.
Thanks Deepak
?php
class LoginForm extends sfForm
{
public
I think there is no problem of checking subdomain from sfUser.
I think for checking subdomain you only need to have a request object
- I think it has a host attribute.
Something about subdomains is here
But it's a really usefull function and maybe it should be in the core.
On 8 dub, 11:45, axel at axel.zu...@gmail.com wrote:
overwriting the doBind works for me but it's an ugly solution - other
frameworks use checkbox widgets with hidden fields to solve this
problem, would be nice for symfony
Thanks Dennis, awesome feedback!
On Mon, Apr 12, 2010 at 5:53 PM, Richard U richard@gmail.com wrote:
Dennis thats the function if you want to have a look at it...
public function executeIndex(sfWebRequest $request) {
ini_set('memory_limit','512M');
The decorator customization for forms won't work (when you use admin
generator) because generator templates for forms don't use echo $form,
but they are more customized... So you have to look into cache folder
and copy this templates into your project and customize them there
(like vatson wrote).
Hi,
When I disable a widget in a form used in the edit action, I also disable
the same widget in the form in the update action.
Then no need to overload processForm or addind updateXColumn.
Cheers
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre
Leon,
i am trying out your sfGrid plugin and ran into few small issues
where do you want us to report problems/bugs ?
On Apr 11, 10:53 pm, Leon van der Ree l...@fun4me.demon.nl wrote:
Today I will provide a tutorial, setting up a (propel-based)
playground with some best practices I came up
Ok, just to clarify some things. I do this in my spare time (as most
of the people on this mailing list). Having this said you may realize
that I cannot (and will not) give you feedback a few minutes after you
replied to my mail. If you might take a look at other threads on this
mailing list other
Just using 'doctrine:build --all --and-load' in 1.3.
Javi
On Apr 11, 10:12 pm, Javier Garcia tirengar...@gmail.com wrote:
Hi,
it doesn't work because i'm using sf 1.2.
Is there any way to operate schemas overwriting in sf 1.2 o 1.3?
Javi
On Apr 9, 9:55 pm, Javier Garcia
A ran into memory issues today when I had to modify every record in a
table after a Doctrine Migration. The problem is that PHP doesn't
decrease the reference count of a child/parent object, and therefore
doesn't free the memory. The problem is described
http://paul-m-jones.com/archives/262
and
Hello,
I sent you an answer last week but for some reason the message was not
well posted, and I didn't realized. Anyway, I post it now again:
If I have understood your answer correctly, the solution would be
that, instead of creating the connections dynamically, I would have to
set all of them
Hi Richard
Model::clearInstancePool() is not only mechanism that tries to solve memory
leaks issue in Propel - check this
out,http://bugfeatures.com/blog/comments.php?y=09m=08entry=entry090809-055809#entry090809-055809_comment090809-134908
Also, you should take into consideration manually
Can you put somewhere code of those classes?
Alan
On Mon, Apr 12, 2010 at 5:00 AM, godbout guillaume.lecler...@gmail.comwrote:
Hi Alan,
Obviously I wasn't really awake that day...
The form is SubscriberForm (not NewsletterForm) and it extends
BaseSubscriberForm.
I had to copy/paste the
Just to chip in with another possible cause:
I see you're doing all of this in a controller (and others have talked
about whether that's a good idea). Have you got the web debug toolbar
enabled? If so, it could be keeping a log of all DB queries executed
in your action. I had something similar
Hi,
just that.
Any idea?
--
Javi
Ubuntu 8.04
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to
Ok guys... thanks for your patience with me...
Don't know if you guys had a chance to check out the code i pasted but
if you didn't i am already doing most of the things stated in the
replays... and i really think that this is the a php issue... not
symfony/propel issue..
Having said that... i
Hi,
i have the a login (sfDoctrineGuardPlugin) and a signin
(sfDoctrineGuardExtraPlugin) form.
Any advice to join them in the same template?
Regards
--
Javi
Ubuntu 8.04
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
Hello,
I have a doctrine schema with four tables extending from a table
named Proposition with a lot of fields, making the column_aggregation
inheritance not available by performance reasons, and over all for
validations and mainteinance causes...
I tried the concrete inheritance, and
Hello guys.
I have symfony 1.4 with Doctrine.
Basically, in my form I need to make some specific validation upon
several fields. And in some cases (when these specific form errors
happen) module's action should perform necessary tasks.
So I'm wondering how can I know that specific error
Hello dear all!
Is there a way to make a Symfony 1.4 action of a module to occur in a
time schedule? I am running linux OS behind.
Many thanks for the support!
Take care!
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received
Well I forgot i can copied the two modules in the frontend folder...
Javi
On Apr 12, 2:35 pm, Javier Garcia tirengar...@gmail.com wrote:
Hi,
i have the a login (sfDoctrineGuardPlugin) and a signin
(sfDoctrineGuardExtraPlugin) form.
Any advice to join them in the same template?
Regards
Leon,
I just checked out all required plugins to generate a grid.
Using your old sfGridExtjs3plugin, i get inheritance errors.
it seems the sfGrid class variables cannot be reached by any subclass
(private).
When I change them to 'protected' the subclasses are allowed access
and all works fine.
Unless you absolutely require the upload to be processed with the user
present I would handle loading this data via a background task, so I
can split it up into as small chunks as I like/need without annoying
the user; What if they want to upload 50,000 records? What happens if
their browser dies
This thread:
http://groups.google.com/group/symfony-users/browse_thread/thread/6110d23b5879501a/9cf0c80fd94142fd
appears to suggest that it works fine with all symfony 1.x versions.
On Apr 12, 2:22 pm, Phil Moorhouse moorhouse.p...@googlemail.com
wrote:
We do something very similar using the
That sounds ideal, but i think in my situation the user would most
likely be waiting at the screen... i guess your design can still be
applied in the same way with some ajax displaying to the user the
processing as it proceeds...
On Mon, Apr 12, 2010 at 11:16 PM, Tony Piper tpi...@tpiper.com
I would put the action in a task... and then setup a cron for it...
On Mon, Apr 12, 2010 at 5:21 PM, Dss dd...@lexis.gr wrote:
Hello dear all!
Is there a way to make a Symfony 1.4 action of a module to occur in a
time schedule? I am running linux OS behind.
Many thanks for the support!
Take
I know you discovered the apostrophenow list and moved on past this
question on your own, but in case others are wondering: there is a
thorough discussion of this topic here...
http://trac.apostrophenow.org/wiki/ManualDevelopersGuide
--
If you want to report a vulnerability issue on symfony,
Hi,
Till today I've been using one database connection and everything was
fine.
Today I created a second connection
The problem is that the sfDoctrineGuarPlugin want to use a second
connection(cash) instead of the first one (doctrine)
Can I set a default database connection for a project?
Can
I'm trying to setup the mailer for my Symfony project to use the
Swift_FailoverTransport to allow Swift to failover to a second SMTP
server if the first SMTP server does not connect. I can't hover
figure out how I would setup the configuration parameters in
factories.yml to properly configure the
Hi,
Thanks for the link, this is the first one I looked at :)
Anyway, for testing purpose, I had to modify the homeTemplate in a/templates
to add my new type in the first area.
After this I was able to add a slot of my own type :)
I think this could be added to the wiki (I didn't as I wasnt
hello
how can i change the language of my project from english to an
onther language
thank you
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony
hello
i want to khow how to hide the forms of filters in the backend
thank you very much
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users
I have a bizarre problem with a YAML file creating two copies of a
Plugin class (one in the Plugin, and one in the project). It's only
some tables in the YAML file, not all.
The YAML file is as follows: (all line endings are UNIX)
assetImage: # This one works fine
columns:
id:
Just unset the fields directly on the embedded form, same syntax.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group,
Hi everyone. I want to create a module for Categories. Every category
has 1 or more images. The i18n fields are: title and description.
Basically, I have in CategoriesForm.class.php (I won't put the exact
script, but the essencial things just to show you my point. It would
be too long if I put the
Hi, maybe you could get some ideas from the sympal DataGrid Plugin.
Here is the code
http://redmine.sympalphp.org/projects/sympal/repository/revisions/master/show/lib/plugins/sfSympalDataGridPlugin
here the docs http://www.sympalphp.org/documentation/1_0/book/data-grid/en
On Apr 12, 10:11 am,
hi,
i'm trying to ewport pictures as a zip file.
This works for local pictures but from the moment on i try to use it
on pictures from the server (or other sites)
it stops working and this is because the file() command doesn't work
on url's with me? after a minute my apache crashes
When i look
I have another quick question about what I've posted. In the model of
de record, let's say the model Image following my last post.. I need
to override the save function to add the logic to generate
thumbnails and to delete files if needed. Let's say that my function
is the one that posted before:
stupid me thank you !!
sorry about that !!
On Apr 10, 11:08 am, Gábor Fási maerl...@gmail.com wrote:
These functions need to be public, you made it protected.
On Fri, Apr 9, 2010 at 17:23, Omar El Mazny omar.elma...@gmail.com wrote:
i followed symfony rules i wanted to creat my own function
In generator.yml
config:
filter:
class: false
On Mon, Apr 12, 2010 at 4:56 PM, safa boubekri boubekri.s...@gmail.comwrote:
hello
i want to khow how to hide the forms of filters in the backend
thank you very much
--
If you want to report a vulnerability issue on symfony,
Thanks, Phil. I'll check that out
On Mon, Apr 12, 2010 at 9:29 AM, Phil Moorhouse
moorhouse.p...@googlemail.com wrote:
This thread:
http://groups.google.com/group/symfony-users/browse_thread/thread/6110d23b5879501a/9cf0c80fd94142fd
appears to suggest that it works fine with all symfony 1.x
# apps/frontend/config/settings.yml
all:
.settings:
default_culture: it_IT
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19
On Mon, Apr 12, 2010 at 10:42 AM, safa boubekri boubekri.s...@gmail.com wrote:
hello
how can i change the language of my project from english to an
Hi Alex,
I think you are using the wrong versions of the plugins
Please check out the correct branches, see the externals I provided to
get the overview:
plugins/sfPropel15Plugin
http://svn.symfony-project.com/plugins/sfPropel15Plugin/trunk
plugins/sfPropelObjectPathBehaviorPlugin
Hi Saganxis,
Even though the code-style of the SympalGrid is quiet different from
sfGrid and the SympalGrid is also extremely coupled to Doctrine (which
I think is a pity since it is limiting the possible use-cases), I do
like the way templates and especially partials are being used to
render the
Hey man,
I know what you mean, for example - I have a checkout form that uses
authorize.net to validate a credit card, but I don't want to trigger
the validation until the basic for validation passes.
The way I go about it is override the doBind method to first call the
parent::doBind method, and
Thank you very much
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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
I know this is now probably short notice; but I figured I would post
here that the Symfony-NYC Meetup group will be meeting again this week
to discuss XDebug and Symfony. For anyone who is in the New York City
area please check out the event page at
Thanks a lot, Daniel,
but in my case I have to trigger different functions depending on the
results of validation.
Lets say I have 2 fields: field_1 and field_2.
If field_1 passed validation and field_2 didn't - action needs to
trigger function a() and show default template.
If field_2 didn't pass
Thank you a lot
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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
Sure.
// BaseSubscriberForm.class.php --
abstract class BaseSubscriberForm extends BaseFormDoctrine
{
public function setup()
{
$this-setWidgets(array(
'id' = new sfWidgetFormInputHidden(),
'email' = new sfWidgetFormInputText(),
Hey guys... im getting the SQLSTATE[HY000]: General error: 2006 MySQL
server has gone away
In my action i create the required db connections as such
$connection_cdb = Propel::getConnection('propel');
$connection_stats = Propel::getConnection('cdb_stats');
I then read a big csv file from the
Thank you for the information, but do you know the dates in which the
three versions actually became stable frameworks?
On Apr 12, 12:28 am, Gábor Fási maerl...@gmail.com wrote:
If you mean Symphony, the CMS, check their site:http://symphony-cms.com/
If you mean symfony, the PHP framework,
Hello,
i have somes actions as webservices (with ckWebServicePlugin). I need
to include documentation tag in wsdl generated file, but it doesn't
work
it is an example of htdoc of webservice action:
/**
* Devuelve coleccion de carteleras de la semana para un canal
*
*
63 matches
Mail list logo