[symfony-users] symfony 1.4, doctrine, i18n, another question

2010-02-22 Thread Alexander Deruwe
Hello again, I have a table with a index: unique field that needs translations. Setting the index: unique option somehow makes it impossible to have identical translations for two languages. Is there a solution to this? IMO setting any index: unique on any field in a translated table should mak

[symfony-users] Admin generator ymfony 1.4 i18n question

2010-02-22 Thread Alexander Deruwe
Hey everyone, I understand how to show all required languages in the add/edit/filter admin-generator forms with embedI18n(). An issue I am facing is that in the list view, I only see non-i18n fields (only the 'id' primary key in my case)... How can I show either the current culture translation

RE: [symfony-users] Re: Admin generator ymfony 1.4 i18n question

2010-02-22 Thread Alexander Deruwe
Ugh, thank you very much. I tried this before I added /:sf_culture to my routes and it gave an error - and I assumed it was unrelated to the /:sf_culture thing. Assumption is the mother of all screw ups, never more true. Thanks again, Alexander -Original Message- From: symfony-users@

[symfony-users] Line endings in filter/form/model

2010-03-02 Thread Alexander Deruwe
Hey all, Today I switched from a *nix development machine to a Windows 7 one. When I regenerated the filter/form/model stuff, in the base files the line ending was changed to crlf instead of lf. Not really a problem, just a little messy svn-wise - is there a way to force it to a certain style? Ch

[symfony-users] Admin generator, embedded forms not saving their many-many's

2010-03-11 Thread Alexander Deruwe
Hello everyone, When I embed Form B into Form A in an admin module, where Form B contains a many-many relation, the changes to the many-many table (with the sfWidgetFormSelectDoubleList, or even with the default widget) are not saved to the db. If I create a separate admin module directly for Form

RE: [symfony-users] Admin generator, embedded forms not saving their many-many's

2010-03-11 Thread Alexander Deruwe
egroups.com [mailto:symfony-us...@googlegroups.com] > Namens Alexander Deruwe > Verzonden: donderdag 11 maart 2010 13:35 > Aan: symfony-users@googlegroups.com > Onderwerp: [symfony-users] Admin generator, embedded forms not saving their > many-many's > > Hello everyone, > >

[symfony-users] Doctrine question

2010-03-12 Thread Alexander Deruwe
I have the following yaml schema: Profile: # blah blah Channel: actAs: { Timestampable: ~ } columns: sender_id: { type: integer, notnull: true } receiver_id: { type: integer, notnull: true } relations: Profile: { local: sender_id, foreign: id } How can I relate receiver_id to

RE: [symfony-users] Doctrine question

2010-03-12 Thread Alexander Deruwe
That worked just fine! Thanks a bunch. A. > -Oorspronkelijk bericht- > Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] > Namens Syam > Verzonden: vrijdag 12 maart 2010 15:14 > Aan: symfony-users@googlegroups.com > Onderwerp: Re: [symfony-users] Doctrine quest

RE: [symfony-users] "Virtual" columns admin-generator fail

2010-03-25 Thread Alexander Deruwe
You are adding a virtual field to the list view - there is no form there. Your partial will have access to an object with the name of the model the admin generator is for. (I.e. if you generated a module for your Car model, your partial will have a $car object to work with.) Sorry if I am expressi

[symfony-users] Weird cache issues under load, sf 1.4 as svn:external on Windows Server 2008 Standard

2010-08-10 Thread Alexander Deruwe
Hey all, My current symfony project has recently become quite popular. While this is obviously good, load on the server has increased in tandem. Since about 2-3 weeks, we are experiencing very strange sf config cache issues. They seem most likely to happen under heavy load. The first few times

RE: [symfony-users] Re: Weird cache issues under load, sf 1.4 as svn:external on Windows Server 2008 Standard

2010-08-10 Thread Alexander Deruwe
Hey Gabriel, Thanks for your reply. With regards to point 2 below, isn't the config cache always located on the filesystem? Alexander -Oorspronkelijk bericht- Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Namens pghoratiu Verzonden: dinsdag 10 augustus 2

[symfony-users] Re: Symfony 1.2 web debug toolbar not valid for xhtml

2008-09-12 Thread Alexander Deruwe
On 12 Sep 2008, at 14:56, Nicolas Perriault wrote: > It is in xhtml2, so we'll have it in 10 years, or more probably never Well then the OP was quite an intricate troll, I'm thinking. Mad props. :) Alexander --~--~-~--~~~---~--~~ You received this message bec

[symfony-users] Re: Problem with forwarding in filters

2008-10-01 Thread Alexander Deruwe
On 01 Oct 2008, at 15:28, Yohan 'rouKs' G. wrote: > I've got a problem with forwarding from a filter in sf 1.1... > > I do $this->getContext()->getController()->forward($module, $action), > but i've got header problem (the web debug toolbar is loaded 2 > times...) > and no rendering of my action

[symfony-users] Re: Problem with forwarding in filters

2008-10-01 Thread Alexander Deruwe
On 01 Oct 2008, at 15:58, Alexander Deruwe wrote: > On 01 Oct 2008, at 15:28, Yohan 'rouKs' G. wrote: >> I've got a problem with forwarding from a filter in sf 1.1... >> >> I do $this->getContext()->getController()->forward($module, $action), >>

[symfony-users] DbFinder and subqueries

2008-10-16 Thread Alexander Deruwe
Hey all, Started using DbFinder a little while ago - great great great plugin! Thanks a bunch. Got one question though... Is it possible to do subqueries? Ex: SELECT * FROM survey WHERE id NOT IN (SELECT id FROM selected_survey) (simplified example of what I'm trying to achieve) Cheers,

[symfony-users] Re: DbFinder and subqueries

2008-10-17 Thread Alexander Deruwe
On 16 Oct 2008, at 16:29, Alexander Deruwe wrote: > SELECT * FROM survey WHERE id NOT IN (SELECT id FROM selected_survey) Ok, so to keep others from possibly being the same kind of stupid I have been for a few hours... DbFinder allows you to simply use Criteria or Doctrine_Query stuff

[symfony-users] Extending DbFinder

2008-12-10 Thread Alexander Deruwe
Hey all, I'm encountering some problems extending DbFinder... I have two databases, propel and an older database that I have generated a schema for. In the 'propel' database I want to create some custom finder: so I have lib/model/propel/EntryFinder.php: However when calling: $results =

[symfony-users] Re: Extending DbFinder

2008-12-11 Thread Alexander Deruwe
fony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~--- DbFinder.php.patch Description: Binary data On 10 Dec 2008, at 12:01,

[symfony-users] Re: Logging in production

2008-12-12 Thread Alexander Deruwe
On 12 Dec 2008, at 12:11, Bernhard Schussek wrote: > On Fri, Dec 12, 2008 at 11:48 AM, Sumedh > wrote: >> Looks like the plugin is available only for 1.1 ...whereas we are >> using 1.0 ... :| > The plugin has very little code and thus is easy to adapt/rewrite if > you need to. I did when there

[symfony-users] Re: Logging in production

2008-12-16 Thread Alexander Deruwe
On 13 Dec 2008, at 07:02, Sumedh wrote: > Thanks Alexander...I think it looks like a great solution... > > How much performance overheard it will be you think, for normal > reqest- > response flow when there is no exception...? On the whole, should we > put something like this in production? I

[symfony-users] Re: Extending DbFinder

2008-12-16 Thread Alexander Deruwe
Should I open a ticket for this, or? I just noticed this is still present in latest svn trunk. Alexander On 11 Dec 2008, at 10:09, Alexander Deruwe wrote: > Some hunting lead me to a likely typo. > Please see attached patch. > > > Alexander > > On 10 Dec 2008, at 12

[symfony-users] Re: Use sfUser attribute in view.yml

2008-12-16 Thread Alexander Deruwe
On 16 Dec 2008, at 11:34, François CONSTANT wrote: > I would like to get a user attribute in view.yml (in order to modify > the title). > > I know that I can use some php in this file but what I don't know is > how to access the sf_user object. Within an action I could use $this- >> getUser() and

[symfony-users] Re: Logging in production

2008-12-16 Thread Alexander Deruwe
On 15 Dec 2008, at 08:25, kusum wrote: > Hi, > I tried this filter ,but after sfException occur this email code > is not working.Even it is not logging any constant mess in log file. I think that's to do with using the environment variable SF_ENVIRONMENT - I've defined this in my apache co

[symfony-users] Re: blank screen of death: syntax errors not showing with custom controller using apache rewrite. Please help.

2009-04-16 Thread Alexander Deruwe
On 16 Apr 2009, at 10:52, Roland Cruse wrote: > Since its a php syntax error symfony logs are not much help...or have > not been for me. Try checking your apache (or whatever you use) error log, if you have access - it probably has more info. Alexander --~--~-~--~~~--

[symfony-users] saving embedded forms in 1.2

2009-04-22 Thread Alexander Deruwe
Hey everyone, I have a problem saving the main form in the case where the embedded form fails for whatever reason (in my test case a double UNIQUE value). It will trigger an exception that the foreign key field cannot be NULL in the main record: SQLSTATE[23000]: Integrity constraint violat

[symfony-users] Re: saving embedded forms in 1.2

2009-04-22 Thread Alexander Deruwe
> override this automatically value with a null one from the form, > causing the error. > > In your form do this before embedding it. > > unset($embeddedForm['file_data_id']); > > - Jon > > On Wed, Apr 22, 2009 at 8:46 AM, Alexander Deruwe > wrote:

[symfony-users] Re: saving embedded forms in 1.2

2009-04-22 Thread Alexander Deruwe
Eh never mind this one, $this->getObject() does exactly what it says it does. Alexander On 22 Apr 2009, at 16:02, Alexander Deruwe wrote: > As an aside I have another question... I need to update other form > fields in one of my updateXXXColumn() methods, but using >

[symfony-users] i18n in yml files

2009-04-27 Thread Alexander Deruwe
Hello, Been struggling with figuring out how to get literal strings from yml files into xliff files. The admin generator's generator.yml comes to mind: edit: title: Edit Operator '%%name%%' new: title: New Operator How would those two strings be translated

[symfony-users] Doctrine many-to-many behaviors

2009-05-20 Thread Alexander Deruwe
Hey all, Been getting extremely confused by http://www.doctrine-project.org/documentation/manual/1_1/en/behaviors#creating-behaviors - What I am trying to do is make 'Contactable' behavior for entity like tables: Company: actAs: { Contactable: ~ } columns: name: { type: string(

[symfony-users] batches

2007-03-13 Thread Alexander Deruwe
one? The thing I'm trying to achieve is a symfony batch script that can be run from cron, and would be needed in production after it is developed. Cheers, Alexander Deruwe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[symfony-users] Re: validation problem

2007-03-18 Thread Alexander Deruwe
On 18 Mar 2007, at 12:24, Matthias Nothhaft wrote: > I have an image upload form where I can upload an arbitrary number of > files. But I can only upload one file per submit. > > I use this form also for edit (update image description and usage). > > Now I need one single validation config for the

[symfony-users] Re: il8n Help

2007-03-18 Thread Alexander Deruwe
On 18 Mar 2007, at 16:48, kdizza wrote: > When I upgraded from symfony 0.6.3 to 1.0.0, all the dates in my app > got messed up. Instead or 2/3/1972, I got 1972-02-03. I found the > problem. By default fthe culture seems to be set to "en" instead of > "en_US". I tried to overide this by adding

[symfony-users] sfPropelBehavior not autoloading?

2007-03-18 Thread Alexander Deruwe
Good evening! I'm using propel behaviors to do some simple auditing on some of the tables in my database (created_by / updated_by, basically). To this end I am declaring the following in my project's config.php: sfPropelBehavior::registerHooks('simple_audit', array( ':save:pre' => array('sf

[symfony-users] Re: Re : [symfony-users] batches

2007-03-18 Thread Alexander Deruwe
On 16 Mar 2007, at 11:52, Michel D'HOOGE wrote: > On Wednesday 14 March 2007 17:57, I wrote: >> I have now 3 files : >> myBatch_dev >> myBatch_prod >> _myBatch_batch >> The 2 first define the constants and then include the last one > As a follow-up, I just changed that a little to simplify what is

[symfony-users] Re: sfPropelBehavior not autoloading?

2007-03-18 Thread Alexander Deruwe
On 18 Mar 2007, at 22:57, Alexander Deruwe wrote: > Good evening! > Thanks! Of course... The bootstrap stuff doesn't get called until the application config includes the project's config. A require_once() it is then! Alexander --~--~-~--~~~

[symfony-users] Re: Handling Errors

2007-03-19 Thread Alexander Deruwe
On 19 Mar 2007, at 12:50, Eric Bangug wrote: > Hi all, > > i just want to ask a simple question. > > If i have a login page and wants to display different types of > errors depending on users input > > ie. > * invalid password > * invalid username > * blah blah... > > how can i do it? it definit

[symfony-users] Re: (sfDoctrine) Class autoload failing on fixture import

2007-03-30 Thread Alexander Deruwe
On 30 Mar 2007, at 17:43, eric williams wrote: > [Doctrine_Exception] > Couldn't find class ProductItem Have you tried clearing the symfony cache? I find that most problems like the above can be solved by running 'clear-cache'. Alexander --~--~-~--~~~---~--~-

[symfony-users] Re: when the session expires and the browser is waiting for an asynchronous response...

2007-04-02 Thread Alexander Deruwe
On 02 Apr 2007, at 11:37, Hadrien Boyé wrote: > Hello, > > i use the "sfBasicSecurityUser" for the management of the user > authentication. the session time is set to 1 hour (3600 sec.) my > application is configured in order to redirect to the "login" form > when session time has expired. >

[symfony-users] sfPropelPager and LEFT JOINs

2007-04-02 Thread Alexander Deruwe
Good afternoon, I'm puzzled by something... I'm using sfPropelPager to show data from a table. The Criteria object I supply to sfPropelPager adds a few LEFT JOINs and selects some extra columns from the joined in tables. How am I supposed to access these extra columns later on in the templ

[symfony-users] Re: sfPropelPager and LEFT JOINs

2007-04-02 Thread Alexander Deruwe
On 02 Apr 2007, at 17:06, [EMAIL PROTECTED] wrote: > You should use > $pager->setPeerMethod('doSelectJoin') ; > and probably: > $pager->setPeerCountMethod('doCountJoinXXX') ; Yep, that was it! Thanks so much. Alexander --~--~-~--~~~---~--~~ You received thi

[symfony-users] Re: objects_for_select() question

2007-04-17 Thread Alexander Deruwe
On 17 Apr 2007, at 17:23, Jonathan H. Wage wrote: > The options argument for object_for_select() accepts an option of > include_blank=true. > > http://www.symfony-project.com/api/symfony/helper/ObjectHelper.html Oh man... I apologise... Thanks a lot for the pointer! Alexander --~--~-

[symfony-users] objects_for_select() question

2007-04-17 Thread Alexander Deruwe
Hey everyone, I was wondering if there is any way to have the objects_for_select() helper add an "empty" value as the first entry? Right now it defaults to the first entry from the lot - which is somehow tricky when you want to observe this select tag and update some form element depending

[symfony-users] Allow update only by owner

2007-04-26 Thread Alexander Deruwe
Hey everyone, I found a forum thread on the subject of only allowing record edits by the owner from March 2006: http://www.symfony-project.com/forum/index.php/m/6580/?srch=owner +credential Is there by now perhaps a better way to achieve the same functionality? Cheers, Alexander --~--~---

[symfony-users] sfPropelAuditPlugin

2007-04-26 Thread Alexander Deruwe
Hey everyone, sfPropelAuditPlugin depends on SF_DEBUG being set, because it uses DebugConnection::getLastExecutedQuery(). I would rather have SF_DEBUG off in my production environment, but that breaks updates in auditted tables. Is there any other way a plugin could access the last execut

[symfony-users] sfGuardPlugin

2007-04-26 Thread Alexander Deruwe
Hey again, I think the latest version of sfGuardPlugin contains two indexes with the same name 'unique_name', which is rather ironic actually. :) Err, should I apply for a trac account, or? I don't seem to be able to create tickets there... Alexander --~--~-~--~~~

[symfony-users] Re: sfGuardPlugin

2007-04-27 Thread Alexander Deruwe
On 27 Apr 2007, at 04:07, Rimenes Ribeiro wrote: > Hello Alexander, >I've took a look at the latest version of sfGuardPlugin and found > two constraints named 'unique_name' but in two different tables > (sfGuardGroup and sfGuardPermission). If you are talking about those > two constraints it's

[symfony-users] Re: Production routing and VHOST config

2007-04-27 Thread Alexander Deruwe
On 27 Apr 2007, at 11:30, David Hodgson wrote: > Hi there, > > I've just frozen my application and moved it up to a remote server. > > I've set up an apache2 vhost and this works fine. However only the dev > environment works. As soon as you remove frontend_dev.php from the URL > the routing no lo

[symfony-users] Criteria problem?

2007-04-28 Thread Alexander Deruwe
Hey everyone, I have the following code in a Peer method: $criteria->clearSelectColumns(); self::addSelectColumns($criteria); sfGuardUserPeer::addSelectColumns($criteria); TableAdamPeer::addSelectColumns($criteria); TableBartPeer::addSelectColumns($criteria); TableClaricePeer:

[symfony-users] Re: Symfony over ssl

2007-05-14 Thread Alexander Deruwe
On 14 May 2007, at 17:11, David Hodgson wrote: > Ah this is perfect! Thanks a lot for you help > > Matthias Nothhaft wrote: >> David Hodgson wrote: >>> Hey there! >>> >>> I've scoured the documentation and forums but cant find a solution. >>> >>> My entire Symfony project is hosted on https. Howev

[symfony-users] Re: Symfony over ssl

2007-05-14 Thread Alexander Deruwe
On 14 May 2007, at 18:10, David Hodgson wrote: I made no specific configuration changes. My app just uses https on the prod server or http on my dev laptop. Also, I don't see anything specific wrong with the code you pasted... Sorry I can't be of more help! Alexander --~--~-~--

[symfony-users] Auto completion based on value of other form element

2007-06-05 Thread Alexander Deruwe
Hey everyone, I've run into a situation where I need to offer auto completion based on the value of another field on the form, as well as the value in the auto completed field itself. Is there a recommended way to go about this? I've tried (foolishly, I'm pretty sure :) to embed Prototype $F

[symfony-users] Re: SfGuardPlugin

2007-06-13 Thread Alexander Deruwe
On 13 Jun 2007, at 20:30, Nicolas CHARLOT wrote: > nathieb a écrit : >> Hey, I try tu use sfGuardPlugin and to extend the sfGuardAuth with >> the sfGuardUserProfile. But when i use the official documentation, >> there is a trouble. the utilisation of an foreign key is >> impossible with prop

[symfony-users] Re: sfGMapsPlugin : google maps integration in Symfony

2007-06-15 Thread Alexander Deruwe
On 15 Jun 2007, at 14:24, Matthias Nothhaft wrote: > elbouillon wrote: >> http://trac.symfony-project.com/trac/wiki/sfGMapsPlugin > I did't have a look at it yet but I suggest to rename it to > > sfGoogleMapsPlugin Seconded. And this sounds really useful, and I could use it for my current proj

[symfony-users] Re: Workig with admin generator templates

2007-06-26 Thread Alexander Deruwe
On 26 Jun 2007, at 16:22, Haris Zukanovic' wrote: > How can I make it regenerate the cache on each call without having to > clear the cache? I may be totally misreading you, but what you are asking seems to be how things work when caching is turned off... Alexander --~--~-~--~~--

[symfony-users] Conditional validation

2007-07-04 Thread Alexander Deruwe
Hey everyone, I'm wondering if it's possible to do conditional validation... As a bit of explanation, I am working with an object that might have (or have not) some fields set depending on certain conditions. Can I handle this with one edit.yml validator? I.e. have my form like: "form_tag

[symfony-users] Re: Conditional validation

2007-07-04 Thread Alexander Deruwe
On 04 Jul 2007, at 15:27, Matthias Nothhaft wrote: > You should write one edit.yml with all your possible validators and > put > these condition checks into your own validators. > > Simply return true in your validator if the field not needs to be > checked. If you need "required checks" on cond

[symfony-users] object_checkbox_tag() issue

2007-07-07 Thread Alexander Deruwe
'ello, Using code from the Guide to easily update objects from the request like so: $object->fromArray($this->getRequest()->getParameterHolder()- >getAll(), BasePeer::TYPE_FIELDNAME); $object->save(); This seems to have problems with object_checkbox_tag() fields, in the sen

[symfony-users] Re: relation between select_tags

2007-07-11 Thread Alexander Deruwe
On 11 Jul 2007, at 15:19, Jony dos Santos Kostetzer wrote: > hi! Hey Jony, > I have two object_select_tags (i. e. states and cities - one-to-many > relationship). When I choose an state, i'd like that the second > select_tag shows, for example, only the cities of that state. Which is > the bette

[symfony-users] Re: relation between select_tags

2007-07-11 Thread Alexander Deruwe
ax action returns a JSON array which is used by a javascript function to repopulate the second select tag, yes. -- Alexander Deruwe - AQS CarControl CVBA Network & System Administration, Software Development & Support Bredabaan 528 - 2930 Brasschaat, Belgium Mobile +32(0)4743563

[symfony-users] Re: relation between select_tags

2007-07-11 Thread Alexander Deruwe
On 11 Jul 2007, at 16:42, Alexander Deruwe wrote: > Alexander Deruwe - AQS CarControl CVBA > Network & System Administration, Software Development & Support > > Bredabaan 528 - 2930 Brasschaat, Belgium > Mobile +32(0)474356372 > Email [EMAIL PROTECTED] Oops, I don

[symfony-users] Re: Class not autoloaded in plugin

2007-07-18 Thread Alexander Deruwe
On 18 Jul 2007, at 22:15, Nicolas CHARLOT wrote: > The class MyTools is located at /apps/frontend/modules/mymodule/lib/ > MyTools.class.php. > > In an action of a plugin (/plugins/myplugin/modules/mymodule/ > actions/actions.class.php) , the class doesn't seems to be autoloaded. I noticed the s

[symfony-users] observe_field()

2007-07-19 Thread Alexander Deruwe
Hey everyone, Is there any easy way to have an observe_field() call also be triggered when an update is made through javascript? In my case selecting a value in one select tag will update the next one (I chain 4 together this way). If by chance the next select tag only has to contain on

[symfony-users] Re: observe_field()

2007-07-19 Thread Alexander Deruwe
On 19 Jul 2007, at 14:12, Alexander Deruwe wrote: > Is there any easy way to have an observe_field() call also be > triggered when an update is made through javascript? In my case > selecting a value in one select tag will update the next one (I chain > 4 together this way). If b

[symfony-users] Disabling default module

2007-07-25 Thread Alexander Deruwe
Hey everyone, After disabling the default module, when trying to access it I get an exception 'default module not enabled' - on production this goes to a symfony error 500 page. Why does this not just cause a 404? I think I can change the error 500 page by updating web/error500.php, but th

[symfony-users] Re: Disabling default module

2007-07-25 Thread Alexander Deruwe
On 25 Jul 2007, at 17:43, Stefan Koopmanschap wrote: > Hi, Hey there, > Tried accessing the default module through the _dev version of your > site? That will tell you which exception happens. Yup. The exception's message is 'default module not enabled' - not sure what exactly the type of the

[symfony-users] Re: symfony sync broken

2007-07-30 Thread Alexander Deruwe
On 30 Jul 2007, at 13:43, Thierry wrote: > i get the impression symfony sync is broken, at least it's not working > for me and in the forums people seem to be also having trouble and > using workarounds. > > what is the current status on sync? Works for me. Does 'plain' rsync and/or ssh work for

[symfony-users] Re: symfony sync broken

2007-07-30 Thread Alexander Deruwe
On 30 Jul 2007, at 15:17, Thierry wrote: > SSH is working fine, > rsync command is available > > running as follows: > > C:\wamp\www\jobV2>symfony sync production >>> exec rsync --progress --dry-run -azCnet:/home/topdown/ >>> symfony/job/ > > stays nice and completely stuck there That's

[symfony-users] Re: symfony sync broken

2007-07-30 Thread Alexander Deruwe
On 30 Jul 2007, at 17:34, Thierry wrote: > I've been trying to find the problem by seeing what rsync command > symfony is actually using > > symfony production go, does the following: > rsync --progress -azC --force .../home/topdown/symfony/jobrsync > rsync --progress -azC --force --delete --exc

[symfony-users] Re: Error in Symfony 1.0.6?

2007-08-01 Thread Alexander Deruwe
On 01 Aug 2007, at 16:57, Marc Torres wrote: > I've just installed symfony from pear, and it installs version > 1.0.6, but when I run the symfony command I get: > > Parse error: parse error in /Applications/xampp/xamppfiles/bin/ > symfony on line 34 > > is it something break? Anyone out there h

[symfony-users] Re: sfSimpleForumPlugin

2007-08-02 Thread Alexander Deruwe
On 02 Aug 2007, at 00:40, Stereo wrote: > [propel-sql] Processing: generated-schema.xml > [propel-sql] Processing: generated-sfGuardPlugin-schema.xml > [propel-sql] Processing: generated-sfSimpleForumPlugin-schema.xml > Execution of target "sql-template" failed for the following reason: / > usr/lo

[symfony-users] Re: Started dutch translation of the symfony book - any help welcome

2007-08-02 Thread Alexander Deruwe
On 02 Aug 2007, at 13:19, Stefan Koopmanschap wrote: > Hello everyone, > > I just made a start with the dutch translation of the book: > http://trac.symfony-project.com/trac/wiki/Documentation/nl_NL/book/1.0 > > If there are any other dutchies here that feel like helping me out, > feel free to hel

[symfony-users] Re: upgrade symfony project to latest stable fails

2007-08-09 Thread Alexander Deruwe
On 09 Aug 2007, at 13:28, Bjorn Wijers wrote: > So I typed: > > symfony upgrade 1.0.6 > > Which results in: > > I have no upgrade script for this release. What you want is: "symfony upgrade 1.0" Cheers, Alexander --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: Trac down

2007-08-21 Thread Alexander Deruwe
On 20 Aug 2007, at 03:41, Kiril Angov wrote: > http://trac.symfony-project.com/trac > > 500 - Internal Server Error Anyone looking at this already? I'd like to get to the plugins. ;) Alexander --~--~-~--~~~---~--~~ You received this message because you are subs

[symfony-users] Re: How to enable Gzip using symfony ?

2007-09-03 Thread Alexander Deruwe
On 03 Sep 2007, at 17:04, rbawaskar wrote: > Any help in how do we enable Gzip using symfony.? > > Will the "compressed: on" in the settings.yml .do the needful ? if > not then what does it do ? I tested this some time ago, with mixed results... While I am sure I did something wrong, I

[symfony-users] Migrations

2007-09-04 Thread Alexander Deruwe
Hello, I've used the code from http://trac.symfony-project.com/trac/wiki/ Migrations to implement a basic migration system for my project. Even though (as mentioned in the page) it currently relies on a lot of handcoded SQL, it's working marvelously. I'd now like to release this as a plugi

[symfony-users] Re: Migrations

2007-09-04 Thread Alexander Deruwe
On 04 Sep 2007, at 15:17, Alexander Deruwe wrote: > I'd now like to release this as a plugin... But I don't know who > wrote the original code and would like (or even need) permission > before releasing. Oops, I'm blind... Plea

[symfony-users] Re: Flexy Templating Plugin?

2007-09-05 Thread Alexander Deruwe
On 05 Sep 2007, at 17:32, Kiril Angov wrote: > I am sorry I will changing the topic a little but by reading your > reasons to use Flexy and your concerns about it being developed and > PHP5 > compatible why not take a look at PHPTal. There is a not very recent > symofny plugin for it that I took

[symfony-users] Re: automated code audit

2007-09-05 Thread Alexander Deruwe
On 29 Aug 2007, at 20:29, Tristan Rivoallan wrote: > On 8/29/07, Jack Bates <[EMAIL PROTECTED]> wrote: >> I wonder if any code already exists for checking symfony's code >> standards? > > pear's codesniffer can provide a very good basis for implementing > this. > > http://pear.php.net/package/PH

[symfony-users] Re: Why is Criteria::ISNULL converted to = 0?

2007-09-12 Thread Alexander Deruwe
On 12 Sep 2007, at 16:10, Daniel Staver wrote: > $c->add( KeywordPeer::PARENT, Criteria::ISNULL); Try $c->add(KeywordPeer::PARENT, NULL, Criteria::ISNULL) - the second parameter is reserved for the value. Alexander --~--~-~--~~~---~--~~ You received this messa

[symfony-users] Re: Use of APC in symfony

2007-10-30 Thread Alexander Deruwe
On 30 Oct 2007, at 13:30, Marco Schierhorn wrote: > Fatal error: Cannot run code from this file in conjunction with non > encoded files in /kunden/80049_40667/webseiten/dcytest/apps/ > frontend/modules/account/templates/_accountCompany.php on line 114 I've never encountered this myself... But

[symfony-users] Re: Anyone using MAMP

2007-10-30 Thread Alexander Deruwe
On 28 Oct 2007, at 23:42, Kris Wallsmith wrote: > Could it be as simple as clearing the symfony cache? Other than that, > my experience with blank screens when trying to access a symfony > project is that the library and data folder variables in /config/ > config.php aren't configured accurately.

[symfony-users] Meta tags losing correct closing tag on POST?

2007-10-31 Thread Alexander Deruwe
Hey everyone, Both in my production and development environments, using symfony 1.0.8, on a normal GET request, the layout's calls will output: which is correct. However, on a POST request, they will output (again, in both environments): I had a quick look at the tag() function i

[symfony-users] Re: Anyone using MAMP

2007-10-31 Thread Alexander Deruwe
On 31 Oct 2007, at 14:10, Tom Haskins-Vaughan wrote: > I use Bluefish on Fedora 7 which I never had any problems with. I was > really excited when I started reading about TextMate but I spent too > much time over the past few weeks trying to get set up on Mac and not > getting any work done. Oooo

[symfony-users] Re: Meta tags losing correct closing tag on POST?

2007-11-02 Thread Alexander Deruwe
On 02 Nov 2007, at 12:27, Ian P. Christian wrote: > Alexander Deruwe wrote: > >> Thanks for your reply Ian. I apologise for getting back to this >> rather late. >> Err, not to play firestarter or anything, but this effectively means >> it's not possible

[symfony-users] Re: Meta tags losing correct closing tag on POST?

2007-11-02 Thread Alexander Deruwe
On 31 Oct 2007, at 17:39, Ian P. Christian wrote: > This is a problem with fillin filter > > I'm not sure if the fillin filter has now been fixed to resolve this > issue - can anyone else comment? > > the technical reason for this is that the fillin filter uses libxml > libraries to parse the outp

[symfony-users] Re: Anyone using MAMP

2007-11-02 Thread Alexander Deruwe
On 01 Nov 2007, at 18:42, Lee Bolding wrote: > On 1 Nov 2007, at 13:07, Tom Haskins-Vaughan wrote: > >> I'm intrigued. Tell me more... > > Umm... there isn't much more to tell. > > This is the setup I currently have - I have the MAMP stack installed > locally on my MacBook Pro for quick-n-dirty te

[symfony-users] adBlueprintPlugin released

2007-11-12 Thread Alexander Deruwe
Hey all, I've released the beta version of adBlueprintPlugin - more information about this: http://trac.symfony-project.com/wiki/adBlueprintPlugin This plugin wraps the Blueprint CSS Framework version 0.6 - more information about the framework itself: http://code.google.com/p/blueprintcss/

[symfony-users] Re: Flash messages not disappearing

2007-11-14 Thread Alexander Deruwe
On 14 Nov 2007, at 14:02, Angelina Talley wrote: > Hello folks! Hey there, > I have a symfony app that's puzzling me. Currently, as an action > executes I set a flash message saying the action succeeded or > failed. I then return sfView::SUCCESS or just let the action > complete and return

[symfony-users] Re: Logging user actions

2007-11-15 Thread Alexander Deruwe
On 15 Nov 2007, at 07:12, Bayarsaikhan [Singleton LLC] wrote: > How to log all actions of users, even for admin parts. To create an > log table, and add insert code to the beginning of each execute* > functions? You could create a class inheriting from sfActions, implement your logging in p

[symfony-users] Re: Help with Ajax and select tags

2007-12-05 Thread Alexander Deruwe
On 26 Nov 2007, at 16:06, [EMAIL PROTECTED] wrote: > my problem is occurring with creating a dropdown box that when > selected, AJAX will place another dropdown box below it filled with > choices according to the value chosen in box 1. I've actually written a plugin to make this really easy... I

[symfony-users] Re: Problems with MySQL Connection

2007-12-07 Thread Alexander Deruwe
On 07 Dec 2007, at 14:53, [EMAIL PROTECTED] wrote: > [wrapped: connect failed [Native Error: Access denied for user > 'web1713'@'83.220.144.13' (using password: YES)] [User Info: Array]] Seems like you did not tell mysql to accept connections from web1713 to your database. Or maybe you did, bu

[symfony-users] Re: symfony on a mac - display question

2007-12-12 Thread Alexander Deruwe
On 10 Dec 2007, at 17:03, Wang David wrote: > for instance : the [propel-om] lines aren't there, but i know they're > there they just can't be seen , because i can cut and paste it. I > know this is trivial, buts its a pain in my ass to always cut and > paste the output. I have noticed this too

[symfony-users] Re: i18n and MySQL

2007-12-13 Thread Alexander Deruwe
On 12 Dec 2007, at 21:39, eax wrote: > I would like to translate my website in many languages thanks to > symfony's i18n and use MySQL to store the translation data. > > I didn't understood the poor informations on the official Symfony > website. I would like to know if somebody could tell me wher

[symfony-users] Re: Installation on Leopard

2007-12-18 Thread Alexander Deruwe
On 18 Dec 2007, at 01:09, Teck wrote: > Is anybody working on Leopard version? I found that on Leopard the easiest way out is to run a development environment in Parallels/VMware and 'symfony sync' to it. PHP on Leopard is version 5.2.4, but with so many things missing it's not even funny.

[symfony-users] Re: Installation on Leopard

2007-12-18 Thread Alexander Deruwe
On 18 Dec 2007, at 11:46, Stefan Koopmanschap wrote: > just use macports. I have set up my php and mysql using macports, and > things are running fine. :) Ah, might have a look - is PostgreSQL 7.4 in there too? Alexander --~--~-~--~~~---~--~~ You received this m

[symfony-users] Error 500

2008-01-10 Thread Alexander Deruwe
Hey guys, I'm getting frequent error 500's on production which I am so far unable to reproduce on my dev environment. Is there any way I can disable this global error 500 page and show the actual exceptions which are (probably) being thrown and causing these error 500 pages in my product

[symfony-users] Re: Deactivate CSS stylesheets

2008-01-14 Thread Alexander Deruwe
On 14 Jan 2008, at 15:07, Sylvain Deloux wrote: > How could I deactivate these stylesheets from my action ? Use view.yml in the corresponding module: blahSuccess: stylesheets: [-StylesheetOfYourChoiseWithoutTheExtension] Notice the '-' there which instructs symfony to remove the stylesheet

[symfony-users] Re: Vertical Line

2008-02-06 Thread Alexander Deruwe
On 06 Feb 2008, at 12:52, Birchandra Sanasam wrote: > I want to write some text on vertical line. Can I write it? > Please guide me if someone knows. Sounds like you need Google. ;) http://www.google.com/search?q=html+vertical+text Alexander --~--~-~--~~~---~--~---

[symfony-users] Re: Conexion SQL SERVER

2008-02-14 Thread Alexander Deruwe
On 14 Feb 2008, at 08:50, [EMAIL PROTECTED] wrote: > all: > propel: > class: sfPropelDatabase > param: > dsn: mssql://:@\/ > > > propel.database= mssql > propel.database.createUrl = mssql://:@ > \/ > propel.database.url= mssql://:@ > \/ I do not speak Spanish... H

[symfony-users] LOC count

2008-02-14 Thread Alexander Deruwe
Hey all, How do you calculate the LOC count for your symfony project? Is there perhaps a plugin I don't know about? I've been sortof wondering, after a year of working on this ever- changing project, what size it has become. :) Cheers, Alexander --~--~-~--~~~--

  1   2   >