Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-22 Thread David Buchmann
. cheers,david -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4BpDgACgkQqBnXnqWBgIuzMACgyEToRWttFvvcGk4SbtTRPFzl 3lYAoKoJQxVYjBp2GHcfIsJOYthRVS6n =dYny -END PGP SIGNATURE- -- If you want

Re: [symfony-users] Request for Symfony 2 installation guide

2011-06-21 Thread David Mann
Hi mate, Apc doesnt work with windows on php5.3 Sent from my iPad On Jun 21, 2011, at 5:42 PM, Vaibhav Rajput rajput...@gmail.com wrote: Hi All, currently i m working on symfony 1.4. now plan to learn symfony 2... i already went through some documentation i have downloaded bundles

Re: [symfony-users] AsseticBundle ?

2011-06-20 Thread David Buchmann
a mistake. you should be able to add it to the dependencies as any other bundle, and instantiate it, until the SE is fixed. cheers,david Am 18.06.2011 01:28, schrieb Arturo Sevilla: Hello, Does Beta5 come without the AsseticBundle installed? I downloaded both the tgz and zip version of Symfony

Re: [symfony-users] [Doctrine2] Delete query + JOIN. (How to translate this SQL query into DQL)

2011-06-17 Thread David Mann
: DELETE p, bp FROM photo p INNER JOIN bedroom_photo bp ON bp.id_photo = p.id INNER JOIN bedroom b ON b.id = bp.id_bedroom WHERE b.id = 1; || |Hope this helps!| | Regards,/ David Mann - Coding Ninja/ On 6/16/2011 2:04 PM, oscar balladares wrote: Hi everybody! This might go

[symfony-users] [Sonata AdminBundle] documentation

2011-06-03 Thread David Buchmann
work. maybe adminbundle should use the addSubscribed method for manyToMany relations? do you know what the idea with the generate entities command is here? is this going to be fixed by either you or doctrine to work out of the box? cheers,david - -- Liip AG // Agile Web Development // T +41 26 422 25

Re: [symfony-users] Integrate Sf2 with jquery

2011-06-03 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 this sounds spanish to me :-) but maybe you want to have a look at https://github.com/sonata-project - they provide a jquery bundle, and the adminbundle is using it... maybe you can figure things out from the admin bundle source code... cheers,david

Re: [symfony-users] [AsseticBundle] Infinity recursion when use predefined asset

2011-06-01 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 seems to be a known bug that should be fixed soon: https://github.com/symfony/symfony/issues/1152 and yes, we all hope to see a comprehensive assetic documentation... Am 30.05.2011 14:12, schrieb Vyacheslav Slinko: config.xml: assetic:assets

Re: [symfony-users] Re: [Symfony2] Best way for using a base locale in URL (no I18N)

2011-05-31 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi mauricio, the _locale is automatically taken from the session, no need to configure anything there. you can just to path('homepage') if you want the path to the homepage in the current session language. cheers,david Am 31.05.2011 14:48, schrieb

Re: [symfony-users] Assetic twig grouping assets and filters

2011-05-30 Thread David Buchmann
the assetic:dump command could read the debug on or off from the config.yml? right now i have to pass the --no-debug option or it also dumps individual files. cheers, david Am 15.05.2011 23:36, schrieb Matt Drollette: almost worked... but a couple explosions... assets: some_coffee

[symfony-users] Re: [symfony2] which is the correct way to deliver binary content?

2011-05-26 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 bumping this up as i got no reply... any input? Am 11.05.2011 11:24, schrieb David Buchmann: hi, i have binary content that i have to deliver to the client. what is the right way to do it? i found two solutions, but neither seems really good

Re: [symfony-users] Re: Need Help to Install Symfony

2011-05-25 Thread David Buchmann
different from 8080 like or whatever (just be sure to replace that everywhere and not just in some places) if you are still stuck, you should ask around, i am sure somebody at your university can help you get apache running :-) cheers,david Am 24.05.2011 10:28, schrieb Chinthaka Rukshan

Re: [symfony-users] Consuming RSS feeds in a Symfony2 project?

2011-05-25 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi alex, what did you do, did you try out some bundles or write your own? i would be interested in this too :-) cheers,david Am 18.05.2011 17:55, schrieb Alex Gilbert: Hey folks! With symfony 1.4, I used sfFeed2Plugin quite a bit

Re: [symfony-users] Assetic and php template

2011-05-23 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 is this in dev or production mode? if in production, did you generate the assets with app/console assetic:dump ? cheers,david Am 22.05.2011 14:23, schrieb John Blobsmith: I try to use assetic with php template like this : ?php foreach ($view

Re: [symfony-users] Any chance of creating a new Google group for Symfony2 only?

2011-05-17 Thread David Buchmann
if with settling of the framework and improving the documentation in the book traffic will go down again. or if releasing the stable 2 will attract even more beginners with lots of questions. cheers,david Am 17.05.2011 08:45, schrieb Gareth McCumskey: I don't think this is a good idea. I often have

[symfony-users] [symfony2] which is the correct way to deliver binary content?

2011-05-11 Thread David Buchmann
($picture)); $response-headers-set('Content-Type', 'image/jpeg'); return $response; cheers, david - -- Liip AG // Agile Web Development // T +41 26 422 25 11 CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG

Re: [symfony-users] Re: SF 2 - Referrer object similar to Request object?

2011-05-11 Thread David Buchmann
knows how to generate the current route but with a different locale generically? sounds like an important use case for sites that are multilanguage. cheers,david Am 10.05.2011 20:39, schrieb theinterned: On the other point: I am not sure what you mean by your suggestion - I you suggesting

Re: [symfony-users] Re: SF 2 - Referrer object similar to Request object?

2011-05-10 Thread David Buchmann
could use the php method parse_url to get the elements from an url. cheers, david Am 10.05.2011 17:56, schrieb theinterned: I solved this. I found the $router-match() method, which I am using against a cleaned up version of the $request-server-get('HTTP_REFERER'). This gives me the route

Re: [symfony-users] Symfony2 Beta1 - git branch

2011-05-02 Thread David Buchmann
master (and have the hotest and latest symfony, but you might need to adapt to upstream changes at random moments) or stick to the BETA1 tag until BETA2 is out (and have a slightly older version, and have a bigger upstream adaption moment when switching the tag). cheers, david Am 02.05.2011 12:13

Re: [symfony-users] Varnish with ESI and Symfony2 Beta1

2011-05-02 Thread David Buchmann
along with the request? you have to manually do that, as well as parse esi - the doc about that is in the book... (but i did that back then, with no luck) cheers,david Am 30.04.2011 09:01, schrieb Matt Drollette: I was able to get ESI's to work with the built in Symfony reverse proxy

Re: [symfony-users] Re: [symfony2] parameters.ini

2011-04-30 Thread David Buchmann
and should thus not contain secrets like a production db password. (if you are in a bigger context, you do not want developpers to access a production db with the webserver rights, for example) cheers,david Am 29.04.2011 13:25, schrieb robjensen82: Thanks for the reply David. I would have thought

Re: [symfony-users] [symfony2] parameters.ini

2011-04-29 Thread David Buchmann
and such. as well as setup specific stuff (database server name and so on, which would vary if you run your prod code on an integration server ...) that said, i don't know why its in .ini format and not a .yml file. in our projects, we use a dynamic.yml for such information. cheers,david - -- Liip AG

[symfony-users] Doctrine data-dump and data-load Fixtures

2011-04-26 Thread David
I have loaded a MySQL table then dumped it for creating a fixture file and one of the fields is defined as a string, but it can have characters and numbers. When it is dumped to yaml, the data that has the characters and numbers are not being put in quotations, while the data with all numbers

RE: [symfony-users] [Symfony2] Doctrine2 Associated Entities as Id Fields issue

2011-04-26 Thread David Rinaldi
Yes the yaml specifies a primary key and the ddl being generated also specifies one. As a matter of fact the real table that I am trying to unload and load has both a primary and foreign key. The test table is just a re-creation of the problem. See ddl below: CREATE TABLE testtable (

[symfony-users] Re: R: Doctrine data-dump and data-load Fixtures

2011-04-26 Thread David
a look at this. On Apr 26, 4:20 pm, ftassi tassi.france...@gmail.com wrote: Il giorno lunedì 25 aprile 2011 02:24:54 UTC+2, David ha scritto: Has anyone found a work around for such a situation or is there a bug in the cli doctrine:dump-data?  My definitions are below and any help would

[symfony-users] Re: symfony2: session handling and varnish

2011-04-25 Thread David Buchmann
, cheers,david Hey David, I was just looking at your post because I'm kind of facing the same issue, I want to avoid sending session cookies for users that are not logged in. I wonder whether you managed to solve it, did you? Cheers!, Mauricio. Am 19.03.2011 11:56, schrieb David Buchmann

Re: [symfony-users] twig check for array field existence

2011-04-17 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 thanks oscar, john and jordi a cool syntax, the for/else, twig is really useful :-) actually i need to distinguish whether i have 0 children, 0 children or the children array is missing, which means the code did not check whether there where children

Re: [symfony-users] [Symfony2] Controller before and after action (controller filters)

2011-04-17 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 was starting to write you should have a look at the doc http://symfony.com/doc/2.0/book but actually, it is not in there, or at least not where i would expect it to be. however, google for symfony2 event brings up this as second result:

[symfony-users] twig check for array field existence

2011-04-13 Thread David Buchmann
a variable is a non-empty array? cheers, david -- 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

Re: [symfony-users] Re: [Symfony2] Upgrade to PR11 = white screen of death in prod environment

2011-04-13 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yeah, that rename confused me as well. i opened an issue to at least improve the exception message to something more clear. Am 13.04.2011 12:32, schrieb Carl: Well then. I guess I should have just waited 20 minutes before posting anything. It looks

Re: [symfony-users] [Symfony2] How Tree Routing can be achieved in sf2 ?

2011-04-13 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi cezar, you can do something along navigation: pattern: /{path} defaults: { _controller: your controller } requirements: { path: .* } the requirements for path make it also use the / character. cheers,david Am 13.04.2011 11:38

Re: [symfony-users] Re: AsseticBundle Configuration + Usage

2011-04-05 Thread David Buchmann
it with {% stylesheets output='all.css' filter='lessphp' '@XyBundle/Resources/less/file.less' %} cheers,david - -- Liip AG // Agile Web Development // T +41 26 422 25 11 CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla

Re: [symfony-users] Re: AsseticBundle Configuration + Usage

2011-04-04 Thread David Buchmann
/DependencyInjection/AsseticExtension.php cheers,david Am 01.04.2011 01:04, schrieb Wizermil: Hi, I confirm it was a mistake in my code, my bad. I didn't write the right path in output attribute. I forget about the system folder web/bundles (generated automatically by app/console assets:install web

Re: [symfony-users] sample sites

2011-03-30 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi jab, one of our customers just went online with http://www.joiz.ch/ all shiny new symfony2. cheers, david Am 29.03.2011 20:23, schrieb Jab..: Any real time websites built with symfony that I could look at to understand its capability On 29

Re: [symfony-users] [Symfony2] Use only one controller

2011-03-22 Thread David Buchmann
://cmf.symfony.com cheers, david Am 16.03.2011 13:28, schrieb Chris: Hey everyone, I'm fairly new to Symfony 2 and currently working on a content management project. Since this project has just a single entry point (PageController) to handle a regular request I want to skip the routing

[symfony-users] symfony2: session handling and varnish

2011-03-19 Thread David Buchmann
integreated... cheers,david [1] http://symfony.com/doc/2.0/book/security/authentication.html [2] http://symfony.com/doc/2.0/book/http_cache.html [3] http://symfony.com/doc/2.0/cookbook/cache/varnish.html - -- Liip AG // Agile Web Development // T +41 26 422 25 11 CH-1700 Fribourg // PGP

Re: [symfony-users] O symfony 2 tem o comando de importar esquema do banco??

2011-03-18 Thread David Buchmann
of documentation available, the central source being: http://symfony.com/doc/2.0/ what you probably want to look into is this: http://symfony.com/doc/2.0/book/doctrine/orm/index.html cheers, david Am 16.03.2011 20:25, schrieb André: Boa tarde tenho um projeto, e gostaria de saber se o Symfony 2 tem

[symfony-users] Symfony 1.4 sending output twice for sf_view::

2011-03-16 Thread David Rolston
I have implemented some graphs using a chart library. Inside this library, there are various gd calls to create and render a png file. I have a wrapper class that requires the library class. Inside this class I have a stroke() method that concludes with this: $context =

Re: [symfony-users] Re: Production environment

2011-03-15 Thread David Buchmann
hi federico, did you check the apache error log? can it be that your app/cache/prod directory does not exist or is not writeable for the web server? cheers, david Am 14.03.2011 18:44, schrieb Federico Bernardin: Hi, yes the production deployment is on the root of the domain. If I write: http

Re: [symfony-users] Re: Production environment

2011-03-15 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi federico, did you check the apache error log? can it be that your app/cache/prod directory does not exist or is not writeable for the web server? cheers, david Am 14.03.2011 18:44, schrieb Federico Bernardin: Hi, yes the production deployment

[symfony-users] Re: Table meta-data in Symfony

2011-03-04 Thread David Clark
To flesh this out more -- we have the following schema: Instrument: columns: name: { type: string(255), notnull: true, unique: true } description: clob Question: columns: instrument_id: { type: integer, notnull: true } item_number: { type: integer,

Re: [symfony-users] Re: How to create custom Doctrine data validation?

2010-09-20 Thread David Park
that, all custom validations worked fine. Hope this helps! David On Mon, Sep 20, 2010 at 9:46 AM, Derrek dle...@allofzero.com wrote: Did you find the answer to this? I'm having the same problem. On Sep 15, 8:53 pm, David Park dpark...@gmail.com wrote: Hi All, I'm having problems creating

[symfony-users] How to create custom Doctrine data validation?

2010-09-16 Thread David Park
Hi All, I'm having problems creating a custom Doctrine data validation rule. After reading the Doctrine More Validation documentation (http:// www.doctrine-project.org/documentation/manual/1_2/hu/component-overview:validator:more-validation), I created a protected validate() function in my model

[symfony-users] Re: Problem With Jobeet: Day 5

2010-08-05 Thread David Savage
the Sluggable behaviour: http://www.doctrine-project.org/projects/orm/1.2/docs/manual/behavior... http://www.doctrine-project.org/projects/orm/1.2/docs/manual/behavior... Cheers. On Mon, Aug 2, 2010 at 5:40 PM, David Savage armaka...@gmail.com wrote: Hey all, So, I just downloaded

[symfony-users] Problem With Jobeet: Day 5

2010-08-02 Thread David Savage
Hey all, So, I just downloaded symfony and decided to try and learn it by following the Jobeet tutorial. After some bumps and starts (not sure if the symfony website maintainers read this, but they might think of including a specialized install guide for Snow Leopard, took me forever and a ton of

[symfony-users] one backend multiple sites

2010-07-01 Thread david
Hi, I've got multiple sites with duplicated backend in each of them. My idea is to have one single symfony project with one backend with one DB and mutiple frontend apps for all different sites so domain1.com redirects to the first app, domain2.com redirects to the second app and

[symfony-users] factories.yml configuration for Swift_FailoverTransport

2010-04-12 Thread David
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

[symfony-users] Custom generator

2010-04-02 Thread David
a generator.yml file? David -- 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

[symfony-users] special interpretation of a form field before saving the associated object

2010-02-21 Thread David Daniell
the FeaturedWidgetStatus based on the value of the checkbox)? Thanks. -david -- 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

[symfony-users] Re: CSRF attach with admin generator

2010-02-04 Thread David
. If you override the auto-generated template (copy it from the cache into your module's templates folder) and change sfForm to BaseForm it gets rid of that CSRF error. I don't know why, but it works -david On Feb 4, 5:52 am, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: For some

Re: [symfony-users] Re: Cross-Server Communication from Controllers

2010-02-01 Thread David Wang
are using (base64 suggestion below). -d ..oO David Wang Oo.. ..oO blog - http://www.udfi.biz ..oO JennieBot! - http://www.jenniebot.com On Feb 1, 2010, at 12:59 PM, pghoratiu wrote: If you have problems with data transmission I suggest you try out one of the following functions: http

Re: [symfony-users] Re: Cross-Server Communication from Controllers

2010-02-01 Thread David Wang
Sorry, I meant to infer that you should use both SSL and Encryption. -d On Feb 1, 2010, at 2:53 PM, Paul Frazee wrote: This is over public networks. I did get the encryption to work, but I'm curious why you recommend not using SSL in this case? On Feb 1, 1:09 pm, David Wang dw...@udfi.biz

Re: [symfony-users] What do you use symphony for?

2010-01-31 Thread David Wang
I use symfony for my user generated reminder system JennieBot. check it out at http://www.jenniebot.com. [ i know, selfless promo... you asked for it :) ] ..oO David Wang Oo.. ..oO blog - http://www.udfi.biz ..oO JennieBot! - http://www.jenniebot.com On Jan 31, 2010, at 3:32 PM

[symfony-users] Re: tinymce in symfony

2010-01-28 Thread David Joan
Hi Why don't you trying install sfFormExtPlugin again? On 28 ene, 12:30, mr_question lolekzbol...@gmail.com wrote: Ok, now I use sfWidgetFormTextareaTinyMCE() but I still don't have tinymce. What is more I don't have in view - source in browser: script type=text/javascript

[symfony-users] Is it possible to define a sfPropelRoute with multiple objects??

2009-12-28 Thread david
Hi, I am defining all routes for a directory web site. While browsing the directory I need to pass trough url multiple objects (category, article, location). Is it possible to define sfPropel Routes to work with multiple objects in the URL. If so, please, could give an example of routing.yml and

[symfony-users] Various projects sharing the same virtual URL

2009-12-26 Thread David M
I have some projects for different customers, and I have configured one virtual server (in Apache 2) for each one. Examples: - http://customer_acme - http://customer_jamesbond My question: is there some way to create one virtual server for all of them, and differenciate them with a virtual

Re: [symfony-users] Reasons NOT To Use CakePHP

2009-12-18 Thread David Wang
I'd second what Pablo said. You can always get a list of reasons for or against a framework. In the end, if the client can support Cake but not symfony, then i'd just use cakephp. CakePHP is pretty easy to develop in. If you can develop in symfony, cakephp will be... cake :) -d On Dec

[symfony-users] [sfDoctrineGuardPlugin] Change username into email

2009-12-03 Thread David M
I would need to change the username field of sfDoctrineGuardPlugin into email, because my site will not need usernames, but unique emails. I tried to just change the name and type of the username field, but when I rebuild all I get this error: Unknown record property / related component username

Re: [symfony-users] Re: DBFinderPlugin future

2009-11-30 Thread David Herrmann
and migration plans. +1 from me too. Our project also heavily depends on DbFinder for Propel, because I used it for all the queries that are a little too complex for Criteria only. David -- You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] Re: sfDoctrineGuard Plugin uses deprecated Stuff

2009-11-30 Thread David
I also upgrade to 1.4 and when I use the sfGuardUser backend, it throws an error when I try to edit a user: Fatal error: Call to a member function setLabel() on a non-object in plugins/sfDoctrineGuardPlugin/lib/form/doctrine/base/ BasesfGuardUserAdminForm.class.php on line 26 I have no idea how

Re: [symfony-users] deployment question

2009-11-24 Thread David Ashwood
You're getting auth errors when it's trying to create the files folders - so it's not an issue of keys. As you're coming from a windows machine - you're likely to have an issue when it's trying to set the right perms on the top level folders (-a flag attempts to match the perms from the source

[symfony-users] Upgrade path: 1.2 w/sfCompat10Plugin - 1.4

2009-11-23 Thread David Brewer
? :-) David Brewer -- 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

[symfony-users] Re: Doctrine, MySQL and Latin1. Symfony 1.3

2009-11-16 Thread David Ashwood
Use something along the line of the following in the top of your schema.yml; options: collate: utf8_unicode_ci charset: utf8 On Mon, 2009-11-16 at 15:34 -0800, MaEcTPo wrote: Hi, I am new on doctrine, and I have a problem. When I run task $: symfony doctrine:build-all I receive in

[symfony-users] Re: Doctrine nestedSet delete with application level cascade

2009-11-09 Thread David Ashwood
Setup a Doctrine Record Event listener: http://www.doctrine-project.org/documentation/manual/1_1/en/event-listeners#record-listeners Pre or Post Delete - it's up to you. On Mon, 2009-11-09 at 21:02 +0100, Georg Gell wrote: Is there a way to have a table with the nestedSet behaviour cascade

[symfony-users] Re: form for internationalization

2009-11-08 Thread David Ashwood
Remove the description from the fields listed in I18n, build-all, clear-cache. On Sun, 2009-11-08 at 03:27 -0800, dziobacz wrote: I have schema.yml: Firm: actAs: I18n: fields: [description, address] columns: id_firm: type: integer(1) primary: true

[symfony-users] Re: [sf1.3][doctrine 1.2] baseClassName

2009-11-07 Thread David Ashwood
I've not tried it - but as it's an option does the following not work? Message: options: baseClassName: somethingElse actAs: Timestampable: ~ tableName: messages columns: id: type: integer(4) primary: true autoincrement: true messageType: type:

[symfony-users] Re: Unable to open PDO connection [wrapped: could not find driver]

2009-11-04 Thread David Ashwood
Checking out: http://es2.php.net/manual/en/ref.pdo-oci.php Suggests: The PDO_OCI php_pdo_oci8.dll library (for use with Oracle version 8 client libraries) is no longer being built [with PHP 5.3]. Instead, use php_pdo_oci.dll (note no '8') with Oracle 10 or 11 client libraries. Connection to

[symfony-users] Re: Extending sfDoctrineGuard in 1.3

2009-11-04 Thread David Ashwood
DoctrineGuard for auth + permissions DoctrineGuardApply for Profiles. Both work well and without any major issues in sf 1.3. With some minor changes the call-the-expert article works also. It's probably best to go back to basics - get Guard installed and working without profiles, ensure you

[symfony-users] Re: Doctrine:data-load error: which table, which

2009-11-03 Thread David Ashwood
me your patch I would be grateful. Thanks Georg David Ashwood schrieb: Assuming you're using Doctrine - which version of symfony are you using? I have a small patch for 1.3 that gives more detail for errors that I can easily convert to sf 1.2. I mentioned the issues with non

[symfony-users] Re: Unable to open PDO connection [wrapped: could not find driver]

2009-11-03 Thread David Ashwood
Looks like you don't have one of the oracle extensions loaded: extension=php_pdo_oci.dll or extension=php_pdo_oci8.dll You'd have to check with the doctrine docco about which one they support/use. On Tue, 2009-11-03 at 10:40 -0800, Jota wrote: My last connection was an MySQL connection. It

[symfony-users] Re: Doctrine:data-load error: which table, which field, which value???

2009-11-02 Thread David Ashwood
Assuming you're using Doctrine - which version of symfony are you using? I have a small patch for 1.3 that gives more detail for errors that I can easily convert to sf 1.2. I mentioned the issues with non-verbose error messages in a Doctrine ticket recently with data imports and I think it's

[symfony-users] Re: Check fields without submit

2009-11-02 Thread David Ashwood
When you generate the field - you'd need to annotate with some kind of markup - which then js could work with for validating in the browser. A simple but crude approach would be to use the class of the element: input ...class=displayClass numeric-30 Then with js - obtain a collection of all

[symfony-users] Re: Check fields without submit

2009-11-02 Thread David Ashwood
-0800, HAUSa wrote: Yeah, but it is not in my profit as a developer to develop the validation twice (in JS and PHP). That's why I want to check the value by use of AJAX from the sf Form validator. On 2 nov, 15:16, David Ashwood da...@inspiredthinking.co.uk wrote: When you generate the field

[symfony-users] Re: Check fields without submit

2009-11-02 Thread David Ashwood
the value by use of AJAX from the sf Form validator. On 2 nov, 15:16, David Ashwood da...@inspiredthinking.co.uk wrote: When you generate the field - you'd need to annotate with some kind of markup - which then js could work with for validating in the browser. A simple but crude approach

[symfony-users] Re: Custom error messages

2009-11-02 Thread David Ashwood
You can customize them: http://www.symfony-project.org/forms/1_2/en/02-Form-Validation#chapter_02_sub_customizing_error_messages On Mon, 2009-11-02 at 08:58 -0800, Mark Smith wrote: Is it possible to customise the error message coming from an sfForm so that the contents of the validated field

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-11-02 Thread David Ashwood
What's the going rate for support from Sensio for an app developed against symfony? On Mon, 2009-11-02 at 19:15 +0200, Alexandru-Emil Lupu wrote: However, symfony is open source ... :) as fabien said ... no one has thought to help financial sensio labs or symfony project ... if is so

[symfony-users] Re: sfLightboxPlugin close on form submit

2009-11-01 Thread David Ashwood
-10-31 at 22:48 -0400, Martin Settle wrote: Thanks for the pointer, David. I will try that Monday at work Alexandre, I have read all the plugin documentation and also scoured the lightbox2 mailing lists. The two functions I tried were taken from those sources. Neither worked. If you can

[symfony-users] Re: Symfony 1.3 and Blameable Doctrine Extension

2009-11-01 Thread David Ashwood
Unset those fields in the form configure method and it should save. It's failing the form validation before the behaviour has a chance to work. On Sun, 2009-11-01 at 05:24 -0800, Fabrizio wrote: Hi, I have installed Blameable Extension in the folder /lib/doctrine_extensions/Blameable/ from

[symfony-users] Re: Symfony 1.3 and Blameable Doctrine Extension

2009-11-01 Thread David Ashwood
You need to create your own listener that extends from Doctrine_Template_Blameable_Listener and then grab the user id. http://www.doctrine-project.org/extension/Blameable/1_2-1_0 You have a couple of options to get the user id: 1) Use the session object of the app: session:

[symfony-users] Re: setters and getters on doctrine

2009-11-01 Thread David Ashwood
While it has other issues, the Zend Studio 7 beta works with the the phpdoc. On Sun, 2009-11-01 at 16:54 +0200, Alexandru-Emil Lupu wrote: It seems that there is a changeset that is 1 week old that creates the properties and methods needed. however, they are supported only by the application

[symfony-users] Re: graphviz plugin

2009-11-01 Thread David Ashwood
The graphviz plugin generates the dot files and images from the db (or container if you're using the component)- rather than generating anything from .dot file. With the doctrine plugin version you just install the plugin as usual and then run the task to generate the files images. On Sun,

[symfony-users] Re: Project Management / Support tools

2009-11-01 Thread David Ashwood
Take a look at Redmine - http://www.redmine.org/ Very decent, works with all scm, multiple projects; public private, it's simple to use and configure and has a nice feel to it. On Sun, 2009-11-01 at 20:52 +, Lee Bolding wrote: Hi Gang, Can anybody recommend a good project management

[symfony-users] Re: Project Management / Support tools

2009-11-01 Thread David Ashwood
, David Ashwood wrote: Take a look at Redmine - http://www.redmine.org/ Very decent, works with all scm, multiple projects; public private, it's simple to use and configure and has a nice feel to it. On Sun, 2009-11-01 at 20:52 +, Lee Bolding wrote: Hi Gang, Can anybody

[symfony-users] Re: Migration to Symfony 2.0

2009-10-31 Thread David Ashwood
It's not that surprising. People are excited about it, thinking longer term - planning ahead. Sf 2.0 is being demo'd at conferences - of course it's going to stir interest :) On Sat, 2009-10-31 at 16:00 -0700, Hugo Hamon wrote: I don't know why developpers already think about how they will

[symfony-users] Re: sfValidatorDoctrineUnique Is there any way to add criteria..

2009-10-30 Thread David Ashwood
In your form class you'll need something like: public function configure() { parent::configure(); // Common Validation if ($this-isNew) { // extra validation for new objects } else {

[symfony-users] Re: sfValidatorDoctrineUnique Is there any way to add criteria..

2009-10-30 Thread David Ashwood
can check if the value has changed - and if so - to check against Doctrine if the new field is valid. On Fri, 2009-10-30 at 06:02 -0700, ravi wrote: thanx for the reply david.. but that is not what i need.. i want to use the sfValidatorDoctrineUnique validator for username field

[symfony-users] Re: Polls with Doctrine

2009-10-30 Thread David Ashwood
The search facility on the sf plugins page is pretty decent: http://www.symfony-project.org/plugins/sfDoctrinePollPlugin It's only for sf 1.0 - might work with later versions - otherwise you'll need to bring it up to speed :) On Fri, 2009-10-30 at 10:26 -0300, Nelson Luis wrote: Does Anybody

[symfony-users] Re: Polls with Doctrine

2009-10-30 Thread David Ashwood
Attached is an updated package file for it. I've not tested the actual plugin - to see if it works - but the attached package should be installable with symfony package:install filename You'll need to copy the file somewhere and to change the filename in the above to point to the correct

[symfony-users] Re: sfLightboxPlugin close on form submit

2009-10-30 Thread David Ashwood
Try: Modalbox.hide(); On Fri, 2009-10-30 at 14:51 -0400, Martin Settle wrote: I've got a form appearing in a lightbox, which calls a remote function and updates the parent page. However, I'd like to have the lightbox close on the submission of the form. I'm trying to use an input=submit

[symfony-users] Re: How do I hush up noisy Symfony tasks?

2009-10-30 Thread David Ashwood
How about just turning off logging during your task and enabling it again when it's done with sfConfig::get set? On Fri, 2009-10-30 at 17:07 -0400, Tom Boutell wrote: I've written a task that needs privileges that are normally checked for based on the identity of the current user. So I set

[symfony-users] Re: How do I hush up noisy Symfony tasks?

2009-10-30 Thread David Ashwood
$loggingStateBefore = sfConfig::set('sf_logging_enabled',false); sfConfig::set('sf_logging_enabled' ,false); // // Your process ideally in a try/catch to ensure you can re-enable it // again // sfConfig::set('sf_logging_enabled',$loggingStateBefore); I think there are only 2 settings you

[symfony-users] Re: core.php/ not working

2009-10-29 Thread david
Do you have the zend debugger installed on the server? Check your web server (apache) error logs for Zend Debugger entries when you use the page with Opera. Sometimes the Zend debugger gets stuck trying to communicate with the server side module - clearing your Opera cookies for your site

[symfony-users] Duplicate entry exception when save a form with embedI18n

2009-10-28 Thread David BOUCHÉ
, David BOUCHÉ --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to symfony-users

[symfony-users] Re: sfDoctrineApplyPlugin version 1.1.0: a significant security improvement, and a change of mailer

2009-10-28 Thread david
Cool - great to see it ready for sf 1.3 On Wed, 28 Oct 2009 18:49:21 +0100, Tom Boutell t...@punkave.com wrote: Version 1.1.0 of sfDoctrineApplyPlugin has been released. Two important changes you need to understand before upgrading: 1. A security improvement. Previously usernames and full

[symfony-users] Re: Symfony output escaping in the templates of plugins

2009-10-28 Thread david
Use the sfOutputEscaper - it's smart enough to know if it's been escaped or not already and won't double escape. On Wed, 28 Oct 2009 19:52:46 +0100, Tom Boutell t...@punkave.com wrote: I write plugins which other people use in their Symfony apps. They might be using any of the possible

[symfony-users] Re: Custom fixtures for migrations

2009-10-27 Thread david
Yep - you can: http://www.doctrine-project.org/documentation/manual/1_0/en/migrations Migrations are just classes with interface methods - there's a pre/post hook that allows you to extract save or import load data. On Tue, 27 Oct 2009 15:57:42 +0100, Simone Fumagalli

[symfony-users] sf 1.3 - loading fixtures

2009-10-27 Thread david
Just an fyi - there appears to be a small issue with Doctrine 1.2 when loading fixtures when child labels are reused. You'll get an unrelated error message that might lead you down the wrong path (in my case a null field error). In earlier versions of Doctrine the fixtures loaded without

[symfony-users] Re: using fixtures with images and audio files

2009-10-27 Thread david
Nope. Generally it's not a good idea to load files into a database. The usual approach is to load the pathname into the database - loading binary data into a database is possible - but not optimal. On Tue, 27 Oct 2009 20:23:37 +0100, el-sid sydneyari...@gmail.com wrote: hi all, i have a

[symfony-users] Re: DOCTRINE - load data to tables which has got a relation !!

2009-10-26 Thread david
If you add a foreign alias to your relation then it's even easier... relations: sfGuardUser: class: sfGuardUser local: user_id foreign: id type: one onDelete: CASCADE onUpdate: CASCADE foreignAlias: Profile sfGuardUser: dziobacz:

[symfony-users] Re: Multiple cultures

2009-10-26 Thread david
The trick with cultures is knowing what happens when, the reasons why - and understanding where your code fits into the cycle. There's a negotiation that happens between the browser and the server - where they quiz each other about what cultures the browser has been configured with - and

[symfony-users] Re: Multiple cultures

2009-10-26 Thread david
it has to show the FR content. On 26 okt, 12:51, david da...@inspiredthinking.co.uk wrote: The trick with cultures is knowing what happens when, the reasons why - and understanding where your code fits into the cycle. There's a negotiation that happens between the browser and the server

  1   2   3   4   >