[symfony-users] symfony 1.4 - renderComponent() and ajax problem

2011-06-22 Thread vviippola
Hi ppl, I'm going crazy with this issue, probably something trivial I'm not able to figure out. I have a component which works fine when included on template using include_component() However, when I do this for ajax calls I'm getting an error. if ($request->isXmlHttpRequest()) { return $th

[symfony-users] Symfony 1.4 - Management of a blob or postGis field with doctrine

2011-06-20 Thread Stéphane Guidoin
Hello, I'm quite new with symfony and I'm trying to make it work with PostGIS thru doctrine. I installed sfMapFishPlugin but my problem seems to be as basic as managing a blob/bytea field. So by considering only the blob question, here is my problem : - I design a table with a blob that look

[symfony-users] Symfony 1.4 - Management of a blob (or PostGIS) field with doctrine

2011-06-20 Thread Stéphane Guidoin
Hello there, I'm quite new with symfony and I'm trying to make it work with PostGIS thru doctrine. I installed sfMapFishPlugin but my problem seems to be as basic as managing a blob/bytea field. So by considering only the blob question, here is my problem : - I design a table with a blob th

[symfony-users] [Symfony 1.4] Google Calendar

2011-05-31 Thread Inori
In my project I need to use google calendar (be able to add/view events). While searching I've found only 2 mentions of it. 1.) http://symfohub.com/repo/sfGoogleCalendarPlugin With documentation in japanese and only 1 initial commit this plugin is not exactly what I need, but I still tried to use

Re: [symfony-users] [Symfony 1.4] SOLVED: How to customize the display of sfWidgetFormDoctrineChoice

2011-05-29 Thread Alex Potter
On Sunday 22 May 2011 18:50:50 Alex Potter wrote: > I've spent days trying to implement this but, despite having read all the > documentation I could find and googling extensively, I'm still no wiser. I finally found a clue here.

[symfony-users] Symfony 1.4 intermittent does not redirect

2011-05-24 Thread Eric B.
Hi, I'm running into a really strange bug here. I've got an action that finishes with a redirect() method: public function executeRegister(sfWebRequest $request) { // go to next step $this->redirect("submit/index"); } However, I have been getting intermittent reports th

[symfony-users] [Symfony 1.4] How to customize the display of sfWidgetFormDoctrineChoice

2011-05-22 Thread Alex Potter
Currently, I have a field displayed as a list of check-boxes, the default. I need to be able to display this field in tabular form, with n columns. I've spent days trying to implement this but, despite having read all the documentation I could find and googling extensively, I'm still no wiser.

[symfony-users] Symfony 1.4 - reflexive relation with doctrine generates DELETE query

2011-05-17 Thread Mikael
Hello, I have a strange behavior when I save a Doctrine form based on this model : Enseignement: columns: code: { type: varchar } nom: { type: varchar } valide: { type: boolean, default: false, notnull: true } parent_id: { type: integer } relations: Parent: {class: Enseign

[symfony-users] Symfony 1.4 : Hide a widget and its validator, based on a cookie ?

2011-05-09 Thread Manu
On my website, I use a ReCaptcha widget in the form used to add comments. Once the form has been correctly sent, I write a cookie to the user's computer. I would like to remove the ReCaptcha widget when the user has that cookie, so that returning visitors don't have to type a captcha. Can I do tha

[symfony-users] symfony 1.4 functional test and domain-related issues

2011-05-05 Thread Thor
i have a cms handling multiple domains. I am not able to test it because when i create the 'login' test it should find the domain which is requested, and then "do stuff" based on the domain name,and the user passed. The problem seems to be that it's not able to find the domain. Is there a way to

[symfony-users] symfony 1.4: No User Object on Remote Clients

2011-04-28 Thread Stephen Cerniglia
I've been working on a project for a couple of weeks now and it works great when I browse from the local machine. However, when I use a browser not located on the web server machine, symfony is not creating a user object, i.e. $sf_user isn't available for my templates. As I said, if I run the bro

[symfony-users] Symfony 1.4 cache.yml

2011-04-19 Thread codecowboy
If I have cache set to true in settings.yml (global level, production environmentl), should I expect my cache/prod/templates to fill up? It is empty after browsing a few pages (obviously via index.php - using the production urls). Symfony version 1.4. I have tried setting with_layout to true Than

[symfony-users] [Symfony 1.4] Problem calling a function declared on an external non-symfony plugin

2011-04-08 Thread Ehlgaf
Let me explain, i have a external non-symfony zend-optimized encoded "plugin.php" wich code i can't modify or read. Now, inside that plugin there is a function called vsend($p1, $p2) that i must call inside a action but the function is unreachable. the action.class.php goes like this: include dir

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

[symfony-users] Symfony 1.4 PHPUnit 3.5.10 - Code coverage problem

2011-03-10 Thread Jean007
Hi guy, We have an application in Symfony 1.4 and PHPUnit 3.5.10, we use PHPUnit for unit tests. When we introduced "@cover" in the comments of each method. Unit tests are going very well, but the code coverage fails with the following error: Writing code coverage data to XML file, this May take

Re: [symfony-users] [Symfony 1.4] Deploying on Windows

2011-03-06 Thread cosmos monster
Hi. command.php page upload to yourself server. command page content: Run script http://www.yourdomain.com/comman.php On Sun, Mar 6, 2011 at 5:28 PM, Gareth McCumskey wrote: > On your server in your project root run "symfony project:permissions" which > will automatically set the right permi

Re: [symfony-users] [Symfony 1.4] Deploying on Windows

2011-03-06 Thread Gareth McCumskey
On your server in your project root run "symfony project:permissions" which will automatically set the right permissions. The permissions issue is the same even if you use other deployment methods (like svn for example). Just be aware of it and each time you update run that symfony command. 2011/

Re: [symfony-users] [symfony 1.4] Retrieving Value from FormField

2011-03-05 Thread Sebastian Göttschkes
I thought of this, but for some reason it isn't working. The input name is book_order[book_amount] and I tried $form->getValue('book_amount'), $form->getValue('book_order[book_amount]') and $form->getValue('bookAmount'). On the other hand, $form['book_amount']->getValue() is working as expected

[symfony-users] [Symfony 1.4] Deploying on Windows

2011-03-05 Thread Sebastian Göttschkes
Hi, I'm currently having issues deploying symfony from my Windows machine as rsync breaks file/folder permissions. I wrote a shell-script which is setting the correct permissions and groups again but I'm not sure about the best way using the script. I find it complicated to log in via ssh after

Re: [symfony-users] [symfony 1.4] Retrieving Value from FormField

2011-03-04 Thread Sebastien Armand [Pink]
You have $form->getValue('fieldname') will give you the value for a certain field. $values = $form->getValues() will dump an array of all the form values with the field name as the array key. On Fri, Mar 4, 2011 at 4:30 AM, Alex Pilon wrote: > The way you described is using the arrayaccess inter

Re: [symfony-users] [symfony 1.4] Retrieving Value from FormField

2011-03-03 Thread Alex Pilon
The way you described is using the arrayaccess interface which I believe is something that symfony takes great advantage of. I would say that is a fine way to do it. 2011/3/3 Sebastian Göttschkes > Hi, > > I'm currently not using FormWidgets as I got some Javascript working and > some special c

[symfony-users] [symfony 1.4] Retrieving Value from FormField

2011-03-03 Thread Sebastian Göttschkes
Hi, I'm currently not using FormWidgets as I got some Javascript working and some special changes in the form. I now need to get the value of a FormField, which can be either the value stored in the database (when the edit-page is viewed without a POST) or the (wrong) data submitted by the use

Re: [symfony-users] Symfony 1.4, Linux and MsSQL

2011-02-23 Thread Ernesto Garcia
Hi. if I try: $conection=mssql_connect($server,$user,$passwor); $session= mssql_select_db($database, $conection); $sql="select * from trable"; $result = mssql_query($sql); print_r (mssql_fetch_array($result)); mssql_close($connection); run without problems, on the s

Re: [symfony-users] Symfony 1.4, Linux and MsSQL

2011-02-22 Thread Gareth McCumskey
It has nothing to do with a plugin or symfony. Your MSSQL server is not allowing connections from locations outside the local machine. I.e. remote connections are not being allowed by the MSSQL server. If it was MySQL I would say make sure the host value for the user you are trying to connect

[symfony-users] Symfony 1.4, Linux and MsSQL

2011-02-22 Thread Ernesto Garcia
Hello. I want to connect a computer running Linux Symfony with MSSQL server. If I make the connection with php on the same machine works fine but if I try from symfony doctrine waiting time is very long and impossible to establish a connection. It is possible with this setup?. I need a plugin or

[symfony-users] Symfony 1.4 + propel15 ondemand hydration

2010-12-09 Thread Thor
Hi all, i have some code that looks as follows: $list = ObjQuery::create()->setFormatter(ModelCriteria::ON_DEMAND)- >find(); That returns me a certain number of objs in a propelcollection. If to this code i add the following (for example) foreach ( $list as $o) { echo $o->getId() ." - ". $o->ge

Re: [symfony-users] Symfony 1.4 + Doctrine + OCI8

2010-12-03 Thread Zuchuat Bertrand
Hi, I use this syntax to connect my project on Oracle: all: opacstat: class:sfDoctrineDatabase param: dsn:'oracle:dbname=//server_address:1521/SID' username: xxx password: Doctrine implement 2 solutions with Oracle: oci8 and pdo. But PDO isn'

Re: [symfony-users] Symfony 1.4 + Doctrine + OCI8

2010-12-02 Thread Gábor Fási
You cannot. Doctrine is built on top of PDO. On Thu, Dec 2, 2010 at 18:08, Vikos wrote: > Hi Guys! > > I need to use Oracel 10g XE in my current project (Symfony 1.4 & > doctrine 1.2). > > I configured it well to use pdo_oci.. but the it has lot bugs... > especially in CLOB handling [insert, upda

[symfony-users] Symfony 1.4 + Doctrine + OCI8

2010-12-02 Thread Vikos
Hi Guys! I need to use Oracel 10g XE in my current project (Symfony 1.4 & doctrine 1.2). I configured it well to use pdo_oci.. but the it has lot bugs... especially in CLOB handling [insert, update]. Please help me to reconfigure the doctrine to use OCI8 instead of PDO!! database.yml (for pdo_

Re: [symfony-users] Symfony 1.4 or Symfony 2?

2010-10-18 Thread Haulyn R. Jason
Thanks Gareth I decide to vote symfony 2. I will feed back to mailing list in coding time. On Mon, Oct 18, 2010 at 6:25 PM, Gareth McCumskey wrote: > Thats what I meant by if the development time before going into production > for your app will fall after Symfony 2.0's official launch as a co

Re: [symfony-users] Symfony 1.4 or Symfony 2?

2010-10-18 Thread Gareth McCumskey
Thats what I meant by if the development time before going into production for your app will fall after Symfony 2.0's official launch as a complete product. The further from this launch date you expect your app to be ready the better as it will give the Symfony 2 developers the time to mature the p

Re: [symfony-users] Symfony 1.4 or Symfony 2?

2010-10-16 Thread Haulyn R. Jason
Symfony 2.0 does not have any production experience, but I'd prefer 2.0. Hard choice. On Fri, Oct 15, 2010 at 8:19 PM, Gareth McCumskey wrote: > I guess the only way to answer this is .. depends. If you expect your > project to be ready to go live for production use within the next couple of >

Re: [symfony-users] Symfony 1.4 or Symfony 2?

2010-10-15 Thread Gareth McCumskey
I guess the only way to answer this is .. depends. If you expect your project to be ready to go live for production use within the next couple of months, then you should use 1.4. Otherwise, if you expect the development time to be longer, say into next year, and you don't mind fixing things that ma

[symfony-users] Symfony 1.4 or Symfony 2?

2010-10-15 Thread Haulyn R. Jason
Hi, I am new to Symfony, I compare the two version symfony1.4 and symfony2.0 prefiew, I didn't find a way to upgrade symfony1.4 project to 2.0. But the official site says: 2.0 is not ready for production enviroment. At the moment, our project is on the way. We want to use 2.0, but I think I need

[symfony-users] [Symfony 1.4 + DC 1.2] column_aggregation.. change type programatically?

2010-09-28 Thread Gustavo Adrian
Hi there, Is there a way to change an object's type programatically? I mean, I have the "type" field on my form so I can change the type of the object. When it's a new object there's no problem but when I try to edit one, let's say a "Section" object, and I want to change it to a "Category" object

Re: [symfony-users] [symfony 1.4] checking permissions in layout.php to make links active or inactive

2010-09-25 Thread Michael Hodges
Thanks, that's exactly what I needed to know about. I'll spend time rereading helpers since it must be time for my second pass. Much appreciated. - Michael On Sat, Sep 25, 2010 at 12:41 PM, Wanderson wrote: > You could make use of link_to_if helper with $sf_user->hasPermission() > method. Take

Re: [symfony-users] [symfony 1.4] checking permissions in layout.php to make links active or inactive

2010-09-25 Thread Wanderson
You could make use of link_to_if helper with $sf_user->hasPermission() method. Take a look at them. 2010/9/25, Michael Hodges : > Hello all, > > My layout features a main menu of options, each option being a link. > Currently, a user clinks on a link and then permission logic determines if > the u

[symfony-users] [symfony 1.4] checking permissions in layout.php to make links active or inactive

2010-09-25 Thread Michael Hodges
Hello all, My layout features a main menu of options, each option being a link. Currently, a user clinks on a link and then permission logic determines if the user gets the page, or a security warning. I'd like to disable those links for which a user should not even bother clicking, essentially, t

[symfony-users] [Symfony 1.4] Column_aggregation + i18n. Base Translation forms inheritance problem

2010-09-24 Thread Gustavo Adrian
Hi, Suppose you have this schema: TextElement: actAs: I18n: fields: - title - short_description - content columns: title: type: string(255) notnull: true short_description: type: string(255) content: ty

Re: [symfony-users] [symfony 1.4] boolean custom field best practice

2010-09-09 Thread Marco Rocci
Il 09/09/2010 10.35, jota ha scritto: Have you tried to use the sfValidatorBoolean? It should conver 'on' to true Thanks. That works, and is much more cleaner. Marco Rocci -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You recei

Re: [symfony-users] [symfony 1.4] boolean custom field best practice

2010-09-09 Thread jota
Have you tried to use the sfValidatorBoolean? It should conver 'on' to true On Thu, Sep 9, 2010 at 10:04 AM, Marco Rocci wrote: > Hi, > > I needed a boolean custom field in an edit form. I added it to the > generator.yml, and I added the checkbox widget in the form configure > method. I also

[symfony-users] [symfony 1.4] boolean custom field best practice

2010-09-09 Thread Marco Rocci
Hi, I needed a boolean custom field in an edit form. I added it to the generator.yml, and I added the checkbox widget in the form configure method. I also added the getter and setter methods in the model. The one problem I did have is that changes in the checkbox were being ignored. I had to log

[symfony-users] [Symfony 1.4] Code example showing the use of sfValidatorFromDescription?

2010-09-06 Thread Gustavo Adrian
Hi everyone, Could you tell me where can I get a code example of the validator "sfValidatorFromDescription" on the Symfony Framework, or show me a little example of its use? I'm reading the API description of this class but I'd like to know how can I use it (and see if it's in fact what I'm lookin

[symfony-users] symfony 1.4 custom config

2010-09-03 Thread Michał Piotrowski
Hi, I want to create a custom config file. I have read http://stackoverflow.com/questions/2544553/how-to-create-a-custom-yaml-config-file-in-symfony Now I've got config/config_handlers.yml config/client.yml: class:sfDefineEnvironmentConfigHandler param: prefix: client_ config/client.

[symfony-users] Symfony 1.4 Doctrine BIG problem clob Oracle

2010-08-25 Thread Gabo
Hello Symfony -users I have Big problem with SYMFONY 1.4+ DOCTRINE AND fiels clob and blob: return Oracle-Clob-return-Resource-id-3 How do I get support symfony clob and blob fields? thanks! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-

[symfony-users] [Symfony 1.4] doSave never called on update?

2010-08-24 Thread Gustavo Adrian
Hi everyone, I have something like this for my schema: WebGenericElement: actAs: I18n: fields: [title] columns: title: type: string(255) notnull: true Product: inheritance: extends:WebGenericElement type: column_aggre

[symfony-users] [SYMFONY 1.4] sfDoctrineGuardPlugin: get a 401 response code on non GET unauthorized request?

2010-08-14 Thread Gustavo Adrian
Hi, I use sfDoctrineGuardPlugin for securing my apps. In my backend I use AJAX heavily. With a GET request, if the user session is gone, I get a 401 (unauthorized) response, so using Javascript I redirect the user to the login page correctly. But when a POST request occurs, it gives me a 200 (OK)

[symfony-users] Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-14 Thread Tom Boutell
We've committed a new CSS and JS minifier to the trunk of apostrophePlugin. It's possible to take advantage of this even if you don't need the rest of Apostrophe for your project. Apostrophe now has a built-in CSS and JS minifier, similar to sfCombinePlugin but up to date and easier to work with.

[symfony-users] [SYMFONY 1.4] Install plugins programmatically?

2010-08-11 Thread Gustavo Adrian
Hi! Quick question: Is there a way to install and enable a plugin from PHP? Thanks! -- 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

[symfony-users] [SYMFONY 1.4] Dealing with application / business transactions and concurrency issues. Ideas?

2010-08-05 Thread Gustavo Adrian
Hi, I guess this is topic was touched a lot of times but It would be great to see your thoughts and experiences about this. I started to develop an application that really needs to take care about concurrency issues. So I was thinking about creating a Doctrine behaviour for this that puts a coupl

Re: [symfony-users] [SYMFONY 1.4] Session timeout problem

2010-08-04 Thread Nibsirahsieu
yes.. i have the same problem too.. (i'm using sfGuardPlugin).. in my localhost.. it's work fine.. but in my production server, it's never get work On Thu, Aug 5, 2010 at 8:31 AM, Gustavo Adrian wrote: > Hi, > > I'm using sfDoctrineGuardPlugin. My backend session always ends after 5 or > 10 minut

[symfony-users] [SYMFONY 1.4] Session timeout problem

2010-08-04 Thread Gustavo Adrian
Hi, I'm using sfDoctrineGuardPlugin. My backend session always ends after 5 or 10 minutes if its idle. I've tried to change on factories.yml: *user:* *class: myUser* *param:* * timeout: 86400* And.. * storage:* *param:* * session_cookie_lifetime: 86400* But n

Re: [symfony-users] Symfony 1.4 and PayPal

2010-08-03 Thread Joshua Estes
You would need to create a custom module/action for your project, (suggest that you do this all as plugin for reuse with other projects you do) and then point the form action to the module/action, i.e.: url_for('module/action') - Joshua Estes -= Contact Me =- Google Voice: 567-482-0034 or JOSHUA-

[symfony-users] [Symfony 1.4 - Admin Generator] Problem with filters

2010-08-03 Thread florian périn
Hello, I wanted to change the type of my filters auto-generate with admin- generator, but when I did it, the filters didn't work anymore. For exemple, I change : //lib/filter/doctrine/BackendGammeFormFilter.class.php [...] 'nom' => new sfWidgetFormDoctrineChoice(array(

[symfony-users] Symfony 1.4 and PayPal

2010-08-02 Thread Diego Bello
Hi guys, I'm building an e-commerce site with Symfony 1.4. Right now I have the shopping cart and I want to do the payment with Paypal. I got the expresscheckout.php and paypalfunctions.php files but I don't know where to put them. So far, I have a cart in .../web/frontend.php/cart/show/id/1 and

[symfony-users] [SYMFONY 1.4] How to deploy on a subdirectory?

2010-07-30 Thread Gustavo Adrian
Hi all, This is a topic I've been avoiding for a long time but now I need to deploy my app on a subdirectory and there's no other option. IMPORTANTE: It's on a SHARED HOSTING. The app dir structure now is something like this: / /demos /myAppSymfonyFiles /app /cache /config /dat

[symfony-users] Symfony 1.4: Get current route name

2010-07-26 Thread Johannes Trommer
Hello, How can I get the current route name in the module's action? This is my route: powerplantsTypes: url: /type/:slug.html param: { module: powerplants, action: list } In the action i want the retrieve the route name 'powerplantsTypes'. Thanks in advance! -- If you want to report a vu

[symfony-users] [SYMFONY 1.4] Better way of setting default i18n messages for validators?

2010-07-26 Thread Gustavo Adrian
Hi, I've found a way to do this in the BaseForm class. I just set the default message of each validator on the "setup" method, like: // I use the __() function because I enabled the I18N helper by default sfValidatorBase::setDefaultMessage( 'required', __( 'Required field' ) ); sfValidatorIntege

Re: [symfony-users] Symfony 1.4/Doctrine 1.2: specifying initial autoincrement value in a schema yaml file

2010-07-25 Thread Jonathan Wage
Hi, Try using the command.pre_command event to execute the SQL before fixtures are loaded. http://www.symfony-project.org/reference/1_4/en/15-Events#chapter_15_sub_command_pre_command - Jon On Sun, Jul 25, 2010 at 7:33 PM, Michael Hodges wrote: > Hello all, > > Currently I manually set the aut

[symfony-users] Symfony 1.4/Doctrine 1.2: specifying initial autoincrement value in a schema yaml file

2010-07-25 Thread Michael Hodges
Hello all, Currently I manually set the autoincrement value for fields in MySQL before loading fixtures using SQL syntax such as ALTER TABLE `Student` AUTO_INCREMENT =1 Is there a way to specify the initial value for autoincremented fields in the schema yaml file so that I don't have to rememb

[symfony-users] [SYMFONY 1.4] using embedRelation the item is saved twice. How could I avoid this?

2010-07-20 Thread Gustavo Adrian
After a little research on Google for this topic I've found certain posts that talk about situations like this (but not the same) so I thought on posting this. I have a typical relation between two models, Item and Attachment, making a One-to-Many relationship. On my Attachment model I tried to en

[symfony-users] symfony 1.4 doctrine / m:m relations not working

2010-07-06 Thread Claudia
hi, I created a m:m relation from an "Artist" table to a genre "Tag" table and I want to select tags for the artist in the artist form. But I don't know how to get this working... schema.yml Artist: columns: artist_id: primary: true type: integer not

Re: [symfony-users] Symfony 1.4 Alias

2010-05-31 Thread Jonathan Wage
Put it in a web accessible folder under apache and open the url. - Jon On Mon, May 31, 2010 at 7:56 AM, RedQueen wrote: > On the main page of Symfony we can find a lot of guides. And it really > help but sometime it dont answer all questions. One of this question > is "What if I don't want any

[symfony-users] Symfony 1.4 Alias

2010-05-31 Thread RedQueen
On the main page of Symfony we can find a lot of guides. And it really help but sometime it dont answer all questions. One of this question is "What if I don't want any alias?". All tutorials explain we have to add few lines to apache config file to use the alias. But I dont want any alias... I jus

[symfony-users] Symfony 1.4 project with embedded forms, user data in embedded forms not being saved

2010-05-30 Thread Michael Hodges
Hello Symfony fans, I'm hoping someone can point to the error in my ways. I am working with embedded forms and the problem is that the master record is saved to the database, but not the user date for the detail records. I have followed the 'more with symphony 1.4 en' example very carefully and

Re: [symfony-users] Symfony 1.4 and AJAX helpers

2010-05-05 Thread Alessandro Massignan
Hi, > They have been removed, you cannot enable them. If you need similar > behavior, check the sfJqueryReloadedPlugin. > You can check the available helpers here: > http://www.symfony-project.org/api/1_4/helper Thanks for the suggestion, but in the meantime i found sfProtoculousPlugin that ports

Re: [symfony-users] Symfony 1.4 and AJAX helpers

2010-05-05 Thread Gábor Fási
They have been removed, you cannot enable them. If you need similar behavior, check the sfJqueryReloadedPlugin. You can check the available helpers here: http://www.symfony-project.org/api/1_4/helper On Wed, May 5, 2010 at 22:54, Alessandro Massignan wrote: > Hi all, > > do you know how could i e

[symfony-users] Symfony 1.4 and AJAX helpers

2010-05-05 Thread Alessandro Massignan
Hi all, do you know how could i enable AJAX helpers with Symfony 1.4? And what are available helpers (e.g. observe_field())? Cheers, ff -- 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 s

Re: [symfony-users] Symfony 1.4 - sfOutputEscaperObjectDecorator::__toString()

2010-04-24 Thread Tom Haskins-Vaughan
What's on your line /project/apps/manager/templates/layout.php on line 15? On Tue, Apr 20, 2010 at 2:24 AM, Dale Attree wrote: > Hi everyone, > > I downloaded Symfony 1.4.4 from SVN and did the setup as per the > tutorial. > > When I try to access any of my modules, I get the following: > > Fata

[symfony-users] Symfony 1.4 - sfOutputEscaperObjectDecorator::__toString()

2010-04-20 Thread Dale Attree
Hi everyone, I downloaded Symfony 1.4.4 from SVN and did the setup as per the tutorial. When I try to access any of my modules, I get the following: Fatal error: Method sfOutputEscaperObjectDecorator::__toString() must not throw an exception in /project/apps/manager/templates/layout.php on line

Re: [symfony-users] symfony 1.4 install

2010-04-17 Thread Gábor Fási
Change this to `Listen 8080` and try again (ie. remove the IP, only list the port). On Fri, Apr 16, 2010 at 18:29, Angel Robert Marquez wrote: > Listen 127.0.0.1:8080 -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

Re: [symfony-users] symfony 1.4 install

2010-04-16 Thread Angel Robert Marquez
Hi Gabor, Yes, I did check it and moved things around and was able to perfrom the install. BUT now I have a new issue. I set up the virtual host in the httpd.conf file and after restarting mysql and checking the url(s) *htttpd.conf file edited* /etc/httpd/conf/httpd.conf # Be sure to only have th

Re: [symfony-users] symfony 1.4 install

2010-04-16 Thread Gábor Fási
It means the file is not there. Did you check it? On Fri, Apr 16, 2010 at 04:33, Angel wrote: > When I run this command from the sfproject directory: > php lib/vendor/symfony/data/bin/symfony generate:project PROJECT_NAME > > I receive this error: > Could not open input file: lib/vendor/symfony/d

[symfony-users] symfony 1.4 install

2010-04-16 Thread Angel
When I run this command from the sfproject directory: php lib/vendor/symfony/data/bin/symfony generate:project PROJECT_NAME I receive this error: Could not open input file: lib/vendor/symfony/data/bin/symfony I performed this checkout: svn checkout http://svn.symfony-project.com/branches/1.4/ OS

Re: [symfony-users] symfony 1.4 Doctrine manytomany documentation

2010-04-10 Thread Daniel Lohse
fromArray() also handles related objects so you can define a 'Groups' index in your existing fromArray code and make that an array of the groups you want to create with the user. But you can also save the user and add groups after that. Cheers, Daniel Sent from my iPhone On Apr 10, 2010,

Re: [symfony-users] symfony 1.4 Doctrine manytomany documentation

2010-04-10 Thread Stéphane
$user->get('groups')->add($group); should work. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Sat, Apr 10, 2010 at 6:58 PM, trankh wrote: > Do you have an up-to-date documlentation for symfony 1.4

[symfony-users] symfony 1.4 Doctrine manytomany documentation

2010-04-10 Thread trankh
Do you have an up-to-date documlentation for symfony 1.4 and Doctrine. I want to do some unit tests with manytomany model but impossible to find the right syntax. I saw an interesting documentation here http://www.symfony-project.org/doctrine/1_2/en/06-Working-With-Data but it is not up to date and

[symfony-users] Symfony 1.4 Switching among multiple databases

2010-04-06 Thread MP
Hello all, I am developing an application with Symfony 1.4.0 . For this application I need a common database for all clients and then another database for each client. The common database is for the application configuration that is common for all clients, but then each clients have his own custom

Re: [symfony-users] symfony 1.4 -> 2.0

2010-03-23 Thread Gareth McCumskey
Not to mention that I also submitted this exact same question to this mailing list not too long ago and the shortened response was yes there will be a way to upgrade but it wont be as seamless as say 1.2 -> 1.3 and will require some additional work to transform the application, but the Symfony deve

Re: [symfony-users] symfony 1.4 -> 2.0

2010-03-21 Thread Bernhard Schussek
The same question has already been posted on the developer ML: http://groups.google.com/group/symfony-devs/browse_thread/thread/667915859bc378e5 Bernhard -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message becau

[symfony-users] symfony 1.4 -> 2.0

2010-03-21 Thread miura
hello guys... you probably see this one coming and I know a lot of people want to know the answer of these questions how easy it will be to upgrade from 1.4 to 2.0 once it is ready? I've been reading the mail list for some time... it looks like starting a new project on 2.0 is bad decision

[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] symfony 1.4 UML Diagram

2010-02-20 Thread Juan Guillermo Garcia
Does anyone have any UML diagrams of Symfony internals? It would be very helpful. Best Regards -- 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

[symfony-users] Symfony 1.4, doctrine 1.2 and the method embedRelation with many to many relation and admin generator

2010-01-10 Thread Fabrizio
Hi, in a similar way as described in "Advanced forms", I used the method embedRelation to edit a form build with admin generator that embed e many to many relation. But this method does not create the buttons to delete embedded records. What is the best way to add this feature? -- You received th

Re: [symfony-users] symfony 1.4 installation

2010-01-07 Thread Nathan
It's actually quite easy if you have svn. I always install Symfony to /usr/local/share/symfony/VERSION. And I create symlinks in the /usr/local/bin to the symfony script with a meaningful name like sf1.3, sf1.4. It's as easy as: sudo mkdir /usr/local/share/symfony cd /usr/local/share/symfony sudo

Re: [symfony-users] symfony 1.4 installation

2010-01-06 Thread Stéphane
And replace, in your $project/config/projectConfiguration.class.php the first requires which reference your other sf version. Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Jan 6, 2010 at 7:27 PM, Gábor

Re: [symfony-users] symfony 1.4 installation

2010-01-06 Thread Gábor Fási
You can also download the zip/tgz archive from the website, and extract it to your project's lib/vendor/symfony folder. On Wed, Jan 6, 2010 at 11:41, karansoni wrote: > i am using Ubuntu Linux 9.10 and i have installed symfony1.2.9 on it > through pear . > > is there any phenomenon through which

[symfony-users] symfony 1.4 installation

2010-01-06 Thread karansoni
i am using Ubuntu Linux 9.10 and i have installed symfony1.2.9 on it through pear . is there any phenomenon through which i can install the both versions symfony 1.2.9 and 1.4 on my linux though PEAR don't support two instalations then Do i have to install 1.4 through SVN??? I want to keep both v

Re: [symfony-users] symfony 1.4 install plugin

2009-12-27 Thread vincent Cassé
Hello Vincent, Did you have pear installed ? You use XAMPP ? What is the directory of XAMPP or apache and php ? Look php.ini file if "pear" is written and look if the directory is true. I'm sorry with my english ... I'm French ! :) Merry Christmas 2009/12/25 Vincent UNG > > Hello > I have a

[symfony-users] symfony 1.4 install plugin

2009-12-25 Thread Vincent UNG
Hello I have a problem with installing a plugin in symfony 1.4 With "php symfony plugin:install sfFormExtraPlugin" I have this error : Failed to opening required 'PEAR.php' 'include_path=';C:\php\pear'). And I don't have any folder php in C:\ or pear. Someone can help me please ? Thanks -- You

Re: [symfony-users] Symfony 1.4 url_for() no controller!

2009-12-14 Thread Gábor Fási
Settings.yml, no_script_name should be false. http://www.symfony-project.org/book/1_2/09-Links-and-the-Routing-System#chapter_09_url_rewriting On Tue, Dec 15, 2009 at 04:05, Jean-Philippe Caissy wrote: > Hi, > > I am starting a new project and decided to give 1.4 a chance. > I have two apps, fro

[symfony-users] Symfony 1.4 url_for() no controller ..?

2009-12-14 Thread jpcai...@piji.ca
Hi, I am starting a new project and decided to give 1.4 a chance. I have two apps, frontend (first one created, so using index.php) and account. When trying to display an URL with url_for() inside the account app, it does not include the controller. It gives: http://localhost/auto/login/do

[symfony-users] Symfony 1.4 url_for() no controller!

2009-12-14 Thread Jean-Philippe Caissy
Hi, I am starting a new project and decided to give 1.4 a chance. I have two apps, frontend (first one created, so using index.php) and account. When trying to display an URL with url_for() inside the account app, it does not include the controller. It gives: > http://localhost/auto/login/do > >

Re: [symfony-users] symfony 1.4 doctrine: few plugins :(

2009-12-11 Thread Stéphane
If it doesn't install using plugin:install from cli, then install them manually : download package, unpack it in project/plugins dir and register plugin in the project/config/ProjectConfiguration.class.php using ::enablePlugins() then do a project:validate to see what need to get changed (at best)

Re: [symfony-users] symfony 1.4 doctrine: few plugins :(

2009-12-11 Thread Gábor Fási
Plugins usually take some time to get updated for new versions. Just be patient. On Fri, Dec 11, 2009 at 19:37, Roland Cruse wrote: > Hi > > I am starting a new installation and am trying to decide between > propel and doctrine. It seems doctrine will become symfony's default > orm and symfony 2.

[symfony-users] symfony 1.4 doctrine: few plugins :(

2009-12-11 Thread Roland Cruse
Hi I am starting a new installation and am trying to decide between propel and doctrine. It seems doctrine will become symfony's default orm and symfony 2.0 will drop propel. Plus the symfony installation page recommends symfony 1.4 for new installations. But! Where are the doctrine plugins? On t

[symfony-users] Symfony 1.4 : Best practice to decorate the layout from a plugin

2009-12-09 Thread Sylvain - Com-Océan
Hi, I have a plugin which permit to have a general header, menu & footer for backend like sfAdminDashPlugin. Until today, I have to modify the layout file to add : > > > include_partial('sfMyAdmin/header'); > echo $sf_content; > include_partial('sfMyAdmin/footer')

[symfony-users] symfony 1.4 unable to create M:N relationship

2009-11-30 Thread roy master
Hello, I can't create tables for M:N relationship in symfony 1.4. What am I doing wrong? It should be relation between products and categories in an e-shop. (I first made symfony doctrine:build-schema and only slightly modified it to achieve foreign key creation. Without success :( ) schema.yml

[symfony-users] Symfony 1.4

2009-11-10 Thread Sid Bachtiar
Hi, I want to use 1.4 but I can not find the branch in the SVN? From reading around seems it is just 1.3 minus deprecated features, so where can I read the list of deprecated features? Cheers, Sid -- Blue Horn Ltd - System Development http://bluehorn.co.nz --~--~-~--~~