[symfony-users] Re: dev x prod enviroment

2007-11-22 Thread g0d br
when i click the link to download it shows 404 not found page File: getFileId()) ?> Not Found The requested URL /download/system/arq/1195653085.pdf was not found on this server. -- Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 Server at intranet.projetos Port 80 thanks

[symfony-users] Re: dev x prod enviroment

2007-11-22 Thread g0d br
i just found out that if i get the link result from File: getFileId()) ?> and change download/system/arq/1195653085.pdf to download/system?arq= 1195653085.pdf it works why rounting is not working for this module ? 2007/11/22, g0d br <[EMAIL PROTECTED]>: > > when i click the link to download it

[symfony-users] required PHP5 version?

2007-11-22 Thread Lee Bolding
Hi All, I've just been setting up a new Symfony environment on a FC4 machine, and noticed that the FC4 shipped version of PHP5 (5.0.4) isn't high enough for Symfony (1.0.8) to run - Symfony seems to need at least 5.1.0 as Pake uses the date_default_timezone_set function which wasn't introduced un

[symfony-users] Re: dev x prod enviroment

2007-11-22 Thread Kiril Angov
Because the .htaccess files does not pass requests with file extension (.txt, .pdf, .etc). Look at the .htaccess file for details but you need to set up special case in your .htaccess file to also pass .pdf to to index.php Kupo g0d br wrote: > i just found out that if i get the link result fr

[symfony-users] Re: required PHP5 version?

2007-11-22 Thread Pierre
On Nov 22, 2007 1:00 PM, Lee Bolding <[EMAIL PROTECTED]> wrote: > > Hi All, > > I've just been setting up a new Symfony environment on a FC4 machine, and > noticed that the FC4 shipped version of PHP5 (5.0.4) isn't high enough for > Symfony (1.0.8) to run - Symfony seems to need at least 5.1.0 as

[symfony-users] Re: dev x prod enviroment

2007-11-22 Thread g0d br
Kiril, you right thats the problem, but i dont known much about .htaccess file so i did this: File: 'arq='.$sy->getFileId()) ?> thank you 2007/11/22, Kiril Angov <[EMAIL PROTECTED]>: > > > Because the .htaccess files does not pass requests with file extension > (.txt, .pdf, .etc). Look at the

[symfony-users] Re: How to get sfPropel13Plugin working after Rev804 (Nov 14, 01:52am)

2007-11-22 Thread Simon Roby
A new changeset [2] seems to be related to the problem, but still doesn't fix it (not for me, at least). I get the following error when regenerating my model: --- Fatal error: require_once(): Failed opening required 'propel/engine/builder/om/php5/PHP5ComplexObjectBuilder.php' (include_path='/usr/s

[symfony-users] Re: Smart migrations generator in Symfony + Doctrine

2007-11-22 Thread Lukas Kahwe Smith
Hi, I dont have time to check your concerns in detail atm. I am planning on putting a fair amount of work into Doctrine Migrations towards the end of the year. See my game plan on my blog [1]. regards, Lukas [1] http://pooteeweet.org/blog/918 --~--~-~--~~~---~--

[symfony-users] Smart migrations generator in Symfony + Doctrine

2007-11-22 Thread Wicked
Hello all. Doctrine is a great ORM, but I have some doubts if I can say the same about it's migrations... First of all I would like to say that current migrations generator for Doctrine is completely unusable, or I'm getting things wrong... Whatever I generate them I always get a migrations that

[symfony-users] Modelos de Cartas Comerciais - como escrever

2007-11-22 Thread Paula
Todos os tipos de Cartas Comerciais Modelos de documentos comerciais, carta comercial cartas modelo. tipos de cartas comerciais modelos prontos. Visite agora: http://www.modelosdecartascomerciais.com Cartas Comerciais elaborados com criatividade e conhecimento, convites contratos propostas,aviso

[symfony-users] best practices for a symfony roll out

2007-11-22 Thread Wang David
What's the best practice for rolling out a symfony release on a multiple server environment? On the base server ive written a script that called symfony to rsync to each server. After its been deployed to each server i execute a shell script on each box that brings the server down and then

[symfony-users] Re: best practices for a symfony roll out

2007-11-22 Thread Alexey Kupershtokh
I have no experience with deploying to multiple servers, but it's clear even to me that you should run disable app before you run rsync. So I suggest this scheme: 1) server1 disable app, server 2 disable app, etc. 2) rsync to server1, server2, etc 3) run migrations if any 4) server1 enable app,

[symfony-users] Re: Smart migrations generator in Symfony + Doctrine

2007-11-22 Thread Wicked
Lukas, yeah, that's would be a great start to create a diff tool for schema files. But have you also thought about how people will use the tool for generating migrations in their project? One of concerns for me is that in symfony you have only one model file and there's nothing to compare it with.

[symfony-users] Re: Smart migrations generator in Symfony + Doctrine

2007-11-22 Thread Lukas Kahwe Smith
On 22.11.2007, at 18:57, Wicked wrote: > > Lukas, yeah, that's would be a great start to create a diff tool for > schema files. But have you also thought about how people will use the > tool for generating migrations in their project? One of concerns for > me is that in symfony you have only one

[symfony-users] Re: best practices for a symfony roll out

2007-11-22 Thread Pete Connolly
On Thursday 22 November 2007 17:29:06 Wang David wrote: > What's the best practice for rolling out a symfony release on a > multiple server environment? > > On the base server ive written a script that called symfony to rsync > to each server. > > After its been deployed to each server i execute a

[symfony-users] sfjqueryplugin and javascript_include_tag

2007-11-22 Thread Ámon Tamás
Hello, I like to use the jQuery with my own javascript file. I like to use it with the sfJqueryPlugin. I putted the jQuery to the settings.yml in standard_helpers line. After in my template I put the next line: But in the html source my script is previous to the jquery line How can I cha

[symfony-users] observe_field to update several fields

2007-11-22 Thread Jorge Laranjo
I've got 3 fields select_tag What I want is to be able to update using AJAX one fields when this values change (of the 3 other fields). Basically I want to sum all the 3 fields and update the 4th field. My AJAX request is like this 'priceM', 'url' => 'produto/price', 'wi

[symfony-users] Re: observe_field to update several fields

2007-11-22 Thread Jorge Laranjo
I just solved this issue by using the observe_form() helper http://www.symfony-project.org/forum/index.php/m/6176/ On 2007/11/22, at 19:34, Jorge Laranjo wrote: > I've got 3 fields select_tag > What I want is to be able to update using AJAX one fields when this > values change (of the 3 other

[symfony-users] Re: [symfony-devs] observe_field to update several fields

2007-11-22 Thread Ian P. Christian
Jorge Laranjo wrote: > I've got 3 fields select_tag > What I want is to be able to update using AJAX one fields when this > values change (of the 3 other fields). Basically I want to sum all the 3 > fields and update the 4th field. Please do not cross post between mailing lists for things like th

[symfony-users] Load fixtures and force id

2007-11-22 Thread Raphael
Hello, I'm using the fixture facility of symfony (this is really helpfull !) But I can't manage to force the Ids of my objects. The id is autoincrement I know, but at least I would like smyfony to reinit counters of the database before each load. Any idea ? Thanks in advance, Raphael --~--~--

[symfony-users] Re: Smart migrations generator in Symfony + Doctrine

2007-11-22 Thread Wicked
> I can just make a backup copy under a new name when I run the tool to > create a diff. That way I have the copy available for the next run of > the script. Ok, I see your standpoint. And it doesn't look like a correct way for me. What I'm thinking is that using migrations should satisfy followi

[symfony-users] Re: Smart migrations generator in Symfony + Doctrine

2007-11-22 Thread Lukas Kahwe Smith
On 22.11.2007, at 21:46, Wicked wrote: > >> I can just make a backup copy under a new name when I run the tool to >> create a diff. That way I have the copy available for the next run of >> the script. > > Ok, I see your standpoint. And it doesn't look like a correct way for > me. > What I'm thi

[symfony-users] Re: Smart migrations generator in Symfony + Doctrine

2007-11-22 Thread Jonathan Wage
I have thought about this when I initially wrote the migrations code in Doctrine and I think the way I was going to implement it was to make changes to your models/schema then we use Doctrine to generate the models/schema from the current existing database. Then we will write some code which will c

[symfony-users] Re: sfjqueryplugin and javascript_include_tag

2007-11-22 Thread Bayarsaikhan [Singleton LLC]
do not use JQuery as a standart helpers. Just include it under your emain line. On 11/22/07, Ámon Tamás <[EMAIL PROTECTED]> wrote: > > > Hello, > > I like to use the jQuery with my own javascript file. I like to use it > with the sfJqueryPlugin. I putted the jQuery to the settings.yml in > stand

[symfony-users] problem with sfPropelPollsPlugin

2007-11-22 Thread Ámon Tamás
Hello, I instelled the sfPropelPollsPlugin, but when I like to try it and push the Vote button, the Ajax is loading the full page with layout. How can I solve this problem? -- Ámon Tamás http://linkfelho.amon.hu --~--~-~--~~~---~--~~ You received this message

[symfony-users] Symfony hangs !?

2007-11-22 Thread Bayarsaikhan [Singleton LLC]
Hi folks? Something wrong is happening to my application or symfony itself. I was playing, testing my application's performance with F5 refresh button continuesly while looking at the CPU rates of Apache and MySQL, and after a minute my application hangs :) No response. It just loading and loading