[symfony-users] Re: symfony or doctrine... or is it me?

2010-10-27 Thread erikms
Hi Florian, thank you for your prompt reply. I have DB logging on, I think... at any rate, I get the line in my log, telling me that SELECT [c].[country_id] AS [c__country_id], [c].[name] AS [c__name] FROM [crm5].[country] [c] WHERE ([c].[name] like '%Afgh%' OR [c]. [name] like ?) which is creat

[symfony-users] symfony or doctrine... or is it me?

2010-10-27 Thread erikms
Hi all, I have an MS SQL database I want to access, and dutifully RTFM, installed pdo_dblib, libtds, made my database connection and I can connect, no problem. simple queries also are no problem: $q = 'Afgh'; $countries = Doctrine::getTable('MSCountries') ->createQuery('m') ->where('m.name like ?',

[symfony-users] weird ness

2010-02-09 Thread erikms
Hi all, I am developing an application in symphony 1.2 the schema has a table named Orders, that has a 1->many relation to the table Products. This always worked. I can see the definition in the lib/model/base/Orders.class.php But all of a sudden my pages fail with the error "Unknown method Orders-

[symfony-users] symfony 1.2 - multiple (same) forms

2010-02-01 Thread erikms
Hi all, I am trying to do the following: I have an AJAX request that submits form data, which if it validates is saved into the database. If the data does not validate, an edit form is returned so the user may correct her data. However, it may happen that more than one edit form is returned. This

[symfony-users] Re: newbie question - routing and actions

2009-09-23 Thread erikms
there you go Thanks to Eno and el-sid -Erik On 22 sep, 10:36, erikms wrote: > Thank you for your quick replies, Eno. Unfortunately, I must have > missed a turn somewhere. > my setup is this (project s called try :): > apache: >  Alias /try /home/sfprojects/try/web >   >  

[symfony-users] Re: newbie question - routing and actions

2009-09-22 Thread erikms
Thank you for your quick replies, Eno. Unfortunately, I must have missed a turn somewhere. my setup is this (project s called try :): apache: Alias /try /home/sfprojects/try/web AllowOverride All Allow from All as in the tutorial. I unpack symfony (tried both version 1.2.8 and 1.2.7

[symfony-users] Re: newbie question - routing and actions

2009-09-21 Thread erikms
es? So then I either need to change the *Success pages to omit the 'id' or try to bake my own route... Can you give me a hint how to do the latter? Thanks in advance, -Erik On 21 sep, 15:20, Eno wrote: > On Mon, 21 Sep 2009, erikms wrote: > > However, when I try to 'show

[symfony-users] Re: problem with building sql

2009-09-21 Thread erikms
Hi el-Sid, from what I see, you have a *relation* to a table Tracks, but not the actual table. -Erik >   relations: -->     Tracks: >       local: tracks_id >       foreign: id >       type: one >       foreignType: many >       onDelete: cascade --~--~-~--~~~---~--~--

[symfony-users] newbie question - routing and actions

2009-09-21 Thread erikms
Hi all, I am fairly new to Symfony (only in day 14 of the tutorial), but I tried to set up my own project as suggested... I have a datamodel, it loads ok, I get the default index page with a listing of my two lines fixture data. So far so good. However, when I try to 'show' one of those records (l