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

2011-06-22 Thread David Buchmann
re not obsolete sounds great. 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

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 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 > i think symfo

Re: [symfony-users] AsseticBundle ?

2011-06-20 Thread David Buchmann
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 zi

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

2011-06-17 Thread David Mann
otherwise: 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

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

[symfony-users] [Sonata AdminBundle] documentation

2011-06-03 Thread David Buchmann
hould 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 11 CH-1700 Fribourg // P

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: > > >

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:4

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

2011-05-30 Thread David Buchmann
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: >

[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

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] 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] 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 : > > styleshe

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

2011-05-17 Thread David Buchmann
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 ofte

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 suggestin

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

2011-05-11 Thread David Buchmann
_get_contents($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 v

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_REFE

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

2011-05-02 Thread David Buchmann
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] 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] Re: [symfony2] parameters.ini

2011-04-30 Thread David Buchmann
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 thou

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

2011-04-29 Thread David Buchmann
assword 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,dav

[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 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

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

2011-04-25 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 are.

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

2011-04-25 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: 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

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: http://blog.b

Re: [symfony-users] [Symfony2] Cannot use an email/e-mail address as a named parameter

2011-04-17 Thread David Buchmann
e, if i can cover later / with my path regexp, why not the first one? cheers, david Am 16.04.2011 21:50, schrieb Jordi Boggiano: > On 16.04.2011 09:14, Theo Chakkapark wrote: >> I have a routing definition that's pretty standard: >> >> example: >> pattern

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] 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.

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 look

[symfony-users] twig check for array field existence

2011-04-13 Thread David Buchmann
ned? 2. how to check whether 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 p

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

2011-04-05 Thread David Buchmann
{% 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) Com

Re: [symfony-users] [Symfony2][Form] How to retrieve the file extension that was uploaded?

2011-04-05 Thread David Buchmann
e5?lnk=gst&q=file+upload#973d3cc5ac59cee5 cheers,david Am 04.04.2011 20:58, schrieb spike3111: > Hello, > > I have a form to send pictures, but when I want to display picture it > doesn't work: > > class PhotosForm extends Form > { > public function

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

2011-04-04 Thread David Buchmann
k vendor/symfony/src/Symfony/Bundle/AsseticBundle/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

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 &

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 reques

[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
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 te

[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 = sfContext::getInstance(

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 prod

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. > I

[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, notnull

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

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

[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
icle based on that field (because now it exists on your Article > table). > > More information about 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

[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 domain.com/backend

[symfony-users] WorkAround for Ticket #8500

2010-05-04 Thread David DUPONT
hen this bug will be corrected? Does anyone have a workaround for this bug? Thanks a lot. 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

[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 th

[symfony-users] Custom generator

2010-04-02 Thread David
path Symfony takes once it finds 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, se

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

2010-02-21 Thread David Daniell
rject this special logic (creating or deleting 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.

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

2010-02-04 Thread David
r creates a "BaseForm". 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,

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,

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

2010-02-01 Thread David Wang
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:

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 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: >

[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 ho

[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 subfold

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 17

[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"

[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 t

Re: [symfony-users] Re: DBFinderPlugin future

2009-11-30 Thread David Herrmann
.3 upgrade testing > 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 &quo

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 t

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

2009-11-23 Thread David Brewer
destroying them all? :-) 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...@goog

[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

[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 it

[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: int

[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 ca

[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 other

[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 w

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

2009-11-03 Thread David Ashwood
if you can send 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 conv

[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 powe

[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 fiel

[symfony-users] Re: Unit test failed with dubious

2009-11-02 Thread David Ashwood
I had this problem recently and fixing perms fixed it. On Mon, 2009-11-02 at 16:53 +0100, Zuchuat Bertrand wrote: > Hi, > > I have a strange problem with unit test on symfony 1.3. If l execute > the command "symfony unit:test" with no param, i have all tests with > dubious result. If i test

[symfony-users] Re: Check fields without submit

2009-11-02 Thread David Ashwood
want to check the value by use of AJAX from the sf Form > validator. > > On 2 nov, 15:16, David Ashwood 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. > > &

[symfony-users] Re: Check fields without submit

2009-11-02 Thread David Ashwood
2 at 06:26 -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 wrote: > > When

[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: Is it possible to check form values without the user submitting it? > It seems that

[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 some

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

2009-11-01 Thread David Ashwood
t looks like it could be perfect > > On 1 Nov 2009, at 23:26, 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 con

[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 managemen

[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, 20

[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 applicati

[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/user/sfUser

[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/ > fr

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

2009-11-01 Thread David Ashwood
the console. On Sat, 2009-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 tho

[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 m

[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 might

[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 s

[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 > to close t

[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 " You'll need to copy the file somewhere and to change the in the above to point to the correct folder/file. On Fri

[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: sfValidatorDoctrineUnique Is there any way to add criteria..

2009-10-30 Thread David Ashwood
back There you 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"

[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: 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 wil

[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 wrote: > > I write plugins which other people use in their Symfony apps. > > They might be using any of the possible escaping_strate

[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 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 names were

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

2009-10-28 Thread David BOUCHÉ
a.yml Toto: actAs: Timestampable: I18n: fields: [name] columns: name: string(255) --- thanks for your support. Cordialy, David BOUCHÉ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfon

[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 path&name 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 wrote: > > hi all, > i have a system im working o

[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 probl

  1   2   3   4   >