If integer(4) have another error:
SQLSTATE[HY000]: General error: 1005 Can't create table
'ranks.#sql-3a5_b1c' (errno: 150). Failing Query: ALTER TABLE
rank_domain ADD CONSTRAINT rank_domain_user_id_sf_guard_user_id
FOREIGN KEY (user_id) REFERENCES sf_guard_user(id). Failing Query:
ALTER TABLE
I'm not sure I got you correctly but it seems you are talking about
several administrative tasks that are executed by different persons/
roles, right?
if you would create an app per person/role you will likely encounter
duplicated code a lot. also you would have to maintain a far more
complex
Hello All,
I am getting this warning messages...Please help me to get rid of
those messages.
Warning: constant() [function.constant]: Couldn't find constant
Region::PEER in /var/www/dms/lib/symfony/plugins/sfPropelPlugin/lib/
widget/sfWidgetFormPropelChoice.class.php on line 79
Warning:
Hi everyone.
I want to add the value of an sfWidgetFormI18nTime to an
sfWidgetFormJqueryDate and store it into a column in my database but
it doesn't work.
here is my form.
$dateWidget = new sfWidgetFormI18nDate(array(
'format' = '%day%/%month%/%year%',
I'm using sfWidgetFormDate with a datepicker (http://
garakkio.altervista.org/datepicker/)
The code in the form is:
$years = range(date(Y),1980);
$this-widgetSchema['date_const'] = new sfWidgetFormDate(array('years'
= array_combine($years, $years),'format' = '%day% - %month% - %year
%'));
My
Additional to FormValidation I often need model lowlevel
integritychecks before saving an object.
eg. to check if there are related objects before delete. I think these
checks should be placed in the model class, but it's neccessary to
call them from an actioncontroller and to deal there with the
Good day,
Does any one tried to make a drop down Countries, and when its clicked, it will
display the list of cities based on the selected Country.
I have read about steps in how to do this, but doesnt have a sample code.
I dont know where to start about this one coz im still new. I dont even
Hi,
If you have to share functionnality accross multiple apps / customers / access
the best way imho is to put everithing in plugins.
As in symfony 1.4 the application is required to access plugins, you can use 3
kinds of plugins :
- Application plugins : direct port from the current app. It
This could help:
http://www.symfony-project.org/plugins/sfDependentSelectPlugin
On Wed, Aug 18, 2010 at 7:18 AM, Andro Fumero fugitive...@yahoo.com wrote:
Good day,
Does any one tried to make a drop down Countries, and when its clicked, it
will display the list of cities based on the
Could you paste your RankDomain fixtures? the problem may be there
On Wed, Aug 18, 2010 at 3:12 AM, RusAlex interpret...@gmail.com wrote:
IT's a standart fixtures:
sfGuardUser:
User_admin:
first_name: John
last_name: Doe
email_address: john@gmail.com
username:
On 18 Ago, 10:03, ajit csa...@gmail.com wrote:
I am getting this warning messages...Please help me to get rid of
those messages.
Warning: constant() [function.constant]: Couldn't find constant
Region::PEER in /var/www/dms/lib/symfony/plugins/sfPropelPlugin/lib/
A part of it, I can answer myself:
the updated_at column is set to null if I press save in the Form and do not
really make an update (i.e. leave all values, as they are). However, updated_at
is written if I really update a value.
Seems to me like a problem in Propel 1.5.
I guess, it will be
Hello,
I am confused. I would like to send emails with layout and template from
any place in my project, application or a task.
Reading the docs
(http://www.symfony-project.org/more-with-symfony/1_4/en/04-Emails), it
tells me to put each email in a class, and Of course, adding a base
class to
I should probably just store the information via sfCache and allow
sfAPCCache etc. to be plugged in as an alternative to the default
sfFileCache to avoid overhead rather than being cute about it...
On Aug 17, 9:39 am, Stéphane stephane.er...@gmail.com wrote:
I didn't took a look at the
On 18 Ago, 10:34, François SEDE francois.s...@gmail.com wrote:
Hi everyone.
I want to add the value of an sfWidgetFormI18nTime to an
sfWidgetFormJqueryDate and store it into a column in my database but
it doesn't work.
Don't use sfWidgetFormJqueryDate.
See
A specific task would be convenient for those who consider 'symfony
cc' too heavy, and I could still invoke it automatically from a
'symfony cc' hook. Would you mind opening a ticket on
trac.apostrophenow.org to remind me to look at this?
On Aug 17, 9:54 am, Stéphane stephane.er...@gmail.com
Done : http://trac.apostrophenow.org/ticket/533
http://trac.apostrophenow.org/ticket/533Cheers,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Wed, Aug 18, 2010 at 3:24 PM, Tom Boutell t...@punkave.com
That was quick adriane. It helps me a lot.
Thanks
From: Gustavo Adrian comfortablynum...@gmail.com
To: symfony-users@googlegroups.com
Sent: Wed, August 18, 2010 8:39:16 AM
Subject: Re: [symfony-users] Country City problem
This could help:
Hello,
I use the plugi ahDoctrineEasyEmbeddedRelationsPlugin to embed forms.
My schema is basic, I have a pet that may have a type of crying, a
type of displacement, a place to live and belong to a group. So a four
relationships one to many.
I wanted my embed forms of animals in the middle of
On 17 Ago, 13:50, wueb webmaster@gmail.com wrote:
I'm using sfWidgetFormDate with a datepicker (http://
garakkio.altervista.org/datepicker/)
The code in the form is:
$years = range(date(Y),1980);
$this-widgetSchema['date_const'] = new sfWidgetFormDate(array('years'
=
Hello,
I am at day 12 of Doctrine Jobeet tutorial..
I've seen the note:
You can also delegate the rendering to a component by prefixing the
field name by a tilde (~).
But I cannot understand it.
When exactly could I prefix the tilde? in the generator.xml?
My knowledge is at foggy level ...
Hello
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/12
The tutorial says I can split fields in two sections
form:
display:
Content: [category_id, type, company, logo, url, position,
location, description, how_to_apply, is_public, email]
Admin: [_generated_token,
Are they disabled somewhere? Do some configuration override the
generator.yml?
I refactor this question :-D
I can answer myself.. I created the BackendJobeetJobForm...
BUT: the fileds do not show up yet.
I also launched
symfony cache:clear
but maybe it is not the right clearing cache
Hello everyone.
I am trying to manage a user's profile which has interests.
Here is the database structure :
Profile:
actAs: { Timestampable: ~ }
tableName: user_profile
columns:
...
relations:
Interests:
class: Interest
local: id
foreign: user_profile_id
Yes, and yes. :)
On Aug 17, 12:11 pm, Daniel Kucharski dan...@inspiran.be wrote:
Hi,
Is it possible to create a plugin which overrides various settings / classes
from other symfony plugins (routing, schema, model classes)?
If so, does the order how plugins are loaded (in the project
Hi! I am doing the Jobeet classes usingf Symfony 1.4 with Doctrine and
now I am on Day 14 trying to make work the Feeds:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/14
But I have a problem: when I go to a feed link that should interprete
the indexSuccess.atom.php, it doesn´t work. I´ve
At the following screenshot: http://imagebin.org/110208 how do I
remove the th elements. i.e. the ones with 0,1,2? I know I can
make css hide this. But I'd like to know a cleaner way of doing this?
Been struggling with this to no avail.
--
If you want to report a vulnerability issue on
Overriding the view for that special case? or creating your own collection
form, assigning a friendly name instead of the numeric ones. Or you could
simply use jQuery or css, as you said.
On Wed, Aug 18, 2010 at 1:47 PM, Christian Fazzini
christian.fazz...@gmail.com wrote:
At the following
Hi,
Iv been having a problem that bothers me for the last couple of
weeks.
My schema.yml file contains the following amongst others:
Book:
actAs:
Timestampable: ~
I18n:
fields: [name, subtitle, schema, color, description]
columns:
name: { type: string(255), notnull: true }
Hi
Does anyone have an experience to have two different cache on a same
application ?
Maybe one cache manager able to store in two different cache
(sfCache) ?
or two cache manager ?
I am trying to have a normal cache by default, and a second cache when
the client has javascript activated. (in
A simple question:
I'm new to sfGuardAuth. I have inherited a symfony 1.2 application
which redirects the user to /profile module after login.
I would need to change this to the /mypage module but I cannot find
where this page where user is redirected after signing in is defined?
Best,
Peter
Hmm, this is a deeply nested embedded relation – am I right, that you're really
not editing the profile but the user – which embeds the profile which embeds
the interests? You could try to check out the trunk in the Subversion
repository because nested embedded relations were added recently by
32 matches
Mail list logo