Re: [symfony-users] Re: front end product gallery

2010-10-18 Thread Alan Bem
Use sfImageTransformExtraPlugin - it is very easy to use, customizable plugin, that requires almost nothing to make it work (transparently). 2010/10/17 xpanshun srhen...@gmail.com How would I call to this class from my indexSuccess.php to get the images to resize as they are displayed? *See

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

[symfony-users] Re: Countries and their Continents?

2010-10-18 Thread Felix E. Klee
On Fri, Oct 15, 2010 at 7:03 PM, Felix E. Klee felix.k...@inka.de wrote: My idea, so far, is to feed the first two columns of the following list in the MySQL database associated with the app:  url:http://en.wikipedia.org/wiki/List_of_soveriegn_states_and_depende  

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 gmccums...@gmail.comwrote: Thats what I meant by if the development time before going into production for your app will fall after Symfony 2.0's

[symfony-users] Blob __toString problem

2010-10-18 Thread Pavel Pecheny
Hello, everyone i have an error: Unable to escape value NULL. when i retreiving blob data feild $table1s-getDescription();... my schema.yml table1: columns: name: type: string description: type: blob Yesterday it worked fine. i use symfony 1.4.8.

[symfony-users] Re: sfTeraWurfl

2010-10-18 Thread qp
I did manage to get rid of the message by turning off error reporting just before execution of the code segment: i.e: error_reporting(0); if($this-dbcon-more_results()){ . } Am not sure this is the best approachI still need to hear on related experiences. On Oct 18, 6:24 pm, qp

[symfony-users] [admin generator] - Custom message on object creation

2010-10-18 Thread ruigoncalves
Hi! I am currently using symfony admin generator in order to create a backend administration module for a project. I would like to know how can I custom the displayed message to the user when an object of a certain class is successfully created. I know that I must add some logic/override the

[symfony-users] Re: front end product gallery

2010-10-18 Thread Richtermeister
I'm using the sfImageTransformPlugin in conjunction with the helpers below: /** * Get the path of a generated thumbnail for any given image * * @param string $source * @param int $width * @param int $height * @param boolean $absolute * @return string */ function thumbnail_path($source,

Re: [symfony-users] Re: front end product gallery

2010-10-18 Thread Alan Bem
@richtermeister, you really should look into sfImageTransformExtraPlugin 2010/10/18 Richtermeister nex...@gmail.com I'm using the sfImageTransformPlugin in conjunction with the helpers below: /**  * Get the path of a generated thumbnail for any given image  *  * @param string $source  *

Re: [symfony-users] Clear cache in action

2010-10-18 Thread Sela Yair
i couldn't find the sfClearCachTask, is it Symfony 1.4 or 2.0? I used instead a snippet. http://snippets.symfony-project.org/snippet/363 On 12 October 2010 09:39, Pierre-Yves LEBECQ py.leb...@gmail.com wrote: Did you try to instanciate the sfClearCacheTask and run it ? I see no reason for

[symfony-users] perform symfony task function in module action

2010-10-18 Thread Joshua
I'm using Symfony's Tasks to run cronjobs at periodic times. There is a need to perform the same functions manually in the admin application. Looking for suggestions how to do this properly. Obviously, I would prefer not to have duplicate code, one in the Task class and one in the Action class.

[symfony-users] $_GET['variable'] after post

2010-10-18 Thread Parijat Kalia
Hello people... Not sure I am grasping this here, but it is php related and not HTML related. I have a web template, that retrieves a parameter from the URL, essentially, it goes something like this... module/phpPage?qId=138; based on this id, certain SQL queries are executed in the action

[symfony-users] DI factory

2010-10-18 Thread Daniel
Hello, lady and gentlemans! I have some problems with configure this code: class Container extends sfServiceContainer { ... protected function getAclService() { if (isset($this-shared['acl'])) return $this-shared['acl']; $factory = new Acl_AclFactory($this-db); $instance =

[symfony-users] sobre el error con la base de datos mysql

2010-10-18 Thread UCI
cuando genero php symfony doctrine:insert-sql me da este error como puedo arreglarlo PDO Connection Error: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO) Help Me... -- If you want to report a vulnerability issue on symfony, please send it to security

Re: [symfony-users] sobre el error con la base de datos mysql

2010-10-18 Thread Gustavo Adrian
Configuraste la conexion a la base de datos? estas intentando acceder con el usuario root y sin clave. Verifica si esto es correcto en el archivo 'config/databases.yml' On Mon, Oct 18, 2010 at 10:14 PM, UCI rfvillavicen...@cav.uci.cu wrote: cuando genero php symfony doctrine:insert-sql me da

[symfony-users] ayudenme

2010-10-18 Thread rfvillavicencio
Tengo el siguiente problema, cuando genero php symfony doctrine:insert-sql me da este error: PDO Connection Error: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO) Este es my archivo databases.yml: all: doctrine: class: sfDoctrineDatabase param:

Re: [symfony-users] ayudenme

2010-10-18 Thread Gabo
Hola, Intenta no colocando las comillas simples. Intenta hacer la conexion por algun cliente web o de windows y no desde doctrine como (phpmyadmin) . www.*phpmyadmin*.net/ On Mon, Oct 18, 2010 at 9:30 PM, rfvillavicen...@cav.uci.cu wrote: Tengo el siguiente problema, cuando genero php