Can someone help me with this please?
It's really becoming an obstacle in my development process now... :(
On 8 okt, 21:01, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
I have this route:
user_activate:
url: /user/activate/:id
class: sfPropelRoute
options: { model:
Hi Dennis,
thank you for your comments.
About your problem adding a Children to the Parent Object, i don't
understand it very well.
I just take a look to your link about but i think it's more or less
like im doing? Adding some embeds , right?
Can you explain me more?
Thank you.
On 7 oct,
Hello,
2009/10/9 HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
Can someone help me with this please?
It's really becoming an obstacle in my development process now... :(
On 8 okt, 21:01, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
I have this route:
user_activate:
With that, I get this message:
form id=form_user_activate action=?php echo url_for
('@user_activate', $user) ? method=post enctype=multipart/form-
data
The /user/activate/:id route has some missing mandatory parameters
(:id).
I get this error not when I submit the form, but when I go to /
Hello all,
I m new in symfony, i want to overwride the methode configure() of the
classe sfGuardPermissionForm in /lib/form/doctrine/
sfDoctrineGuardPlugin/sfGuardPermissionForm.class.php, to customise
the Add/Edit permission Form added 2 widgets and 2 validator to create
2 select lists from 2
Sure, your configuration is OK.
Maybe the routing match another route before this one.
Please check in the logs and tell us,
look if you do you have any other rule that could catch your url before ?
Use the task *./symfony app:routes websites* to get the list of the app
routes.
Alexandre
Ah, the URL problem is solved. I had to use url_for('user_activate',
$user), and not url_for('@user_activate', $user) (mind the @).
But, the form problem still remains.
When I submit my form, it says
Fatal error: Call to undefined method sfRoute::getObject() in /home/
Hi All,
I am confused about 1 query in my symfony project.
I have 2 tables as shown below.
1. photo
-photoid
-photoname
-userid
-tripid (either 0 or related tripid if trip is
assigned)
2. Trip
-id
-tripname
Hey, this is weird! I checked the log like you said Alexandre, and it
matches just the default one...
Oct 09 10:17:36 symfony [info] {sfPatternRouting} Connect
sfPropelRoute user_activate (/user/activate/:id)
Oct 09 10:17:36 symfony [info] {sfPatternRouting} Connect
sfPropelRoute user_edit
Well,
finally I stored the weekday as a bitfield (0x1 for monday, 0x2 for
Tuesday...)
I still wonder how to save multiple objects from a form save method
without having multiple instances of the form, but I guess I'll have
to create all my objects by hand, no way to use the parent::save
I submit my forms by use of a XmlHttpRequest.
Now, if the form is not valid, AJAX puts the error messages in my form
div.
But, when the form is valid, I want it to redirect it to another page.
And that page has to be loaded by a page refresh. But because I am
still in the XmlHttpRequest, Symfony
Try using window.location where XmlhttpRequest comes back.
On Fri, Oct 9, 2009 at 2:12 PM, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
I submit my forms by use of a XmlHttpRequest.
Now, if the form is not valid, AJAX puts the error messages in my form
div.
But, when the form is
@david I am also interested in your solution.
My 2 cents:
At the moment we are working with views by letting Doctrine create
tables from the VIEW model classes, and the overwriting them with an
SQL to create the actual views.
I have managed to keep the relations (FK) out of the the DB by
@david
The reason we use these views is because we need Subqueries and
Aggregate functions in our views for use in a sfGrid
DatasourceDoctrine.
Looking a bit at your YML snippet, poses a question:
Does you solution provide a way to use subqueries and aggregate
functions?
-Alex
On Oct 9, 11:14
What do you mean with Doctrine simple inheritance??
On Oct 8, 9:50 pm, Tom Boutell t...@punkave.com wrote:
You'd have to change the schema.yml of the plugin.
But instead of doing that, you can use Doctrine simple inheritance
to add the fields to that table.
Simple inheritance is a lot
We had a similar issue, what you need to do is use javascript to redirect
and break out of the ajax div as Deepak mentioned
On Fri, Oct 9, 2009 at 10:55 AM, DEEPAK BHATIA toreachdee...@gmail.comwrote:
Try using window.location where XmlhttpRequest comes back.
On Fri, Oct 9, 2009 at 2:12 PM,
http://www.doctrine-project.org/documentation/manual/1_1/en/inheritance#simple
On Fri, Oct 9, 2009 at 12:04, tirengarfio tirengar...@gmail.com wrote:
What do you mean with Doctrine simple inheritance??
On Oct 8, 9:50 pm, Tom Boutell t...@punkave.com wrote:
You'd have to change the
2009/10/9 HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
Hey, this is weird! I checked the log like you said Alexandre, and it
matches just the default one...
Oct 09 10:17:36 symfony [info] {sfPatternRouting} Connect
sfPropelRoute user_activate (/user/activate/:id)
Oct 09 10:17:36
Yep just saw another person with the same problem. Wanted to see if
anyone else had the trouble before too.
Daum
On Oct 8, 1:46 pm, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
Daun, i do not want to be impolite: I haven't notice this behavior yet, but
i would suggest you to create a
hi,
I want to have an i18n searchable job posting so I came up with this
model:
[CODE]OpenJob:
tableName: open_job
actAs:
Timestampable:
I18n:
fields: [title, description]
actAs:
Searchable:
fields: [title, description]
Sluggable:
http://trac.symfony-project.org/ticket/7302 is the ticket fyi.
Daum
On Oct 9, 10:47 am, Daum matt...@gmail.com wrote:
Yep just saw another person with the same problem. Wanted to see if
anyone else had the trouble before too.
Daum
On Oct 8, 1:46 pm, Alexandru-Emil Lupu
Daum,
I posted about it in the list a couple of days ago.
I found how to show the profile form but then when saving something else
went wrong. I moved to Doctrine since then.
Pablo
On Fri, Oct 9, 2009 at 10:47 AM, Daum matt...@gmail.com wrote:
Yep just saw another person with the same
I use to execute propel:drop-db propel:build-db (or similar) to fix the
problem :)
2009/10/8 basos noxe...@gmail.com
Unable to perform DELETE ALL operation. [wrapped: SQLSTATE[23000]:
Integrity constraint violation: 1451 Cannot delete or update a parent
row: a foreign key constraint fails
Thanks..
On Oct 9, 1:32 pm, Gábor Fási maerl...@gmail.com wrote:
http://www.doctrine-project.org/documentation/manual/1_1/en/inheritan...
On Fri, Oct 9, 2009 at 12:04, tirengarfio tirengar...@gmail.com wrote:
What do you mean with Doctrine simple inheritance??
On Oct 8, 9:50 pm, Tom
hello list,
1) is there a way to make sfWidgetFormJQueryDate the default widgets
for datetime fields in autogenerated code (Base*Form.classes)
eg:
class BaseTutorialForm extends BaseFormDoctrine
{
public function setup()
{
$this-setWidgets(array(
'id' = new
1 = true in routing parameters...
Strange...
Try adding :
*requirements*:
id: \d+
Finally :
user_activate:
url: /user/activate/:id
class: sfPropelRoute
options: { model: User, type: object }
param: { module: user, action: activate }
requirements:
id: \d+
I need to the values in some form fields when processing the form
right before I call save(). Just wondering what would be the best
approach to doing that? I was going to override the doSave() and
modify the fields there before calling parent::doSave() but maybe
that's not the best way? Anyone
I believe you just need to add an updateXXXField function to the form,
where XXX is the camelized fieldname.
That method is passed the value just before saving, and you return the
updated value, or false to remove it.
Daniel
On Oct 9, 3:08 pm, Eno symb...@gmail.com wrote:
I need to the values
Hi every:
First of all my apologies if this isn't the right place to ask this. I
have created a schema.yml file from scratch containing this:
ProjectData:
actAs:
Timestampable:
Searchable:
fields: [pid, pname, pdescription, pstatus]
columns:
id: ~
pid: string(50)
Hi there,
since today I am trying the new symfony version - and am migrating to
doctrine. But, unfortunately, it is not working as I expect it to..
I have 2 Databases, thus 2 connections:
all:
client:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=client'
Hi there,
I’m concerned about this IP checking thing (ip_address field in
sf_guard_remember_key table).
It seems like my website remenbers me for a day only since most ISPs
renew their IPs each day.
When I get back to my site the day after the cookie value no longer
matches my IP which has
I'm looking for a symfony class to manage log through syslog.
I've found sfStreamLogger, sfConsoleLogger, sfFileLogger (and other) but
to my surprise I haven't found one for syslog! Is that true?
...really true? Ok, therefore I'm about to start writing
sfSyslogLogger... If anyone here knows why
Hi all.
This is, I'm sure, a newbie question, but my eyes are going blurry
looking at google results.
I want to have a choice made in a select box display the next element
of the form, which is in a hidden div
in my Form class, I have:
$this-widgetSchema['vendor_id']-setAttributes(array(
Okay, please ignore...
I simply reversed the quotes... single quotes to encapsulate
javascript and double quotes to encapsulate div id. Oh, and I
replaced visible with an empty string.
Now it all works.
2009/10/9 Martin Settle martin.set...@gmail.com:
Hi all.
This is, I'm sure, a newbie
Hi, i'm new at symfony and i already like it. However when i use
insert-sql command i get the message:
doctrine created tables successfully
SQLSTATE[HY000]: General error: 10007 La petici¾n ROLLBACK TRA
e la correspondiente BEGIN TRANSACTION. [10007] (severity 5) []
The tables aren't
On Fri, 9 Oct 2009, Braulio wrote:
Another thing that i've noticed is that the problems resides in the
relations portion of the entities in the schema.yml file.
Do you think perhaps, showing your schema.yml might be useful?
Just sayin'...
--
36 matches
Mail list logo