[symfony-users][beta4] in twig, asset css files fails with app.php but works with app_dev.php

2011-06-17 Thread Benjamin RICHARD
it fails : main.css return a 404 file not found What's wrong ? -- Benjamin RICHARD -- 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"

[symfony-users][beta4] How to generate a link to a file (zip/doc...) ?

2011-06-17 Thread Benjamin RICHARD
y. Thanks -- Benjamin RICHARD -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users

[symfony-users] Re: Deleting Embedded Form Objects

2011-04-21 Thread Richard
I have re-factored slightly, but still no luck. I don't understand how a new image object is trying being created, when I am trying to remove an existing image object. R getOption('business_account')) { throw new InvalidArgumentException('You must provide a business account object.'

[symfony-users] Deleting Embedded Form Objects

2011-04-21 Thread Richard
. If I delete the line that calls Doctrine_Core::...delete(), the problem goes away. Can anyone see where I am going wrong? Thanks all, Richard Code is below: -- Image Group Form: -- class ImageCollectionGroupForm extends ImageGroupForm { protected $scheduleForDeletion; public function

[symfony-users] [Symfony2] in the wild

2011-04-06 Thread Richard D Shank
regional coverage. http://www.icontact-archive.com/EgL5tWDi-1X687UHv-EMrLbgErmQb-1a?w=1 (scroll down to OBRA Cool) Richard -- 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

[symfony-users] [Symfony 2] - Dependency Injection Component - documentation?

2011-02-24 Thread Richard Fullmer
x27;m stumbling around in the dark right now. Is there a place where the documentation for Symfony 2 DIC exists? Or if not, is there a roadmap for them? Thanks, - Richard -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You re

Re: [symfony-users] Re: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-27 Thread Richard D Shank
ifferent way. The product has to know what it should do with itself so this can also be defined and of course there will be standard workflows set up for different product types Thanks for the feedback Richard -- If you want to report a vulnerability issue on symfony, please send it to s

Re: [symfony-users] Re: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-27 Thread Richard D Shank
cking what you have. Thanks for the response Richard -- 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 gro

Re: [symfony-users] Re: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-27 Thread Richard D Shank
that I would be happy to contribute. I'm very interested in seeing what you have done with this. Thanks for all the feedback Richard -- 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 subscri

[symfony-users] [Symfony2][Best Practice]Model

2010-11-14 Thread Richard D Shank
There has been some discussion about where the best place is to put interfaces, base classes and models not requiring an ORM or ODM. In the DoctrineUserBundle, these have be put in the Model folder. I would like to propose using the Model folder for that purpose as a best practice. Richard

Re: [symfony-users] [Symfony 2] General Questions

2010-11-05 Thread Richard D Shank
hallenging at times, but, personally, I think it has been worth it. Richard On 11/05/2010 08:17 AM, Gustavo Adrian wrote: Yes. I'm going to start two big projects at work that are going to be products, not just one time apps. So I want to use the latest version of Symfony because I plan t

Re: [symfony-users] Symfony 2 - Pulling the pieces together

2010-09-20 Thread Richard D Shank
On 09/19/2010 06:21 AM, Donald Tyler wrote: Thanks for the info Richard. I am very familiar with MVC. My question was more specifically on how Symfony 2 is structured to support MVC. I could easily start right now and build a site using my own assumptions, but some best practice advice is

Re: [symfony-users] Re: Symfony2PR3: Call to undefined method helloDevDebugProjectContainer::getService

2010-09-18 Thread Richard D Shank
I think you'll need to have your table name and maybe some other info, I don't remember off hand. Here is more info about doctrine2 http://www.doctrine-project.org/projects/orm/2.0/docs/reference/en Specifically read the Annotations Reference chapter. Richard On 09/18/2010 12:23

Re: [symfony-users] Re: Symfony2PR3: Call to undefined method helloDevDebugProjectContainer::getService

2010-09-18 Thread Richard D Shank
e with the ~ProjectContainer.php file. Look in the getDefaultParameters() method to see all of the wonderful things that are available in the container. Richard On 09/18/2010 11:10 AM, Dennis Jacobfeuerborn wrote: I'm not sure I understand what you are trying to say. I basically try to get this exam

Re: [symfony-users] Re: [Symfony2 - Sandbox PR3] Symfony2/Doctrine2 problem repository

2010-09-18 Thread Richard D Shank
en in translating the documentation (ok it is a hoax:)) So I added in my file xxx.dcm.xml this option: And control doctrine: generate: repositories works well! it can be used to other ... On 18 sep, 18:28, Richard D Shank wrote: Try capitalizing @entity (@Entity) On 09/18/2010 08:41 AM, spik

Re: [symfony-users] Symfony 2 - Pulling the pieces together

2010-09-18 Thread Richard D Shank
Right now, the best thing to do is to look at other people's work. Head over to http://symfony2bundles.org/ and look at some of the projects. On 09/17/2010 05:31 AM, Donald Tyler wrote: One thing I've noticed with the documentation (unless I'm just missing it), is that there seems to be docume

Re: [symfony-users] [Symfony2 - Sandbox PR3] Symfony2/Doctrine2 problem repository

2010-09-18 Thread Richard D Shank
Try capitalizing @entity (@Entity) On 09/18/2010 08:41 AM, spike3111 wrote: I try to set up a simple custom repository, looking at the documentation doctrine2. I first tried the command doctrine:generate:repositories, which does not make mistakes, but that does not work either. So I created a cl

Re: [symfony-users] [Symfony2] Manually doing SQL

2010-09-08 Thread Richard D Shank
ve development time. Richard On 09/08/2010 04:47 PM, Alexandre Salomé wrote: It's not a bad idea, and can be justified in some cases. Doctrine was separated in 2 parts in the version 2 : ORM and DBAL. ORM provides mapping Object - Database. DBAL provides abstraction for SQL querying. Have a

Re: [symfony-users] Symfony Installation in Godaddy hosting

2010-08-06 Thread Richard D Shank
It may be 4.4.9 on cli but 5.2.08 on the server (I think that is version on a client of mine). Still a little behind, but it should be available On 08/05/2010 10:08 PM, Md Mostafizur Rahman milon wrote: dear Symfony user i am new in Symfony framework. i have a hosting account in Godaddy Li

[symfony-users] Re: schema.sql not built

2010-07-18 Thread Richard Zulu
in /home/zulu/sfprojects/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelInsertSqlTask.class.php on line 129 which is this: return !$ret; Still no sql tables and models -- Richard Zulu Managing Director Time Information Company P.O Box 31842 Clock Tower Kampala, Uganda www.t

[symfony-users] schema.sql not built

2010-07-18 Thread Richard Zulu
d-schema-transformed.xml then after this i cannot find my schema.sql file Anyone know why -- Richard Zulu Managing Director Time Information Company P.O Box 31842 Clock Tower Kampala, Uganda www.time.co.ug -- If you want to report a vulnerability issue on symfony, please send it to sec

Re: [symfony-users] IF() in Propel query

2010-07-18 Thread Richard Zulu
d-schema-transformed.xml then after this i cannot find my schema.sql file Anyone know why -- Richard Zulu Managing Director Time Information Company P.O Box 31842 Clock Tower Kampala, Uganda www.time.co.ug -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Symfony2 / twig assets

2010-07-14 Thread Richard Bateman
working? Same problem with javascripts and stylesheets. I've tried asking on the #symfony irc channel, but I guess none of the symfony2 devs hang out there, 'cause nobody answers. Thanks, Richard smime.p7s Description: S/MIME cryptographic signature

Re: [symfony-users] Symfony2 comments and questions

2010-07-11 Thread Richard D Shank
On 07/11/2010 06:53 AM, Alan Bem wrote: +1 on GuardBundle/SecurityBundle :) \ There is a version started already http://symfony2bundles.org/knplabs/DoctrineUserBundle -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received th

Re: [symfony-users] Re: Symfony2 PR3

2010-07-09 Thread Richard D Shank
ooking and contributing to the project :). From what you stated above, I don't need to convince you that S2 is the better choice over Cake. I just want to shed a different light on things from someone who made the decision to go with S2, over 1.4 and initially Cake. Richard -- If you want

Re: [symfony-users] Re: integrating galleria into symfony 1.4

2010-06-16 Thread Richard D Shank
Good to hear you got it figured out. Thanks for the update. Richard On 06/16/2010 04:00 AM, el-sid wrote: It finally worked...firebug was a big help. turns out the hunch i had was right. Galleria.loadTheme('/js/galleria/themes/galleria.classic.js'); was the problem since it was r

Re: [symfony-users] Re: integrating galleria into symfony 1.4

2010-06-15 Thread Richard D Shank
sing firebug? The other thing, that is obvious, but easy to overlook, are you sure the js files are where they are supposed to be. On Jun 15, 10:40 pm, Richard D Shank wrote: On 06/15/2010 12:09 PM, el-sid wrote: thanks for reply, i took your advice and put the

Re: [symfony-users] Re: integrating galleria into symfony 1.4

2010-06-15 Thread Richard D Shank
lassic.js'); or where ever it is located for you On Jun 15, 9:17 pm, Richard D Shank wrote: I would probably do this on index instead of show. Also, your code to create the gallery should be getImage()) ?> Disable the the script to see if the imag

Re: [symfony-users] integrating galleria into symfony 1.4

2010-06-15 Thread Richard D Shank
I would probably do this on index instead of show. Also, your code to create the gallery should be getImage()) ?> Disable the the script to see if the images are actually loading on the page. On 06/15/2010 10:18 AM, el-sid wrote: hi all, i am trying to integrate t

Re: [symfony-users] Common interfaces for shipping, tax and payments

2010-06-03 Thread Richard D Shank
On 06/03/2010 11:18 AM, Tom Haskins-Vaughan wrote: Hi All, We have a US ecommerce site at that we are looking to take into Canada. Since we will in all likelihood move to more countries, we want to refactor the payment, tax and shipping code to use common interface for each. So that when we move

Re: [symfony-users] Re: shopping cart?

2010-05-31 Thread Richard D Shank
I'm getting ready to start building a store for a music site. It will only be virtual products for now (mp3 downloads), but it will have some of the elements you are needing. Right now, I plan on building it using the work from sfShop. I don't know what your time frame is for needing it, but

Re: [symfony-users] Hey guys... transactions??

2010-05-16 Thread Richard U
perhaps the presence of the > truncate table command is causing the transaction to be ignored. > If the tables are innodb type, try moving the truncate test command to just > above the beginTransaction and see what that does. > ____ > From: Ric

[symfony-users] Hey guys... transactions??

2010-05-16 Thread Richard U
Hey guys... based on my understand about transactions in symfony the following should not result in the data in the table been modified... however it is... any ideas as to what i am doing wrong...?? $cdb_connection = Propel::getConnection('cdb'); $cdb_connection->be

Re: [symfony-users] Functions other than executeActionXXX()

2010-04-26 Thread Richard D Shank
he hows and why of Symfony. Richard > executeActionXXX() > { > $var = functionXX(); > > } > > executeActionYYY() > { $var = functionXX(); } > Thanks and regards, > > parijat kalia > > > -- > If you want to report a vulnerability issue on symfony,

Re: [symfony-users] How to access generator.yml variables in view ?

2010-04-23 Thread Richard U
sfConfig::get On Fri, Apr 23, 2010 at 10:30 AM, John wrote: > Hi, > > I'm trying to access the list title and put it in the view. The > variable is in generator.yml. > >    config: >      actions: ~ >      fields:  ~ >      list: >        title: My events > > I'd like to put the title in my layou

Re: [symfony-users] Re: sfGridPlugin, Propel/Doctrine-DataSources, ObjectPaths and JavaScript (ExtJS) extensions

2010-04-14 Thread Richard U
Sorry, I am referring to the sfPropelObjectPathBehaviorPlugin On Thu, Apr 15, 2010 at 12:04 PM, Richard U wrote: > How is the sfDataSource different from dbFinder? > > On Wed, Apr 14, 2010 at 8:52 AM, Leon van der Ree > wrote: >> Hi All, >> >> today I have added t

Re: [symfony-users] Re: sfGridPlugin, Propel/Doctrine-DataSources, ObjectPaths and JavaScript (ExtJS) extensions

2010-04-14 Thread Richard U
How is the sfDataSource different from dbFinder? On Wed, Apr 14, 2010 at 8:52 AM, Leon van der Ree wrote: > Hi All, > > today I have added the start of routing-engine for grids. > > DigitalBase has provided a redmine issue-tracker for us at > https://symfony.digitalbase.eu/ > This way we can repo

Re: [symfony-users] symfony 1.2 db connections timing out

2010-04-14 Thread Richard U
Thanks Tom I found a way of doing this... by killing the dead connection and creating a new one... Propel::close(); // kill existing $connection_cdb = Propel::getConnection(); // create new On Wed, Apr 14, 2010 at 10:16 PM, Tom Haskins-Vaughan wrote: > I think I came across this after t

Re: [symfony-users] Time schedule of an action

2010-04-12 Thread Richard U
I would put the action in a task... and then setup a cron for it... On Mon, Apr 12, 2010 at 5:21 PM, Dss wrote: > > Hello dear all! > Is there a way to make a Symfony 1.4 action of a module to occur in a > time schedule? I am running linux OS behind. > Many thanks for the support! > Take care! >

Re: [symfony-users] Re: memory leaks... just keep on leaking

2010-04-12 Thread Richard U
ifying the user when their file has been > processed. If anything bad happens when processing the file the cron > job would notify the user and/or the web developer. > > cheers, > > Tony. > > On Apr 12, 1:32 pm, Richard U wrote: >> Ok guys... thanks for your patience wit

Re: [symfony-users] Re: memory leaks... just keep on leaking

2010-04-12 Thread Richard U
t parameter, so processing a file with 1 1000 records at time would mean 10 page refreshes... Anyway if anyone gets a chance let me know what you think about this... Regards Richard Btw... to anyone who i offended earlier... my deepest apologies... sometimes frustration gets the better of me.

Re: [symfony-users] Re: memory leaks... just keep on leaking

2010-04-12 Thread Richard U
Thanks Dennis, awesome feedback! On Mon, Apr 12, 2010 at 5:53 PM, Richard U wrote: > Dennis thats the function if you want to have a look at it... > >        public function executeIndex(sfWebRequest $request) { > >                ini_set('memory_limit','512M'

Re: [symfony-users] Re: memory leaks... just keep on leaking

2010-04-12 Thread Richard U
setFlash('error', var_export($e, true), false); } } } // Remove the uploaded file if (isset($save_to) && strlen($save_to) && file_exists($save_to)) {

Re: [symfony-users] Re: memory leaks... just keep on leaking

2010-04-12 Thread Richard U
your last mail. Investing maybe 30 minutes to write >> an email that desribes the problem you have, what part of your code >> suffers from it and the data you're using will most likely keep you >> away from writing 5 or more emails desribing everything. Plus it will >>

Re: [symfony-users] Re: memory leaks... just keep on leaking

2010-04-12 Thread Richard U
Dennis... create a simple loop of approx 10,000 iterations and create a criteria inside the loop... and echo the php's memory usage... I this the issue is quite obvious... On Mon, Apr 12, 2010 at 4:33 PM, Richard U wrote: > I am uploading a csv file.. > i require looping ov

Re: [symfony-users] Re: memory leaks... just keep on leaking

2010-04-11 Thread Richard U
I am uploading a csv file.. i require looping over each row... the data in each column has to be processed individually and allocated to the right table... On Mon, Apr 12, 2010 at 3:56 PM, Dennis Benkert wrote: > Although I am pretty sure you are frustrated there is no reason to show > dis